commit | cd347fdf74d5f2e0af856455c514e655f40a6fdb | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Thu Mar 31 19:34:19 2011 -0700 |
committer | Jean-Baptiste Queru <jbq@google.com> | Thu Mar 31 19:58:27 2011 -0700 |
tree | a19f5a7537958e81d2f1bbd5878b4eb41a05d956 | |
parent | 25b68b5c24e443c326af73a33cea6dc45e845254 [diff] [blame] |
Allow to force 16bpp when 32bpp has problems Bug: 4197654 Change-Id: Icf1e8793d6a4d2e070a8f232efd4136d79339496
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 @@ 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)