diff options
| -rw-r--r-- | Android.bp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 7658fb2cc2c8..028e8a45fd03 100644 --- a/Android.bp +++ b/Android.bp @@ -1497,6 +1497,12 @@ droiddoc { "core/res/AndroidManifest.xml", ], args: metalava_framework_docs_args, + check_api: { + current: { + api_file: "api/current.txt", + removed_api_file: "api/removed.txt", + }, + }, } droiddoc { @@ -1511,6 +1517,12 @@ droiddoc { "core/res/AndroidManifest.xml", ], args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi", + check_api: { + current: { + api_file: "api/system-current.txt", + removed_api_file: "api/system-removed.txt", + }, + }, } droiddoc { @@ -1523,4 +1535,10 @@ droiddoc { "core/res/AndroidManifest.xml", ], args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi", + check_api: { + current: { + api_file: "api/test-current.txt", + removed_api_file: "api/test-removed.txt", + }, + }, } |