commit | 1057f9a1c6d71bad4c75249206efe0673df116f2 | [log] [tgz] |
---|---|---|
author | Marybeth Fair <marybethfair@google.com> | Wed Jan 22 16:23:08 2025 -0500 |
committer | Marybeth Fair <marybethfair@google.com> | Mon Feb 03 14:49:20 2025 -0500 |
tree | b9bb7979560e81285c1d768413d70c4f694796e7 | |
parent | 600ae901d6cc54d81ee9b6ed15ca45a183bae143 [diff] |
aconfig: Add script to generate finalized flag proto. Takes /prebuilts/sdk/<level>/finalized-flags.txt and creates aconfig_internal FinalizedFlags proto. For use in automatically adding the sdk check in exported flag codegen. Test 1. m convert_finalized_flags_to_proto 2. /path/to/aosp/out/host/linux-x86/bin/convert_finalized_flags_to_proto /path/to/aosp/prebuits/sdk > tmp_flags.pb 3. inspect proto for correctness Next steps: -Add genrule which uses this binary -Read proto output in codegen Test: manual, see above Change-Id: I730a1c20347fe1a11fe7213fa25fffbe4ea3fc23
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.