surfaceflinger: Add more ifdefs for secure display query

Commit f04661 forgot ifdefs in HWComposer.h that break ABI. This
broke at least grouper and endeavoru surfaceflinger.

Change-Id: I9a1bd4e1fb9a2ad5ac0a39e86ef8131b52526e32
Merge branch 'cm' into HEAD
surfaceflinger: Fix QCOM_BSP ifdef

Change-Id: Ie6bdb81385762a0b3b25e207bc4add3cdcf1e6fe
Revert "native: Fix QCOM_BSP_LEGACY cflags"

* This is unnecessary now that the flags are set in the build makefile

This reverts commit 7c38f6bf2fd19214146788f5b5b8cd587fa972fb.

Change-Id: I5c1042b762f84455c888bafe56c5a619952bfbba
frameworks/native: Remove unnecessary QCOM_BSP defines

* This is already provided by the build makefiles

Change-Id: I630f09850f6f66c8f3c501fa5fd78f5a15a3436f
Merge remote-tracking branch 'cm/cm-12.0' into HEAD
libs: binder: MemoryHeapIon: ifdef ION_EXYNOS_VIDEO_MASK

Exynos secure memory regions were separated here:
https://android.googlesource.com/platform/hardware/samsung_slsi/exynos5/+/ce73ba1%5E!/

Only compile the legacy ION_EXYNOS_VIDEO_MASK code if legacy HALs are used
(and ION_EXYNOS_VIDEO_MASK is defined).

Change-Id: I8cb58bbbb829d64a2ed39dbd27cc0d0ae3c9dd09
Merge remote-tracking branch 'cm/cm-12.0' into HEAD