9238a3ab76
Teach check-flagged-apis to cross-check the data from its three input sources. This allows the tool to detect - @FlaggedApi references to non-existent flags - @FlaggedApi APIs present in the build artifacts even though the flag is disabled - @FlaggedApi APIs not present in the build artifacts even though the flag is enabled By passing in different sources, the tool can detect these errors for any of the API surfaces (public, @SystemApi(MODULE_LIBRARIES), etc). Note: the tool assumes that a disabled flag means that the @FlaggedApi should not be present in the build output. This is currently true, but won't be once metalava starts reverting @FlaggedApis to their previous SDK snapshot. Bug: 334870672 Test: atest --host check-flagged-apis-test Test: check-flagged-apis --api-signature out/target/product/mainline_x86/obj/ETC/frameworks-base-api-current.txt_intermediates/frameworks-base-api-current.txt --flag-values out/soong/.intermediates/all_aconfig_declarations.pb --api-versions out/dist/data/api-versions.xml Change-Id: I790234865f831af7d45895def14d1d6740365622 |
||
---|---|---|
.. | ||
aconfig | ||
acp | ||
apicheck | ||
atree | ||
canoninja | ||
check-flagged-apis | ||
compliance | ||
docker | ||
droiddoc | ||
finalization | ||
fs_config | ||
ide_query | ||
libhost | ||
metadata | ||
perf | ||
product_config | ||
protos | ||
rbcrun | ||
releasetools | ||
sbom | ||
signapk | ||
signtos | ||
warn | ||
zipalign | ||
ziptime | ||
Android.bp | ||
auto_gen_test_config.py | ||
auto_gen_test_config_test.py | ||
brillo-clang-format | ||
build-runfiles.cc | ||
BUILD.bazel | ||
characteristics_rro_generator.py | ||
check_elf_file.py | ||
check_identical_lib.sh | ||
check_radio_versions.py | ||
compare_builds.py | ||
event_log_tags.py | ||
exercise_compare_builds | ||
extract_kernel.py | ||
fat16copy.py | ||
fileslist_util.py | ||
find_static_candidates.py | ||
findleaves.py | ||
fixlinebreaks.sh | ||
generate-enforce-rro-android-manifest.py | ||
generate-notice-files.py | ||
generate-self-extracting-archive.py | ||
generate_gts_shared_report.py | ||
java-event-log-tags.py | ||
list_files.py | ||
merge-event-log-tags.py | ||
mk2bp_catalog.py | ||
mk2bp_partition.py | ||
normalize_path.py | ||
overrideflags.sh | ||
post_process_props.py | ||
post_process_props_unittest.xml | ||
print_module_licenses.sh | ||
soong_to_convert.py | ||
stub_diff_analyzer.py | ||
test_extract_kernel.py | ||
test_post_process_props.py | ||
warn.py | ||
whichgit |