commit | 11f44e2802a3f6c6ad43458b5541f9951c7f7171 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Mon Mar 28 20:36:47 2022 +0100 |
committer | Jiakai Zhang <jiakaiz@google.com> | Tue Mar 29 16:11:12 2022 +0100 |
tree | 9ba7d69e4e7b14d238f330dc39465b1ccb5d0838 | |
parent | ce8629fdbf01a3af7d498e2891d08eeb1e272eb0 [diff] |
Always turn on TARGET_BUILD_USE_PREBUILT_SDKS for unbundled build. Before this change, TARGET_BUILD_USE_PREBUILT_SDKS was turned on only if TARGET_BUILD_APPS or TARGET_BUILD_UNBUNDLED_IMAGE is set. After this change, TARGET_BUILD_USE_PREBUILT_SDKS is always turned on if TARGET_BUILD_UNBUNDLED is set. We need this change because we need to build ART services on the thin manifest, and ART's build script only sets TARGET_BUILD_UNBUNDLED. Bug: 177273468 Test: (on aosp-master-art) . ./build/envsetup.sh && lunch arm_krait-eng && art/tools/buildbot-build.sh --target Change-Id: I1b5f63043d518ac8306bd172ef8afd69ab3ae8e5
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.