[Mesa-dev] [PATCH 7/7] android: set '/sdcard/' as MESA_GLSL_CACHE_DIR by default
Tapani Pälli
tapani.palli at intel.com
Mon Jan 15 12:31:43 UTC 2018
This can/should be modified depending on needs. AFAIK by default,
this is the only path that can be read/written to by anyone.
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
Android.common.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Android.common.mk b/Android.common.mk
index 52dc7bff3b..7edbbfc0f2 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -47,6 +47,7 @@ LOCAL_CFLAGS += \
LOCAL_CFLAGS += \
-DANDROID_API_LEVEL=$(PLATFORM_SDK_VERSION) \
-DENABLE_SHADER_CACHE \
+ -DMESA_GLSL_CACHE_DIR="/sdcard" \
-D__STDC_CONSTANT_MACROS \
-D__STDC_LIMIT_MACROS \
-DHAVE___BUILTIN_EXPECT \
--
2.14.3
More information about the mesa-dev
mailing list