summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gralloc/Android.mk')
-rw-r--r--modules/gralloc/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gralloc/Android.mk b/modules/gralloc/Android.mk
index ac09e5a..cbfd82b 100644
--- a/modules/gralloc/Android.mk
+++ b/modules/gralloc/Android.mk
@@ -32,5 +32,8 @@ LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\"
ifeq ($(BOARD_NO_PAGE_FLIPPING),true)
LOCAL_CFLAGS += -DNO_PAGE_FLIPPING
endif
+ifeq ($(BOARD_NO_32BPP),true)
+LOCAL_CFLAGS += -DNO_32BPP
+endif
include $(BUILD_SHARED_LIBRARY)