summaryrefslogtreecommitdiff
path: root/tests/SurfaceComposition
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2017-03-01 13:21:10 +0000
committerPaul Duffin <paulduffin@google.com>2017-05-08 13:27:51 +0100
commit00229bc6cfd74c3221d02af6df07960a0f36af1a (patch)
tree544f4014f488875b01994f521e03d540ea1cd658 /tests/SurfaceComposition
parent547a7ec9dbbf38651c0fefc1c7577362de326496 (diff)
Prepare for removal of junit and android.test classes from Android API (step 1)
In preparation for removing junit and android.test classes from the Android API this change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Care was taken to ensure that any targets that depended, directly or indirectly, on android-support-test did not also depend on junit or hamcrest as they conflict with the versions embedded within android-support-test. Bug: 30188076 Test: make checkbuild Change-Id: Ifc3ee3dc804074a3c572bf2600cfb1fe1b6fa749
Diffstat (limited to 'tests/SurfaceComposition')
-rw-r--r--tests/SurfaceComposition/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/SurfaceComposition/Android.mk b/tests/SurfaceComposition/Android.mk
index 95f69f179c20..d97c3f4cd66f 100644
--- a/tests/SurfaceComposition/Android.mk
+++ b/tests/SurfaceComposition/Android.mk
@@ -27,6 +27,8 @@ LOCAL_PROGUARD_ENABLED := disabled
LOCAL_SRC_FILES := $(call all-java-files-under, src)
+LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test junit
+
LOCAL_PACKAGE_NAME := SurfaceComposition
LOCAL_SDK_VERSION := current