Add new Doclava flag support to soong

CL I8fe27e8c03334f9c90204db1e69447de65a06a38 adds new "-removedDexApi"
flag to Doclava. This patch adds support for that flag into Soong.
"droiddoc" targets can generate the new API file with property
"removed_dex_api_filename".

Bug: 78182899
Test: make
Change-Id: I04b8f615aa4655167b824d40c3fafa2648beec01
This commit is contained in:
David Brazdil
2018-04-24 16:23:29 +01:00
parent 95ba30aa56
commit aac0c3ca2e
2 changed files with 13 additions and 0 deletions

View File

@@ -299,6 +299,9 @@ func (ddoc *Droiddoc) AndroidMk() android.AndroidMkData {
if String(ddoc.properties.Removed_api_filename) != "" {
fmt.Fprintln(w, apiFilePrefix+"REMOVED_API_FILE := ", ddoc.removedApiFile.String())
}
if String(ddoc.properties.Removed_dex_api_filename) != "" {
fmt.Fprintln(w, apiFilePrefix+"REMOVED_DEX_API_FILE := ", ddoc.removedDexApiFile.String())
}
if String(ddoc.properties.Exact_api_filename) != "" {
fmt.Fprintln(w, apiFilePrefix+"EXACT_API_FILE := ", ddoc.exactApiFile.String())
}