commit | 21717e744e47103ecf305c488d2f8e8341441ccd | [log] [tgz] |
---|---|---|
author | Mårten Kongstad <amhk@google.com> | Mon Sep 04 13:28:36 2023 +0200 |
committer | Mårten Kongstad <amhk@google.com> | Mon Sep 04 20:25:59 2023 +0200 |
tree | 23a4b5e55ce8f24935cb7ded81419427cc103206 | |
parent | 5cfad6abd246113148abaa965c0b631e96e08e9b [diff] |
aconfig: add invariant checks for `is_fixed_read_only` Update parsed_flag::verify_fields to verify that the invariant "if a parsed flag is_fixed_read_only, its permission must be READ_ONLY". Note: commands.rs will ensure that no value files are used to create an invalid parsed flag when flag declarations and values are parsed, but the invariant check should still be added for completeness sake, and to make sure no invalid hand-crafted test data exists. Also fix invalid test data found by adding this invariant. Bug: 298935897 Test: atest aconfig.test Change-Id: I8cea5c4d28c458525b7034d78ecb34dd09272771
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.