commit | b9f30594c7deed45bce3950eb14363aa359ef5cc | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Thu Jul 28 01:15:58 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Jul 28 01:15:58 2016 +0000 |
tree | c095927edcd116a240c9736be3af267041a9bf55 | |
parent | 8d73eed0a38b662965cd1e21448db6c7543db6cc [diff] | |
parent | 81451c036d90311c1b4e5be15d0d8c94c9998c21 [diff] |
Build SF executable with USE_HWC2 when needed am: 10d3fb2360 am: 81451c036d Change-Id: Ic261e108736232f805fa1da120784225d7781451
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