commit | 44de6d8f7a37d701e95213c648547568ffccc2a0 | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Tue Dec 13 13:02:10 2022 -0800 |
committer | Cole Faust <colefaust@google.com> | Tue Dec 13 13:02:10 2022 -0800 |
tree | 2253bd57a472fdf27d7f176bb37cd92ca680ce6f | |
parent | 14b12d9e312b039c42973303a677d6bede9a6e0a [diff] |
Make clear_var_list set nonexistant variables to empty strings Make's clear-var-list causes the variables to exist as empty strings. Mimic that functionality in starlark for the variable diff and ?=. Bug: 262303006 Test: ./out/rbcrun ./build/make/tests/run.rbc Change-Id: I5f9c8cf342d875b1022c5c74906e59fa68fcd6c9
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.