summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2014-02-20 15:36:21 -0800
committer Colin Cross <ccross@android.com> 2014-02-20 15:37:14 -0800
commit89450d45ac6ac70c8b36872e9a0c53457e24be61 (patch)
tree655f51feefd205d9f963c900bb6ff3e1ca74d0f1
parent913a17fd5f8cabbc73ff46db15b4b53b9aeba7b8 (diff)
surfaceflinger: add BoardConfig.mk variable to force 32-bit
Individual devices may need to force surfaceflinger to compile for 32-bit if they don't have 64-bit GL libraries. Change-Id: I3703b2f8e36e90cf125d9ed5e6318c3506861948
-rw-r--r--services/surfaceflinger/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk
index b2bc550c9e..49a017f0fc 100644
--- a/services/surfaceflinger/Android.mk
+++ b/services/surfaceflinger/Android.mk
@@ -120,6 +120,10 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_MODULE:= surfaceflinger
+ifdef TARGET_32_BIT_SURFACEFLINGER
+LOCAL_32_BIT_ONLY := true
+endif
+
include $(BUILD_EXECUTABLE)
###############################################################