commit | 7a114c5313393401475861a109908e12ad559032 | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Thu Jul 13 16:40:30 2023 -0700 |
committer | Cole Faust <colefaust@google.com> | Thu Jul 13 16:40:30 2023 -0700 |
tree | 5e7a9e6935ee37d02095b14eca56f27e2a3853c8 | |
parent | 9ebfc23191db96aeeddaddc948d31183c70bfe3b [diff] |
Minify the sdk targets Previously, the "sdk" target was a minimal lunch target that only included enough to build the sdk. But the "sdk_<arch>" targets redirected to the "sdk_phone_<arch>" targets, which are much bigger and capable of building a whole emulator. Building the sdk on products that can build a whole device complicates the rest of the build system (for example, it starts enforcing dexpropt works) Bug: 290798660 Test: Presubmits Change-Id: I0ec5110318c43a7feee0b88edbed1cab0b590a47
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.