Export API files as part of the java_sdk_library
Bug: 153443117
Test: m nothing
Merged-In: I9d6f5b91a7cc25019e2eb9e3c138f0874d2831de
Change-Id: I9d6f5b91a7cc25019e2eb9e3c138f0874d2831de
(cherry picked from commit 1fd005d5b30ce24593d7fe2e7dba43855d6f6466)
diff --git a/java/droiddoc.go b/java/droiddoc.go
index 90f143a..e0ea515 100644
--- a/java/droiddoc.go
+++ b/java/droiddoc.go
@@ -339,6 +339,7 @@
// Provider of information about API stubs, used by java_sdk_library.
type ApiStubsProvider interface {
ApiFilePath
+ RemovedApiFilePath() android.Path
StubsSrcJar() android.Path
}
@@ -1187,6 +1188,10 @@
return d.apiFilePath
}
+func (d *Droidstubs) RemovedApiFilePath() android.Path {
+ return d.removedApiFile
+}
+
func (d *Droidstubs) StubsSrcJar() android.Path {
return d.stubsSrcJar
}