Merge "Add empty tag support for java_import"

This commit is contained in:
Treehugger Robot
2020-10-15 21:47:11 +00:00
committed by Gerrit Code Review

View File

@@ -2731,7 +2731,7 @@ func (j *Import) GenerateAndroidBuildActions(ctx android.ModuleContext) {
func (j *Import) OutputFiles(tag string) (android.Paths, error) {
switch tag {
case ".jar":
case "", ".jar":
return android.Paths{j.combinedClasspathFile}, nil
default:
return nil, fmt.Errorf("unsupported module reference tag %q", tag)