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
This commit is contained in:
parent
607d8587e4
commit
2d975b197e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue