diff options
author | Paul Duffin <paulduffin@google.com> | 2020-04-08 18:28:15 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2020-04-09 18:11:26 +0100 |
commit | 4c5dc18da553120d551f2eb02c941052b1f89d91 (patch) | |
tree | 832255c508c3c6da4277422b83f8da3e88f63694 /StubLibraries.bp | |
parent | 45b77f9e8bfb4a39badbb41780c0c45ed6c42ee0 (diff) |
Disable stubs generation when generating module_lib .txt file
Avoids droidstubs doing unnecessary work to create stubs files that are
not actually used.
Bug: 146727827
Test: framework-sdkextensions-api-module_libs_api
Change-Id: Ic537fda99b564877709666025fb8df872144d827
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r-- | StubLibraries.bp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp index de6d6f69f79f..c51801869e22 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -193,6 +193,10 @@ droidstubs { api_tag_name: "MODULE_LIB", arg_files: ["core/res/AndroidManifest.xml"], args: metalava_framework_docs_args + module_libs, + + // Do not generate stubs as they are not needed + generate_stubs: false, + check_api: { current: { api_file: "api/module-lib-current.txt", |