Default droiddoc to disting the api txt if there is one

Bug: 149293194
Test: m dist sdk
Change-Id: Ia168d3e5d18dc4f0ed5ca9d69720db57c2b91f80
This commit is contained in:
Anton Hansson
2020-03-23 16:40:27 +00:00
parent bbd78556da
commit 37a1e4c193

View File

@@ -542,6 +542,7 @@ func (ddoc *Droiddoc) AndroidMkEntries() []android.AndroidMkEntries {
func (dstubs *Droidstubs) AndroidMkEntries() []android.AndroidMkEntries {
return []android.AndroidMkEntries{android.AndroidMkEntries{
Class: "JAVA_LIBRARIES",
DistFile: android.OptionalPathForPath(dstubs.apiFile),
OutputFile: android.OptionalPathForPath(dstubs.stubsSrcJar),
Include: "$(BUILD_SYSTEM)/soong_droiddoc_prebuilt.mk",
ExtraEntries: []android.AndroidMkExtraEntriesFunc{