diff options
author | Paul Duffin <paulduffin@google.com> | 2017-01-10 12:08:23 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2017-01-18 16:39:34 +0000 |
commit | 8aeb59ebcd50a510d024dc082fa17b192074c63d (patch) | |
tree | b7f3e92f4eebc63df03fd63d35b0eafc18ccc81c /tests/NetworkSecurityConfigTest | |
parent | 57b8eb3da0c4692ac4f39a9c73aa090af475d14a (diff) |
Prepare for removal of legacy-test from default targets
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.
Bug: 30188076
Test: make checkbuild
Change-Id: I13e88297731253420e4e5f5291d503f13a39a156
Diffstat (limited to 'tests/NetworkSecurityConfigTest')
-rw-r--r-- | tests/NetworkSecurityConfigTest/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/NetworkSecurityConfigTest/Android.mk b/tests/NetworkSecurityConfigTest/Android.mk index a63162d9ba09..dd9ff11971eb 100644 --- a/tests/NetworkSecurityConfigTest/Android.mk +++ b/tests/NetworkSecurityConfigTest/Android.mk @@ -6,6 +6,7 @@ LOCAL_MODULE_TAGS := tests LOCAL_CERTIFICATE := platform LOCAL_JAVA_LIBRARIES := android.test.runner bouncycastle conscrypt +LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test # Include all test java files. LOCAL_SRC_FILES := $(call all-java-files-under, src) |