build system

Clone this repo:
  1. 83f593a Merge "Add soong config variable to exclude extracted apks for PrebuiltGmsCore" into main by Treehugger Robot · 15 hours ago main master
  2. 32ecb93 Merge "Disable warnings and errors during include-scanning." into main by Kadir Çetinkaya · 15 hours ago
  3. 06ac427 Add soong config variable to exclude extracted apks for PrebuiltGmsCore by Herbert Xue · 2 days ago
  4. 4efa17b Merge "Export BOARD_PREBUILT_*IMAGE to Soong" into main by Treehugger Robot · 18 hours ago
  5. 62cd320 Merge "Cleanup install diff allowlist for /system in next builds" into main by Spandan Das · 19 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.