commit | 02525a88deeb23ead4edcb26ac6d27e1f2859374 | [log] [tgz] |
---|---|---|
author | Mårten Kongstad <amhk@google.com> | Mon May 06 10:28:02 2024 +0200 |
committer | Mårten Kongstad <amhk@google.com> | Tue May 07 13:16:13 2024 +0200 |
tree | 76598f053df72dd1386008901eb8f6b520c03e58 | |
parent | 5a99056218e4baa26de4d7ee1f0f53b2bd7a3b8d [diff] |
check-flagged-apis: api-versions.xml: correctly parse nested class ctor The constructor of a nested class is represented as follows in api-versions.xml: <class name="android/Clazz$Foo$Bar" since="1"> <method name="<init>()V"/> </class> The nested dollar signs are not replaced by forward slashes before the parsing logic uses `split("/")` to find the name of the inner-most class, incorrectly resulting in `Class$Foo$Bar` instead of `Bar`. Fix this by immediately replacing dollar signs with forward slashes after extracting the package and class. Also clean up the following call of `Symbol.create`. Bug: 334870672 Test: atest --host check-flagged-apis-test Change-Id: I8c0619faae90ded7eb14dcc20ecb94a086a1c764
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.