summaryrefslogtreecommitdiff
path: root/api/ApiDocs.bp
AgeCommit message (Collapse)Author
2024-12-11Merge "Pass previously released API when generating framework doc stubs" ↵ Treehugger Robot
into main am: ab104e2936 am: c05bf80ae4 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3400045 Change-Id: I16fef93d7c53820186fbed3e43636c6530eba473 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-09Pass previously released API when generating framework doc stubs Paul Duffin
Previously, the previously released APIs were not passed when generated `framework-doc-stubs` and `framework-doc-system-stubs`. That meant that flagged APIs that were reverted would be removed even if they had previously been released. This change fixes that by passing the previously released API. Bug: 379918901 Test: m framework-doc-stubs framework-doc-system-stubs # Before this change they did not included ApplicationStartInfo # After this change they both did and it was correctly tagged # with @apiSince 35. Change-Id: I2d02874d32fd62d166d66a66d8f72eed9f657511
2024-11-14Add healthfitness sources to framework-doc-system-stubs. Justin Lannin
This will allow us to use the HealthFitness APIs across the framework, most immediately for permissions. Bug: 378992337 Change-Id: Iccd7c8efdff68e7d26d8f16d02ab361788cd6fda Flag: EXEMPT DOCS_ONLY Test: m framework-doc-system-stubs
2024-11-07Depend on exportable mainline module stubs for doc generation Jihoon Kang
This change modifies the dependency graph of framework-doc-stubs to depend on the exportable stub source jar of the mainline modules, so that the flagged apis symbols are not elided. Test: m doc dist && unzip -l out/dist/offline-sdk-docs-docs.zip | grep "android/configinfrastructure/aconfig" Bug: 377585897 Change-Id: I2de643c27417a0ccb21016a3bc495127f3a30f81
2024-02-02Merge "Modify sdk-annotations-*.zip and ↵ Jihoon Kang
android_*_stbs_current_with_test_libs defintions" into main am: 45e63e8fad am: ad675e3934 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2945115 Change-Id: Ic7b0718caa1818d04f24570e15a2b89e0f23eea5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-02Merge "Modify sdk-annotations-*.zip and ↵ Jihoon Kang
android_*_stbs_current_with_test_libs defintions" into main am: 45e63e8fad Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2945115 Change-Id: Ifd3b9572c10066036463653531ebc4318b4fd5e3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-02Merge "Modify sdk-annotations-*.zip and ↵ Jihoon Kang
android_*_stbs_current_with_test_libs defintions" into main
2024-02-02Modify sdk-annotations-*.zip and android_*_stbs_current_with_test_libs ↵ Jihoon Kang
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
2024-02-01framework-nfc: Switch to "framework-module-defaults" am: 96dac95fc1 Roshan Pius
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2863748 Merged-In: I8bd5e38b1482600594c41660d14537cf15b48318 Change-Id: Ie96315990595f1405a1e8a4c7f184596dc3a572b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01Add profiling module to bootclasspath Yisroel Forta
Test: m, presubmit Bug: 293957254 Change-Id: I50d024c167094dc559070f529a91af6e9cb49872
2024-01-30Merge Android 24Q1 Release (ab/11220357) Xin Li
Bug: 319669529 Merged-In: I46c7859ff042ee7aa9193757e5df8269f4892362 Change-Id: I0c7b5036c0b0f5f2caad551edb063350f6eb87e7
2024-01-12framework-nfc: Switch to "framework-module-defaults" Roshan Pius
Now that all the @hide usage of NFC API's from rest of platform is cleaned out, we can now switch to the module defaults and continue the separation of NFC API classes. Bug: 303286040 Test: Compiles Merged-In: I8bd5e38b1482600594c41660d14537cf15b48318 Change-Id: I8bd5e38b1482600594c41660d14537cf15b48318
2024-01-12Merge changes from topic "framework-nfc-updatable" into main Roshan Pius
* changes: nfc(api): Move NFC API lint baseline nfc(api): Move nfc classes to framework-nfc framework-nfc: Switch to "framework-module-defaults"
2024-01-11Merge "(Temporarily) hide Lint 101 errors" into main am: 61e5336ae1 am: ↵ Treehugger Robot
f13f82700d am: f8ab5ab4e5 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2904909 Change-Id: I20e0c97f283a6c5c3cba73a5d0901ecb6b9c8b4b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11(Temporarily) hide Lint 101 errors Mårten Kongstad
When building SDKs that include some, but not all @FlaggedApis, a few Javadoc @see/@link references will point to objects that are inaccessible, which will trigger Lint 101 errors. The correct fix is to update the Javadoc. However, to unblock the SDK build for now, temporarily hide Lint 101 errors. Bug: 319541666 Test: m sdk dist Change-Id: Icbd1d99d5fcd6cee37bf588ef45443e7e946f742
2024-01-10framework-nfc: Switch to "framework-module-defaults" Roshan Pius
Now that all the @hide usage of NFC API's from rest of platform is cleaned out, we can now switch to the module defaults and continue the separation of NFC API classes. Bug: 303286040 Test: Compiles Change-Id: I8bd5e38b1482600594c41660d14537cf15b48318
2023-11-02Stop disabling Metalava quality checks Anton Hansson
These checks have been disabled since the initial integration of metalava in the build system. Stop disabling them, but baseline existing issues. For the checks that are disabled for good reason, leave a comment that explains why. Bug: 306806877 Test: m checkapi Change-Id: Ica5c28f798b4aee0ae3722a0bd176bcc621d994e
2023-10-23Migrate droidstubs/droiddoc to flags Anton Hansson
The args attribute does not work well with defaults as it's just a string, which cannot be extended. Migrate to the flags attribute. Bug: 306806877 Test: diff ninja file before/after Change-Id: Ifd1d503d2da29bf1cdf2664201f9c8276f9480a4
2023-10-20Explain the -hide params passed to doclava Anton Hansson
The reason certain checks are disabled in doclava is that they have been implemented in metalava instead. Clarify that. Test: presubmit Change-Id: I32c32783dea59a63d95d14b4ad636159536c2944
2023-10-16Use lint database from api_version_system Paul Duffin
Droidstubs now support using the api-versions.xml from another droidstubs module, so reuse the one from `api_versions_system` in `framework-doc-system-stubs`. Test: m framework-docs-system-stubs # Diff stubs before and after Change-Id: I0aa3a74664e2a9343e90d91b7520ce8bbcadfac5
2023-10-16Remove unused `extensions_info_file` property from framework-doc-stubs Paul Duffin
The `droidstubs.extensions_info_file` property is only used when `api_levels_annotations_enabled: true`. The `framwork-doc-stubs` uses `api_levels_module` instead and so does not need `extensions_info_file` any more. Bug: 305688818 Test: m framework-doc-stubs # Before and after and check output to confirm that it does not change Change-Id: I4ad3f5b24e998eb9d5d47fa2240d2281fa9d6fc6
2023-10-11Cleanup obsolete doc build targets Anton Hansson
- the *-check-docs target doesn't do anything the other targets don't - online-* are, I think, the old d.a.c targets but the ds-* targets are what's currently used - the hidden-* target isn't meaningfully different from others, either Test: presubmit Change-Id: Icab977d40917aa14c629629965c6126e20f4f3ee
2023-10-11Remove framework-doc-only-libs Anton Hansson
They don't seem to do anything. All the docs compile without them and I don't see any additional warnings/errors being printed. If they actually do something, the list is almost certainly incomplete anyway. Test: m docs Change-Id: I1bda7c4cc1d882d80cfe38ee734643c9eed030dc
2023-10-11Don't link the framework impl in docs build Anton Hansson
This gives the docs build access to hidden symbols, which hides issues in the documentation. Baseline the newly discovered issues. Bug: 217734059 Test: m docs Merged-In: I357f5a341a170a37152d836861a330039a83886c Change-Id: I357f5a341a170a37152d836861a330039a83886c
2023-10-04Specify lint-baseline for docs builds Anton Hansson
This file is passed to doclava to baselining existing errors in the documentation. The contents of this baseline will be added in follow up changes (and will be different in AOSP and internal). Bug: 217734059 Test: m docs Change-Id: Ibb5571fd9e55fb4f04e79e015462812e01d1ca80
2023-05-04Move ApiDocs.bp and StubLibraries.bp to api dir Anton Hansson
Make a symlink from api/docs -> docs, since many places are hardcoding the path fw/base/docs. Bug: 271563074 Test: presubmit Change-Id: I354f3cb62535f34d8819d158e53aa46ff26dc18a