build system

Clone this repo:
  1. 3c76d02 Merge "Add support for LOCAL_PRIVATE_PLATFORM_APIS." by hansson · 57 minutes ago master
  2. d3bec93 Merge "Use BUILD_NUMBER_FROM_FILE instead of BUILD_NUMBER in Make." by Treehugger Robot · 10 hours ago
  3. 3d2b45a Merge "Add property for generating dm files" by Mathieu Chartier · 11 hours ago
  4. 0abdb58 Use BUILD_NUMBER_FROM_FILE instead of BUILD_NUMBER in Make. by Nan Zhang · 36 hours ago
  5. 5c658ac Add property for generating dm files by Mathieu Chartier · 7 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 writers see

For an outdated reference on files, see build-system.html. Our files look similar, but are entirely different from the 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.