diff options
author | Tobias Thierer <tobiast@google.com> | 2018-09-19 16:16:19 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2018-09-19 16:31:30 +0100 |
commit | dda713d6fc0c4fa8708af9464563313d844ac73b (patch) | |
tree | 123eb71b1c75f805f2685385d4338cd5c9ef0b90 /java/java.go | |
parent | d23ac69a35658c186de127002d130661715f187f (diff) |
Allow patch_module attribute in target: { android: { ... } } block.
patch_module is currently only used for non-host targets, although
there's a slim chance that there might be use cases on host in
future.
Currently, the only use case is patch_module: "java.base" in
device targets. To avoid erroneously carrying the patch_module
attribute over into the host version of the target, this CL
lets them place it into the target: { android: { ... } } block.
Test: Treehugger
Test: EXPERIMENTAL_USE_OPENJDK9=true make android-icu4j-tests
Bug: 115604102
Change-Id: If025d503d9c5681748a502a1d7433e8dbec3cac1
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go index ae7a6e02c..3332482c3 100644 --- a/java/java.go +++ b/java/java.go @@ -138,7 +138,7 @@ type CompilerProperties struct { // supported at compile time. It should only be needed to compile tests in // packages that exist in libcore and which are inconvenient to move // elsewhere. - Patch_module *string + Patch_module *string `android:"arch_variant"` Jacoco struct { // List of classes to include for instrumentation with jacoco to collect coverage |