build system

Clone this repo:
  1. 9392fb3 Merge "Fix an issue in setting up PATH." by Tao Bao · 9 hours ago master
  2. cf821fc Fix an issue in setting up PATH. by Tao Bao · 12 hours ago
  3. f26a4e4 Merge "Revert "Revert "Deprecate bash m* commands and use the soong's modules-in* build commands instead.""" by Treehugger Robot · 12 hours ago
  4. 4188cc5 Merge "Allow passing --legacy in LOCAL_AAPT_FLAGS" by Treehugger Robot · 15 hours ago
  5. eb7cb46 Merge "releasetools: Remove some legacy paths for prop rewrites." by Tao Bao · 16 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.