commit | 802f2116ed43ed36721b2d623d114ffa1b1268ed | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Nov 15 13:15:22 2021 -0800 |
committer | Colin Cross <ccross@android.com> | Mon Nov 15 13:15:22 2021 -0800 |
tree | 172bded9bdf81622e0ce7277b1fbf9ba0e4ea58c | |
parent | 866d824328440f48b7d5b03f2ef94997f9a0f2da [diff] |
Translate BUILT_INSTALLED to LOCAL_BUILT_MODULE Soong creates install rules and lists them in LOCAL_SOONG_INSTALL_PAIRS, where they get copied to ALL_MODULE.$(m).BUILT_INSTALLED. BUILT_INSTALLED is used by package-modules.mk to copy the built modules to alternate install locations for building zips like continuous_native_tests.zip. Translate Soong's built module location, which is listed in LOCAL_PREBUILT_MODULE_FILE, into $(LOCAL_BUILT_MODULE) when setting BUILT_INSTALLED so that package-modules.mk copies from $(LOCAL_BUILT_MODULE) instead of $(LOCAL_PREBUILT_MODULE_FILE). This ensures that the transitive dependencies added to $(LOCAL_BUILT_MODULE), for example the unstripped symbols files, are present when continuous_native_tests.zip is built. Bug: 206137439 Test: manual Change-Id: I1a45cd6d3c81d6435a10f4d29557e521753068a4
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.