From 9f64c2a9e448f2b39369782c77add9c33e2c605d Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 26 Mar 2012 16:01:43 -0700 Subject: [PATCH] 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 --- opengl/tests/Android.mk | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/opengl/tests/Android.mk b/opengl/tests/Android.mk index 5053e7d64..071c6792e 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))