summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/Android.mk')
-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 c1ddba1..6a90083 100644
--- a/services/surfaceflinger/Android.mk
+++ b/services/surfaceflinger/Android.mk
@@ -95,6 +95,10 @@ else
LOCAL_CFLAGS += -DMAX_VIRTUAL_DISPLAY_DIMENSION=0
endif
+ifeq ($(BOARD_USE_BGRA_8888),true)
+ LOCAL_CFLAGS += -DUSE_BGRA_8888
+endif
+
LOCAL_CFLAGS += -fvisibility=hidden -Werror=format
LOCAL_CFLAGS += -std=c++11