aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-02-07 18:52:46 -0800
committerJesse Hall <jessehall@google.com>2013-02-22 11:22:34 -0800
commit18fe1b8303d434641c203cc6690f2d8539e4c4fc (patch)
treeb6d8408eb42c0a1d5b11d66d11712480456a26e3 /Android.mk
parenta695f85cb208c6f5c579fdadf9fbf887a38d9e58 (diff)
downloadskia-18fe1b8303d434641c203cc6690f2d8539e4c4fc.tar.gz
Android now has the new glShaderSource signature
Change-Id: I45836219fc0e97607d83d458de9babb44f4c7534
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 26ad2bd366..a6cfb4a8de 100644
--- a/Android.mk
+++ b/Android.mk
@@ -62,6 +62,9 @@ LOCAL_CFLAGS += -DSK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400
#Skia should not use dlopen on Android.
LOCAL_CFLAGS += -DSK_CAN_USE_DLOPEN=0
+# Android's gl2.h provides the new glShaderSource signature
+LOCAL_CFLAGS += -DGR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE=1
+
# used for testing
#LOCAL_CFLAGS += -g -O0