Merge "Add .jar tag to java modules"
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user