Merge "Add .jar tag to java modules"

This commit is contained in:
Treehugger Robot
2019-06-05 19:23:38 +00:00
committed by Gerrit Code Review

View File

@@ -355,6 +355,8 @@ func (j *Module) OutputFiles(tag string) (android.Paths, error) {
switch tag { switch tag {
case "": case "":
return append(android.Paths{j.outputFile}, j.extraOutputFiles...), nil return append(android.Paths{j.outputFile}, j.extraOutputFiles...), nil
case ".jar":
return android.Paths{j.implementationAndResourcesJar}, nil
default: default:
return nil, fmt.Errorf("unsupported module reference tag %q", tag) return nil, fmt.Errorf("unsupported module reference tag %q", tag)
} }