commit | 0d44e721ed0539d9c3ad75aec138204ae2054faa | [log] [tgz] |
---|---|---|
author | Mårten Kongstad <amhk@google.com> | Wed May 08 10:00:32 2024 +0200 |
committer | Mårten Kongstad <amhk@google.com> | Wed May 08 13:30:58 2024 +0200 |
tree | ebf6b756c411be99fa4de30fdf7767f57980aa4e | |
parent | 32b652fd68e9d17be61b3a6a0c5ceff213b29b36 [diff] |
check-flagged-apis: handle nested flags Consider @FlaggedApi(FLAG_OUTER) Clazz { @FlaggedApi(FLAG_INNER) method(); } If FLAG_OUTER is disabled, any class members are ignored. Teach check-flagged-apis to recognize this and stop reporting false positives. Bug: 339183637 Test: atest --host check-flagged-apis-test Change-Id: Ie6799e952dc33874c1239231f841d7dfd947c7ce
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.