Clone this repo:
  1. 2bd2b02 Merge tag 'android-11.0.0_r48' of https://android.googlesource.com/platform//build into r by Jackeagle · 3 years, 7 months ago r
  2. d1ed690 Merge changes from topic "safetynet" into r by Jack · 3 years, 8 months ago
  3. c3bebd3 build: Add ability to use preinstalled vendor.img by Christian Oder · 7 years ago
  4. 8e84fec build: Swap fake and real platform security patch levels by Danny Lin · 4 years, 6 months ago
  5. 8407cf2 build: Add support for faking platform security patch level [1/2] by Danny Lin · 4 years, 6 months 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.