commit | c481de01b7c27e183db42f571a9ad9a823a65323 | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Wed Dec 16 02:55:18 2020 +0000 |
committer | Martin Stjernholm <mast@google.com> | Wed Feb 17 08:28:07 2021 +0000 |
tree | ea911b838889306d56cf324832998e2e2e149e16 | |
parent | 32b84909a1619bc1f9ccbb6e5c3faa467afc9afc [diff] |
Move ART APEX selection logic to core make. It's moved from art/Android.mk that won't be available in platform builds without ART sources. This also ensures we depend on com.android.art directly on PRODUCT_PACKAGES and not through LOCAL_REQUIRED_MODULES which was the case in com.android.art-autoselect. When com.android.art is overridden through an `overrides` field, the logic in main.mk drops it from PRODUCT_PACKAGES, but it doesn't consider overrides when processing LOCAL_REQUIRED_MODULES dependencies. Bug: 172480617 Test: `m` with PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD set to true and false Test: `m` on userdebug and eng builds Change-Id: Ia606de691fe20ac19f2ca9af362408606e71b11c
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.