summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-10-17 13:55:55 -0700
committerColin Cross <ccross@android.com>2017-10-17 16:25:26 -0700
commit975f9f79ff01ba0e4cdd78a64675a01ad486db04 (patch)
treec4f115138f91bfdb0a1a06c656d5434918e0f389 /java/java.go
parent99967a7b349438941188378d68c41df9d90cea18 (diff)
Allow jarjar_rules to be arch-specific
Modules may need to use jarjar on the device to move classes into the android namespace, but not on the host. Test: m checkbuild Change-Id: I910ebbe20e45e98edecca0d7c4fb18e806bc3c6c
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index 3382cf289..76e574eba 100644
--- a/java/java.go
+++ b/java/java.go
@@ -100,7 +100,7 @@ type CompilerProperties struct {
Manifest *string
// if not blank, run jarjar using the specified rules file
- Jarjar_rules *string
+ Jarjar_rules *string `android:"arch_variant"`
// If not blank, set the java version passed to javac as -source and -target
Java_version *string