summaryrefslogtreecommitdiff
path: root/opengl/libs/Android.mk
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2011-11-21 21:08:23 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2011-11-21 21:08:23 -0800
commit1e8f74ebc06cbe6ddb51be009b07a9fa52f6bc3e (patch)
treef0c3f94fe57e8a8f0887f2b81c1cfe33c69724b7 /opengl/libs/Android.mk
parent185a0a0420f54f9588ec1c7230313023a7a2259b (diff)
parenta3677781d039ca1539f262f8c07ca3c162123347 (diff)
am 8b8c321c: am b8d20d02: Merge "EGL: Use cache sizes defined in the BoardConfig" into ics-mr1
* commit '8b8c321c70687ace750e42b745b6e96258d739cd': EGL: Use cache sizes defined in the BoardConfig
Diffstat (limited to 'opengl/libs/Android.mk')
-rw-r--r--opengl/libs/Android.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk
index 5855b635b0..9c1a10e214 100644
--- a/opengl/libs/Android.mk
+++ b/opengl/libs/Android.mk
@@ -44,10 +44,17 @@ ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
endif
+ifneq ($(MAX_EGL_CACHE_ENTRY_SIZE),)
+ LOCAL_CFLAGS += -DMAX_EGL_CACHE_ENTRY_SIZE=$(MAX_EGL_CACHE_ENTRY_SIZE)
+endif
+
+ifneq ($(MAX_EGL_CACHE_SIZE),)
+ LOCAL_CFLAGS += -DMAX_EGL_CACHE_SIZE=$(MAX_EGL_CACHE_SIZE)
+endif
+
include $(BUILD_SHARED_LIBRARY)
installed_libEGL := $(LOCAL_INSTALLED_MODULE)
-
# OpenGL drivers config file
ifneq ($(BOARD_EGL_CFG),)