diff options
author | Keun young Park <keunyoung@google.com> | 2012-08-07 17:09:19 -0700 |
---|---|---|
committer | Keun young Park <keunyoung@google.com> | 2012-08-07 17:09:19 -0700 |
commit | 203a3357c7042680304e3821b1f6ed1aea8c17cd (patch) | |
tree | fda1ebcdecdf8b3fe44c3de5f801fa0bb9bd326e /opengl/tests/Android.mk | |
parent | 53f10b7b13363e6d017985ead704494fe79c9e09 (diff) | |
download | frameworks_native-203a3357c7042680304e3821b1f6ed1aea8c17cd.zip frameworks_native-203a3357c7042680304e3821b1f6ed1aea8c17cd.tar.gz frameworks_native-203a3357c7042680304e3821b1f6ed1aea8c17cd.tar.bz2 |
enable java/jni build in PDK if supported
- testFramerate requires platform java API
while all other tests only need SDK support
Change-Id: Iaefe23c41b3ace87522b5deefd6db2f5d80ed872
Diffstat (limited to 'opengl/tests/Android.mk')
-rw-r--r-- | opengl/tests/Android.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/opengl/tests/Android.mk b/opengl/tests/Android.mk index 071c679..3ae3b4e 100644 --- a/opengl/tests/Android.mk +++ b/opengl/tests/Android.mk @@ -20,7 +20,7 @@ dirs := \ textures \ tritex \ -ifneq ($(TARGET_BUILD_PDK), true) +ifneq (,$(TARGET_BUILD_JAVA_SUPPORT_LEVEL)) dirs += \ gl2_cameraeye \ gl2_java \ @@ -29,11 +29,16 @@ dirs += \ gl_jni \ gl_perfapp \ lighting1709 \ - testFramerate \ testLatency \ testPauseResume \ testViewport \ -endif +endif # JAVA_SUPPORT + +ifeq (platform,$(TARGET_BUILD_JAVA_SUPPORT_LEVEL)) +dirs += \ + testFramerate + +endif # JAVA_SUPPORT platform include $(call all-named-subdir-makefiles, $(dirs)) |