From 89450d45ac6ac70c8b36872e9a0c53457e24be61 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 20 Feb 2014 15:36:21 -0800 Subject: [PATCH] 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 --- services/surfaceflinger/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk index b2bc550c9..49a017f0f 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) ###############################################################