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
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user