commit | f773f3a024f20133955d69b6bf28dec8a26da56d | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Thu Apr 28 16:12:52 2022 -0700 |
committer | Cole Faust <colefaust@google.com> | Thu Apr 28 16:20:32 2022 -0700 |
tree | 244bb69bfcc36430f11eef92f5a24c97bf2f4fe0 | |
parent | 63e1012b057e10a4ae7f97ff0e67d6154f9e401b [diff] |
Add deprecation warning for base-rules-hook This lets product/board config define a function that is called while processing modules defined in an Android.mk file. When the product/board configs are converted to starlark, they won't be able to supply a base-rules-hook anymore. Emit a warning saying that it's deprecated. Bug: 226974242 Test: Manually Change-Id: Ie6baa4952516a3ec5c6c440f9106f7b5185803b7
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.