summaryrefslogtreecommitdiff
path: root/modules/gralloc/Android.mk
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-17 00:07:44 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-17 00:07:44 +0000
commitc142f2613ef9982d59dca254d7a625bdf595f70c (patch)
treec87c7bb1c44219e1cdf45506113ef451ce15d998 /modules/gralloc/Android.mk
parentfcafef0ab6d0ca861a3d772447f3409c27722ad9 (diff)
parent0b5ab223e110f3a34b30e7b61e4ea68c03dba98b (diff)
Snap for 8010657 from 0b5ab223e110f3a34b30e7b61e4ea68c03dba98b to sc-v2-release
Change-Id: Ie66e88133267b6c910002995e0dbc92f326155cd
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 439c95dd..4c4899ea 100644
--- a/modules/gralloc/Android.mk
+++ b/modules/gralloc/Android.mk
@@ -38,5 +38,8 @@ LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\" -Wno-missing-field-initializers
ifeq ($(TARGET_USE_PAN_DISPLAY),true)
LOCAL_CFLAGS += -DUSE_PAN_DISPLAY=1
endif
+ifneq ($(GRALLOC_FRAMEBUFFER_NUM),)
+LOCAL_CFLAGS += -DNUM_BUFFERS=$(GRALLOC_FRAMEBUFFER_NUM)
+endif
include $(BUILD_SHARED_LIBRARY)