summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/common.mk b/common.mk
index 18ee72f3..23181651 100644
--- a/common.mk
+++ b/common.mk
@@ -4,6 +4,7 @@ display_top := $(call my-dir)
#Common C flags
common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
common_flags += -Wconversion -Wall -Werror -std=c++14
+common_flags += -DUSE_GRALLOC1
ifeq ($(TARGET_IS_HEADLESS), true)
common_flags += -DTARGET_HEADLESS
LOCAL_CLANG := false
@@ -31,10 +32,6 @@ ifeq ($(TARGET_USES_HWC2), true)
common_flags += -DVIDEO_MODE_DEFER_RETIRE_FENCE
endif
-ifeq ($(TARGET_USES_GRALLOC1), true)
- common_flags += -DUSE_GRALLOC1
-endif
-
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
common_flags += -DUSER_DEBUG
endif