hqd: Use MSM_VIDC_TARGET_LIST for Venus color format
All video enabled targets are defined in MSM_VIDC_TARGET_LIST.
Use this list to enable venus color format for video targets.
Change-Id: I20a531ca775dd7499fd50a77c405caffbe340da8
diff --git a/common.mk b/common.mk
index 14d8ded..18b5d4a 100644
--- a/common.mk
+++ b/common.mk
@@ -25,9 +25,12 @@
common_flags += -D__ARM_HAVE_NEON
endif
+ifeq ($(call is-board-platform-in-list, $(MSM_VIDC_TARGET_LIST)), true)
+ common_flags += -DVENUS_COLOR_FORMAT
+endif
+
ifeq ($(call is-board-platform-in-list, msm8974 msm8226 msm8610 apq8084 \
mpq8092 msm_bronze msm8916 msm8994), true)
- common_flags += -DVENUS_COLOR_FORMAT
common_flags += -DMDSS_TARGET
endif