summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-07-29 16:47:42 -0700
committerColin Cross <ccross@android.com>2019-08-06 09:45:04 -0700
commit2d975b197e136ac1ac9267f76a903855ff2d4619 (patch)
tree7f4f454b6026b63e45b89daa1222adc20410fc0e /java/java.go
parent607d8587e491160aed7d39a10ae293acb281a662 (diff)
Add an output file tag for proguard dictionaries
Allow modules to depend on the proguard dictionary of another module using module{.proguard_map}. Bug: 122332855 Test: m checkbuild Change-Id: I918b487872c1a8ef8a51c0b994277efb0512d157
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index fea38b51f..3b789f689 100644
--- a/java/java.go
+++ b/java/java.go
@@ -370,6 +370,8 @@ func (j *Module) OutputFiles(tag string) (android.Paths, error) {
return append(android.Paths{j.outputFile}, j.extraOutputFiles...), nil
case ".jar":
return android.Paths{j.implementationAndResourcesJar}, nil
+ case ".proguard_map":
+ return android.Paths{j.proguardDictionary}, nil
default:
return nil, fmt.Errorf("unsupported module reference tag %q", tag)
}