summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorArun Kumar K.R <akumarkr@codeaurora.org>2016-12-07 19:28:30 -0800
committerArun Kumar K.R <akumarkr@codeaurora.org>2016-12-21 18:11:16 -0800
commitca196fce5d861a7dd18f01a9521d2e63fc95939f (patch)
tree21ecff4a3f436ddb35afb6c87b368fc24f6c4655 /common.mk
parentbf2b25c1064e856a69821d7e65148f3ed3544ee5 (diff)
downloaddisplay-ca196fce5d861a7dd18f01a9521d2e63fc95939f.tar.gz
display: Fix ColorMetaData
- Fix Transfer_HLG and other ColorAspects which was incorrectly mapped to wrong values. - Use TARGET_USES_COLOR_METADATA to enable using ColorMetaData Change-Id: I4d1dc6385461ddb77e9b2865ec0bd28448c5e554 Crs-fixed: 1098731
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 6476dfdc..c18046d6 100644
--- a/common.mk
+++ b/common.mk
@@ -5,7 +5,7 @@ display_top := $(call my-dir)
common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
common_flags += -Wconversion -Wall -Werror -std=c++11
-ifeq ($(call is-board-platform-in-list, msmcobalt msm8998), true)
+ifeq ($(TARGET_USES_COLOR_METADATA), true)
common_flags += -DUSE_COLOR_METADATA
endif