build system

Clone this repo:
  1. f1dafa3 Merge "Fix creating _dist_<goal> targets under !dist" by Treehugger Robot · 10 hours ago master
  2. c2fdc23 Fix creating _dist_<goal> targets under !dist by Dan Willemsen · 12 hours ago
  3. b519ed5 Merge "Stop passing DIST_DIR to Soong" by Treehugger Robot · 20 hours ago
  4. 3e8eb37 Stop passing DIST_DIR to Soong by Dan Willemsen · 23 hours ago
  5. b4b876f Merge "Fix dist-for-goals with no targets" by Treehugger Robot · 24 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 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.