build system

Clone this repo:
  1. 63d3835 Merge changes Ib2a4a208,Ic8235912 by Anton Hansson · 9 hours ago master
  2. 2bbb6c9 Merge "DO NOT MERGE - Merge Android R QPR1" by Xin Li · 19 hours ago
  3. ca9a71e DO NOT MERGE - Merge Android R QPR1 by Xin Li · 20 hours ago
  4. 863a120 Merge "Enable system partition compression" am: 74e57f6482 by Jaegeuk Kim · 20 hours ago
  5. 74e57f6 Merge "Enable system partition compression" by Jaegeuk Kim · 21 hours ago

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.