build: standardize building conditionally for qcom chipsets
Replace QCOM_TARGET_PRODUCT usage with make functions provided by build/core/utils.mk to build conditionally for qcom chipsets Change-Id: I98e2341f46a59de597e8a9ed757d9c6b88bae588 CRs-Fixed: 298335
This commit is contained in:
parent
ef6c9900fa
commit
7cbd90f884
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user