commit | d18c978f318d7a155980207ff777deb51701d1c7 | [log] [tgz] |
---|---|---|
author | Mårten Kongstad <amhk@google.com> | Tue Jun 13 13:30:58 2023 +0200 |
committer | Mårten Kongstad <amhk@google.com> | Tue Jun 13 13:30:58 2023 +0200 |
tree | a0bba7cd4dc82f6a03f9a1047a7644bcd9589781 | |
parent | 9448754144e407576462df6faa1dfe9e9346506f [diff] |
aconfig: reject consecutive underscores in identifiers The Java codegen may translate flag names (snake_case) to Java camelCase, dropping the underscores. The flags a_b and a__b will translate to the same camelCase form, which is ambiguous. Circumvent this problem by disallowing consecutive underscores in flag names, flag namespaces, and packages. Bug: 284252015 Test: atest aconfig.test Change-Id: I2586a38160723c06265a140193da8178655553e4
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.