Allow access to the generated srcjars for GeneratedJavaLibrary
Bug: 293195086 Test: m Change-Id: I42cf0238241314376f5fe0091cde9bef196f4b9d
This commit is contained in:
@@ -622,6 +622,8 @@ func (j *Module) OutputFiles(tag string) (android.Paths, error) {
|
|||||||
return android.Paths{j.dexer.proguardDictionary.Path()}, nil
|
return android.Paths{j.dexer.proguardDictionary.Path()}, nil
|
||||||
}
|
}
|
||||||
return nil, fmt.Errorf("%q was requested, but no output file was found.", tag)
|
return nil, fmt.Errorf("%q was requested, but no output file was found.", tag)
|
||||||
|
case ".generated_srcjars":
|
||||||
|
return j.properties.Generated_srcjars, 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