summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adam Pardyl <apardyl@google.com> 2019-09-09 14:37:27 +0200
committer Adam Pardyl <apardyl@google.com> 2019-09-09 14:41:30 +0200
commit5020703beb74b8d2c604e349adc67b13bd7f779f (patch)
tree5050ef24d04dddec739eca378893d095846d79b4
parent6cb8fb485ccc6fd43bea2a1bef59688857e8d995 (diff)
Fix a workaround for "required" property bug.
The build system does not propagate "required" properties correctly, they need to be applied to the final installed java_library to work. Bug: Test: make Change-Id: I7268a5bd56ee5be791782a0e584a9ada01538b98
-rw-r--r--Android.bp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 121decbbec50..ee3cb8fad9e7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -234,6 +234,11 @@ java_defaults {
"wifi/java",
],
},
+
+ required: [
+ // TODO: remove gps_debug when the build system propagates "required" properly.
+ "gps_debug.conf",
+ ],
}
// Collection of classes that are generated from non-Java files that are not listed in
@@ -307,11 +312,6 @@ java_defaults {
static_libs: ["framework-internal-utils"],
- required: [
- // TODO: remove gps_debug when the build system propagates "required" properly.
- "gps_debug.conf",
- ],
-
dxflags: [
"--core-library",
"--multi-dex",