summaryrefslogtreecommitdiff
path: root/test-base
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-06-27 11:00:11 -0700
committerColin Cross <ccross@android.com>2018-06-27 11:49:44 -0700
commita12c0f506cf509e1220f0095010350181c31c367 (patch)
tree7598f2489c53f952940acf254840648450a4b6f2 /test-base
parentf40f05229c81971720ae16d20a2e629f142f39a7 (diff)
downloadbase-a12c0f506cf509e1220f0095010350181c31c367.tar.gz
Mark installable jars with installable: true
Most jars don't need to be installed on the device. Instead of using java_library and java_library_static to distinguish between them make java_library and java_library_static identical and use installable: true to identify the few jars that need to be dexed and installed on the device. Bug: 110885583 Test: m checkbuild Change-Id: I579da7c1a712ec4fb49e288e7f3ab369cb75baf4
Diffstat (limited to 'test-base')
-rw-r--r--test-base/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-base/Android.bp b/test-base/Android.bp
index a0e39856e9c7..9b1867cd90fd 100644
--- a/test-base/Android.bp
+++ b/test-base/Android.bp
@@ -21,6 +21,7 @@
// Also contains the com.android.internal.util.Predicate[s] classes.
java_library {
name: "android.test.base",
+ installable: true,
srcs: ["src/**/*.java"],
@@ -42,6 +43,7 @@ java_library {
// Also contains the com.android.internal.util.Predicate[s] classes.
java_library {
name: "legacy-test",
+ installable: true,
sdk_version: "current",
static_libs: ["android.test.base"],