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
commit faf30e19d6
1 changed files with 1 additions and 1 deletions

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)