Export API files as part of the java_sdk_library
Bug: 153443117
Test: m nothing
Change-Id: I9d6f5b91a7cc25019e2eb9e3c138f0874d2831de
diff --git a/java/droiddoc.go b/java/droiddoc.go
index 6c3c7ec..f3a16ea 100644
--- a/java/droiddoc.go
+++ b/java/droiddoc.go
@@ -378,6 +378,7 @@
// Provider of information about API stubs, used by java_sdk_library.
type ApiStubsProvider interface {
ApiFilePath
+ RemovedApiFilePath() android.Path
StubsSrcJar() android.Path
}
@@ -1266,6 +1267,10 @@
return d.apiFilePath
}
+func (d *Droidstubs) RemovedApiFilePath() android.Path {
+ return d.removedApiFile
+}
+
func (d *Droidstubs) StubsSrcJar() android.Path {
return d.stubsSrcJar
}