build system

Clone this repo:
  1. 500fcce Merge "Inject minSdkVersion from the build system" by Colin Cross · 3 days ago master
  2. 7f0ac95 Merge "Set proper CPU variant for aosp_arm" by Treehugger Robot · 3 days ago
  3. e44b0d9 Set proper CPU variant for aosp_arm by Isaac Chen · 3 weeks ago
  4. 5d80834 Merge "Add LOCAL_DONT_MERGE_MANIFESTS" by Colin Cross · 3 days ago
  5. c11f2ff Merge "Move merged AndroidManifest.xml file to manifest subdirectory" by Treehugger Robot · 3 days 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.