diff options
author | 2024-02-01 22:01:15 +0000 | |
---|---|---|
committer | 2024-02-02 07:28:23 +0000 | |
commit | 2a829bb51e36c70ee5914da08b568f4055169536 (patch) | |
tree | 4def3022f0e21ad9cb2a52ecc6efe60beccedf0e /api/ApiDocs.bp | |
parent | ed2395aa096a06af174f8224842ae44fb2601305 (diff) |
Modify sdk-annotations-*.zip and android_*_stbs_current_with_test_libs defintions
This change modifies the sdk-annotations-*.zip definitions so that the
modules depend on the exportable annotations.zip files instead of the
everything annotations.zip files.
This change also modifies the definition of the
android_*_stubs_current_with_test_libs modules definitions to depend on
the exportable stubs.
Likewise, the droiddoc modules now depend on the exportable stubs.
Test: m docs dist && inspect ninja file to verify that everything stubs are not exported
Test: m sdk dist && inspect api-versions.xml file and verify that the disabled apis are not included
Bug: 323261972
Change-Id: I015921f0d006bac29492be22b83043b39a8fe8eb
Diffstat (limited to 'api/ApiDocs.bp')
-rw-r--r-- | api/ApiDocs.bp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/api/ApiDocs.bp b/api/ApiDocs.bp index d7e25834905c..8b458c450a53 100644 --- a/api/ApiDocs.bp +++ b/api/ApiDocs.bp @@ -207,7 +207,7 @@ droiddoc { name: "offline-sdk-docs", defaults: ["framework-docs-default"], srcs: [ - ":framework-doc-stubs", + ":framework-doc-stubs{.exportable}", ], hdf: [ "android.whichdoc offline", @@ -228,7 +228,7 @@ droiddoc { name: "offline-sdk-referenceonly-docs", defaults: ["framework-docs-default"], srcs: [ - ":framework-doc-stubs", + ":framework-doc-stubs{.exportable}", ], hdf: [ "android.whichdoc offline", @@ -272,7 +272,7 @@ droiddoc { name: "ds-docs-java", defaults: ["framework-docs-default"], srcs: [ - ":framework-doc-stubs", + ":framework-doc-stubs{.exportable}", ], hdf: [ "android.whichdoc online", @@ -306,7 +306,7 @@ droiddoc { droiddoc { name: "ds-docs-kt", srcs: [ - ":framework-doc-stubs", + ":framework-doc-stubs{.exportable}", ], flags: [ "-noJdkLink", @@ -360,7 +360,7 @@ droiddoc { name: "ds-static-docs", defaults: ["framework-docs-default"], srcs: [ - ":framework-doc-stubs", + ":framework-doc-stubs{.exportable}", ], hdf: [ "android.whichdoc online", @@ -377,7 +377,7 @@ droiddoc { name: "ds-ref-navtree-docs", defaults: ["framework-docs-default"], srcs: [ - ":framework-doc-stubs", + ":framework-doc-stubs{.exportable}", ], hdf: [ "android.whichdoc online", |