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: I19c0e723285c7088700f50567b9c2140289f9edf
This commit is contained in:
@@ -705,6 +705,7 @@ java_library {
|
||||
// specified on the build command line.
|
||||
java_library {
|
||||
name: "framework-oahl-backward-compatibility",
|
||||
installable: true,
|
||||
srcs: [
|
||||
"core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
|
||||
],
|
||||
|
||||
@@ -26,6 +26,7 @@ cc_library_shared {
|
||||
// Java platform library for vr stuff.
|
||||
java_library {
|
||||
name: "com.google.vr.platform",
|
||||
installable: true,
|
||||
owner: "google",
|
||||
required: [
|
||||
"libdvr_loader",
|
||||
|
||||
Reference in New Issue
Block a user