build system

Clone this repo:
  1. 836b9e1 Merge "Add a Clearcut tool event logger" into main by Zhuoyao Zhang · 5 hours ago main master
  2. 7b11b71 Add a Clearcut tool event logger by Zhuoyao Zhang · 2 days ago
  3. 0da2fee Merge "Revert "Drop cmdgoals special case from prebuilt selection"" into main by Treehugger Robot · 7 hours ago
  4. 3e2f5a0 Merge "Restrict aconfig version script to linux" into main by Treehugger Robot · 8 hours ago
  5. 4049cdb Revert "Drop cmdgoals special case from prebuilt selection" by Spandan Das · 8 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.