platform_build/tools
Mårten Kongstad aa41dac8d8 check-flagged-apis: make interfaces inherit from java/lang/Object
When parsing API signature files, check-flagged-apis relies on
ClassItem.superClass to get the parent class of a class or interface.
That method always returns null for interfaces.

When generating api-versions.xml, metalava marks interface classes as
inheriting from java/lang/Object:

  <class name="android/os/Parcelable" since="1">
    <extends name="java/lang/Object"/>
    [...]
  </class>

This confuses check-flagged-apis when comparing data parsed from both
sources, as the symbol signatures will be identical, but the superclass
entries differ. Work around this by explicitly marking all interfaces
as inheriting from java/lang/Object when parsing API signature files.

Bug: 334870672
Test: atest --host check-flagged-apis-test
Change-Id: Icbb8f7d4c3d4232a083289a778b347e33a0856ab
2024-05-22 15:13:54 +02:00
..
aconfig Add filter by container to aflags 2024-05-15 10:06:25 -04:00
acp
apicheck
atree
canoninja
check-flagged-apis check-flagged-apis: make interfaces inherit from java/lang/Object 2024-05-22 15:13:54 +02:00
compliance Update go.mod to 1.21 2023-12-14 15:37:35 +00:00
docker
droiddoc
finalization Update sdk finalizer to change soong instead of bazel 2024-04-23 19:53:46 +00:00
fs_config Move fs_config_[files|dirs]_<partition> to soong 2024-05-07 08:50:10 +09:00
ide_query Set enforce SOONG_GEN_COMPDB=1 when running soong for ide_query 2024-04-18 12:06:31 +00:00
libhost
metadata Metadata tool correction: Output empty proto in case of no input 2024-01-11 11:15:23 +00:00
perf The lunch benchmarks don't have targets, so don't fail. 2024-05-18 07:58:24 -07:00
product_config
protos Add some comments to the field "third_party.identifier.type" in METADATA files. 2024-04-01 17:19:40 -07:00
rbcrun Raise go.mod version of build/make/tools/rbcrun 2023-12-14 12:05:03 -08:00
releasetools Merge changes Ibbed6cf9,I31b36b42 into main 2024-05-16 19:34:11 +00:00
sbom Add a package in the SBOM of framework_res.jar. 2024-01-08 09:34:42 -08:00
signapk Remove SignApk output limitation of 2GiB 2024-03-14 14:57:04 -07:00
signtos
tool_event_logger Add a Clearcut tool event logger 2024-04-27 01:01:50 +00:00
warn
zipalign
ziptime
Android.bp Add python Soong modules for logtags 2024-05-02 13:51:34 +09:00
auto_gen_test_config.py
auto_gen_test_config_test.py
brillo-clang-format
build-runfiles.cc
BUILD.bazel
characteristics_rro_generator.py Fix characteristic rro for overridden packages 2024-02-14 16:57:34 +09:00
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 find_static_candidates.py: protect against missing keys in module 2024-01-24 19:28:21 +00:00
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
lunchable Add tool to determine if products can be lunched 2024-04-29 22:58:11 +00:00
merge-event-log-tags.py
mk2bp_catalog.py
mk2bp_partition.py
normalize_path.py
post_process_props.py Determine GC type based on BUILT_KERNEL_VERSION_FILE. 2024-02-01 22:10:33 +08:00
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 Add * support products and modules 2024-04-24 21:23:58 +00:00