commit | 98650f0e33f39627d66feee73f03346e1055157a | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Jul 27 23:44:27 2016 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Jul 27 23:44:27 2016 +0000 |
tree | afcf7b22b2a5a41f28a1d096e838dc7fa388f1c7 | |
parent | 379d2f3528ed27ab59322502021ad027f5f3686a [diff] | |
parent | 10d3fb2360ae1a31d98a16c63952109825e09e55 [diff] |
Merge "Build SF executable with USE_HWC2 when needed" into nyc-mr1-dev
diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk index 2a8fa4a..dc5e97b 100644 --- a/services/surfaceflinger/Android.mk +++ b/services/surfaceflinger/Android.mk
@@ -146,6 +146,10 @@ LOCAL_CFLAGS += -DENABLE_CPUSETS endif +ifeq ($(TARGET_USES_HWC2),true) + LOCAL_CFLAGS += -DUSE_HWC2 +endif + LOCAL_SRC_FILES := \ main_surfaceflinger.cpp