gralloc: Use AOSP API to filter board platform

Change-Id: I35cf0dd15346a6444f3dc0259fd8a4ac2716d7a2
This commit is contained in:
Naseer Ahmed 2015-05-06 18:58:16 -04:00
parent 817951fb0f
commit 201084d947
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ ifeq ($(ARCH_ARM_HAVE_NEON),true)
common_flags += -D__ARM_HAVE_NEON
endif
ifeq ($(call is-board-platform-in-list, msm8974 msm8226 msm8610 msm8084 \
mpq8092 msm_bronze msm8916), true)
ifneq ($(filter msm8974 msm8226 msm8610 msm8084 msm8916, \
$(TARGET_BOARD_PLATFORM)),)
common_flags += -DVENUS_COLOR_FORMAT
common_flags += -DMDSS_TARGET
endif