commit | e31d7de7b072db42caa0bc3bfd88ef1f373a6f55 | [log] [tgz] |
---|---|---|
author | Sam Delmerico <delmerico@google.com> | Mon Aug 29 17:39:44 2022 -0400 |
committer | Sam Delmerico <delmerico@google.com> | Tue Aug 30 10:22:22 2022 -0400 |
tree | 37b97d0046aea0b1df96e9b9ea5fedd8d46d7059 | |
parent | d50af652bcae86200d22bcedf5288ee387acdd67 [diff] |
insert --config=bp2build before -- in b args Bazel also supports `--foo bar` as another way to mean `--foo=bar`, The current implementation would accidentally catch that and make it `--foo --config=bp2build bar`. This CL instead requires that additional arguments to the target come after a `--`. E.g. ``` b run --args-for-bazel //foo -- --args-for-foo ``` Test: b build //build/bazel/scripts/difftool:difftool Test: b run //build/bazel/scripts/difftool/difftool.py --level=FINE /tmp/legacyBuildFiles /tmp/bazelBuildFiles --file_type=object Change-Id: I534caab04e4c919d4e7b6dc83b8a88e020626b18
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.