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
This commit is contained in:
Adam Pardyl 2019-09-09 14:37:27 +02:00
parent 6cb8fb485c
commit 5020703beb

View File

@ -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",