diff options
| author | 2019-10-10 19:29:11 +0100 | |
|---|---|---|
| committer | 2019-11-18 10:36:22 +0000 | |
| commit | 0b09ad7f349bbf62bca57c6cdbeadc073ddbcae0 (patch) | |
| tree | 1886877deb06d65f064b2184b5e02aa88781af6a /java/androidmk.go | |
| parent | 105e166581d314d8229c903e3d23611acfcbf3dd (diff) | |
Update droidstubs build target
This allows to use Metalava to generate metadata files useful for
Android Studio as part of a droidstubs target.
Once those files have been created in a new metadata folder, they are
zipped to make it easier to transfer them into the
out/target/common/obj/PACKAGING folder where they can then be picked up
by the SDK build to be included there.
Bug: 142480924
Test: m sdk
Change-Id: I4be1c9e78369c65ee9cd94706c6d20ab0df6b797
Merged-In: I4be1c9e78369c65ee9cd94706c6d20ab0df6b797
Diffstat (limited to 'java/androidmk.go')
| -rw-r--r-- | java/androidmk.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/androidmk.go b/java/androidmk.go index 7a939e849..43b9f4883 100644 --- a/java/androidmk.go +++ b/java/androidmk.go @@ -508,6 +508,9 @@ func (dstubs *Droidstubs) AndroidMk() android.AndroidMkData { if dstubs.jdiffDocZip != nil { fmt.Fprintln(w, "LOCAL_DROIDDOC_JDIFF_DOC_ZIP := ", dstubs.jdiffDocZip.String()) } + if dstubs.metadataZip != nil { + fmt.Fprintln(w, "LOCAL_DROIDDOC_METADATA_ZIP := ", dstubs.metadataZip.String()) + } if dstubs.checkCurrentApiTimestamp != nil { fmt.Fprintln(w, ".PHONY:", dstubs.Name()+"-check-current-api") fmt.Fprintln(w, dstubs.Name()+"-check-current-api:", |