Go to file
Sasha Smundak 0e4a5ad24b Trim spaces in the rule actions
When rule action contains something like
  cp $(FOO) ...
and FOO is set with
FOO := a \
 b \

the generated Ninja file constains extra spaces, making it
difficult to compare it to the same file generated by the
Starlark-based product configuration.

Bug: 181797530
Test: manual
Change-Id: I278bd8edf0f017a31c5b5115b2a38f4f663c55fc
2021-07-29 10:57:06 -07:00
common Preserve <uses-library> order in dexpreopt.config files. 2021-02-11 17:09:19 +00:00
core Trim spaces in the rule actions 2021-07-29 10:57:06 -07:00
packaging
target Rename PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS to PRODUCT_APEX_SYSTEM_SERVER_JARS. 2021-07-27 16:09:52 +00:00
tests Add mkpatsubst 2021-07-13 09:21:07 -07:00
tools Fix a bug in computing streaming property of payload.bin 2021-07-28 11:40:18 -04:00
.gitignore
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
Changes.md Add documentation for <uses-library> checks. 2021-03-31 11:56:45 +01:00
CleanSpec.mk Remove pre-aidegen IDE support logic 2021-07-12 21:57:33 -07:00
Deprecation.md
METADATA Fix license_type. Contains GPL 2021-02-09 14:00:16 -08:00
OWNERS
PREUPLOAD.cfg Disallow use of error-prone merge-strategies 2021-02-23 15:07:02 +00:00
README.md
Usage.txt
banchanHelp.sh Allow selecting a different product in banchan. 2021-04-19 18:32:00 +01:00
buildspec.mk.default
envsetup.sh Add the ability to source RBE related scripts from envsetup.sh 2021-07-14 11:31:54 -04:00
help.sh Fix the help script. 2021-03-25 14:40:44 -07:00
navbar.md
rbesetup.sh Add the ability to source RBE related scripts from envsetup.sh 2021-07-14 11:31:54 -04:00
tapasHelp.sh

README.md

Android Make Build System

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.