Merge "Add .jar tag to java modules"

am: ac1d267368

Change-Id: I649f069bb7c5ae6758633b7c597c2010765a7748
This commit is contained in:
Colin Cross 2019-06-05 12:50:11 -07:00 committed by android-build-merger
commit edff7ed8da

View file

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