From 80e2c2a5334f794dc10d895d573ee4c0d158ce8b Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Mon, 23 Mar 2020 16:40:27 +0000 Subject: [PATCH] Default droiddoc to disting the api txt if there is one Bug: 149293194 Test: m dist sdk Exempt-From-Owner-Approval: approved internally Change-Id: Ia168d3e5d18dc4f0ed5ca9d69720db57c2b91f80 Merged-In: Ia168d3e5d18dc4f0ed5ca9d69720db57c2b91f80 (cherry picked from commit 015fa8264bfe40843a682f4c9cf2eea03e561fc2) --- java/androidmk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/java/androidmk.go b/java/androidmk.go index d76e29b21..a220cce70 100644 --- a/java/androidmk.go +++ b/java/androidmk.go @@ -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{