summaryrefslogtreecommitdiff
path: root/BoardConfigCFlags.mk
diff options
context:
space:
mode:
authorMidas Chien <midaschieh@google.com>2023-03-01 15:42:57 +0800
committerMidas Chien <midaschieh@google.com>2023-03-02 14:25:31 +0800
commit37f04313505f51a58c862586dd423d421c510dbf (patch)
tree09636016c16ba02ecf89f05155ce5a9cdc0cafac /BoardConfigCFlags.mk
parent95751650af91965ed09da35e4e3d040356399879 (diff)
libhwc2.1: support SKIP_VALIDATE by default
SKIP_VALIDATE is deprecated in HWC3 and it is not used by SF in U. It should be considered enabled by default. Start from HWC3, don't add SKIP_VALIDATE to the capability list and change code to support it by default. Bug: 270479799 Test: VtsHalGraphicsComposer3_TargetTest Test: VtsHalGraphicsComposerV2_4TargetTest Change-Id: I30979e56b8be96c6478e5ceaadfbc1145537e804
Diffstat (limited to 'BoardConfigCFlags.mk')
-rw-r--r--BoardConfigCFlags.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/BoardConfigCFlags.mk b/BoardConfigCFlags.mk
index 0b567a9..679f44f 100644
--- a/BoardConfigCFlags.mk
+++ b/BoardConfigCFlags.mk
@@ -9,8 +9,8 @@ endif
LOCAL_CFLAGS += -DUSES_GSCALER
-ifeq ($(HWC_SKIP_VALIDATE),true)
- LOCAL_CFLAGS += -DHWC_SKIP_VALIDATE
+ifeq ($(HWC_NO_SUPPORT_SKIP_VALIDATE),true)
+ LOCAL_CFLAGS += -DHWC_NO_SUPPORT_SKIP_VALIDATE
endif
ifeq ($(HWC_SUPPORT_COLOR_TRANSFORM), true)