From 2d975b197e136ac1ac9267f76a903855ff2d4619 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 29 Jul 2019 16:47:42 -0700 Subject: [PATCH] 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 --- java/java.go | 2 ++ 1 file changed, 2 insertions(+) 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) }