diff --git a/Android.mk b/Android.mk index 7c774a7..c58af55 100644 --- a/Android.mk +++ b/Android.mk @@ -35,7 +35,7 @@ LOCAL_MODULE := gralloc.$(TARGET_BOARD_PLATFORM) LOCAL_MODULE_TAGS := optional LOCAL_CFLAGS:= -DLOG_TAG=\"$(TARGET_BOARD_PLATFORM).gralloc\" -DHOST -DDEBUG_CALC_FPS -ifneq (, $(filter msm7625_ffa msm7625_surf msm7627_ffa msm7627_surf msm7627_7x_ffa msm7627_7x_surf, $(QCOM_TARGET_PRODUCT))) +ifeq ($(call is-board-platform,msm7627_surf),true) LOCAL_CFLAGS += -DTARGET_MSM7x27 endif