frameworks/native: prevent some opengl tests from building in pdk
Some of the tests in frameworks/native/opengl/tests depend on java
or jni, and shouldn't be in frameworks/native. Prevent them from
building in pdk builds for now.
Change-Id: Ie7a012513dd03992ac1f093bd245aeca826c9cb9
diff --git a/opengl/tests/Android.mk b/opengl/tests/Android.mk
index 5053e7d..071c679 100644
--- a/opengl/tests/Android.mk
+++ b/opengl/tests/Android.mk
@@ -1 +1,39 @@
-include $(call all-subdir-makefiles)
+dirs := \
+ angeles \
+ configdump \
+ EGLTest \
+ fillrate \
+ filter \
+ finish \
+ gl2_basic \
+ gl2_copyTexImage \
+ gl2_yuvtex \
+ gl_basic \
+ gl_perf \
+ gl_yuvtex \
+ gralloc \
+ hwc \
+ include \
+ lib \
+ linetex \
+ swapinterval \
+ textures \
+ tritex \
+
+ifneq ($(TARGET_BUILD_PDK), true)
+dirs += \
+ gl2_cameraeye \
+ gl2_java \
+ gl2_jni \
+ gldual \
+ gl_jni \
+ gl_perfapp \
+ lighting1709 \
+ testFramerate \
+ testLatency \
+ testPauseResume \
+ testViewport \
+
+endif
+
+include $(call all-named-subdir-makefiles, $(dirs))