OSDN Git Service

frameworks/native: prevent some opengl tests from building in pdk
authorColin Cross <ccross@android.com>
Mon, 26 Mar 2012 23:01:43 +0000 (16:01 -0700)
committerColin Cross <ccross@android.com>
Mon, 26 Mar 2012 23:01:43 +0000 (16:01 -0700)
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

opengl/tests/Android.mk

index 5053e7d..071c679 100644 (file)
@@ -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))