commit | 99419d2e06188dcaf66a0bd808f8a0be63992718 | [log] [tgz] |
---|---|---|
author | Spandan Das <spandandas@google.com> | Wed Jul 31 00:14:58 2024 +0000 |
committer | Spandan Das <spandandas@google.com> | Wed Jul 31 00:21:25 2024 +0000 |
tree | c84d31c4d96cc4545b6c7e4bf2926a7e5bd8fe19 | |
parent | 5228a6f4a206d02a4e2c736da608d43e48ae28db [diff] |
Move the installation rules of device boot images to soong This CL adds moves the installation rules of boot images to soong. This will eventually allow us to build devices by skipping `katiBuild` and moving straight to `katiPackaging` Details 1. Drop `dex_preopt_libart.mk` calls for device boot images. This was previously generating the copy rules of soong built artifacts into the installation directory in $PRODUCT_OUT. The installation rules will now be generated by soong's dex_bootjars singleton 2. Drop the profile files of `DEXPREOPT_IMAGE_PROFILE_BUILT_INSTALLED` from the `ALL_DEFAULT_INSTALLED_MODULES`. This will be installed by dex_bootjars singleton as well. 3. Replace the REQUIRED property in reverse dependencies with `dex_bootjars`. By adding this singleton to required, we ensure that the boot images get installed on device. This CL does not change the behavior for installation rules of host boot images. (Those will be tracked in b/355706080) Test: no diff in target/product/vsoc_x86_64/obj/PACKAGING/system_intermediates/file_list.txt (top of stack) Bug: 355700341 Bug: 355703904 Change-Id: Id854feead08df6c2fcbb6175860f76378fc5af5f
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.