summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@codeaurora.org>2016-09-02 18:39:48 -0400
committerNaseer Ahmed <naseer@codeaurora.org>2016-09-02 18:55:00 -0400
commit043cec764cb46e8ffa390f079653a5c7285b7394 (patch)
treea5a392531fef294d38984fcba86bda0ee080af6d /common.mk
parent0bc96f7645d610ac4134d42c74e22598e94c3391 (diff)
parent6fe11ed7d48b6362e16bf6de4468e7ed3996e96f (diff)
downloaddisplay-043cec764cb46e8ffa390f079653a5c7285b7394.tar.gz
Merge branch 'LA.HB.1.3.9_1' into display.lnx.3.0-dev
Change-Id: I72aff6fecdf580de749f1fb6f91d346dc0f91448 CRs-Fixed: 1058446
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/common.mk b/common.mk
index 298e0bf6..af72e7b6 100644
--- a/common.mk
+++ b/common.mk
@@ -1,9 +1,14 @@
#Common headers
display_top := $(call my-dir)
+#Common C flags
+common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
+common_flags += -Wconversion -Wall -Werror -std=c++11
+
use_hwc2 := false
ifeq ($(TARGET_USES_HWC2), true)
use_hwc2 := true
+ common_flags += -DVIDEO_MODE_DEFER_RETIRE_FENCE
endif
common_includes := $(display_top)/libqdutils
@@ -25,9 +30,6 @@ else
LOCAL_CLANG := true
endif
-#Common C flags
-common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
-common_flags += -Wconversion -Wall -Werror -std=c++11
ifneq ($(TARGET_USES_GRALLOC1), true)
common_flags += -isystem $(display_top)/libgralloc
else