Merge "Export API files as part of the java_sdk_library"

This commit is contained in:
Treehugger Robot
2020-04-10 03:57:11 +00:00
committed by Gerrit Code Review
3 changed files with 55 additions and 8 deletions

View File

@@ -383,6 +383,7 @@ type ApiFilePath interface {
// Provider of information about API stubs, used by java_sdk_library.
type ApiStubsProvider interface {
ApiFilePath
RemovedApiFilePath() android.Path
StubsSrcJar() android.Path
}
@@ -1271,6 +1272,10 @@ func (d *Droidstubs) ApiFilePath() android.Path {
return d.apiFilePath
}
func (d *Droidstubs) RemovedApiFilePath() android.Path {
return d.removedApiFile
}
func (d *Droidstubs) StubsSrcJar() android.Path {
return d.stubsSrcJar
}