commit | aa41dac8d85e5a90e0d7f3aa17801478bbce45e5 | [log] [tgz] |
---|---|---|
author | Mårten Kongstad <amhk@google.com> | Wed May 22 15:13:54 2024 +0200 |
committer | Mårten Kongstad <amhk@google.com> | Wed May 22 15:13:54 2024 +0200 |
tree | 5e3661ec44fadc65c80119231691bf51872809bd | |
parent | 0ea5497ce463b89a5d9a09d88c8e8e435029c987 [diff] |
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
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.