summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-09-18 18:58:41 +0000
committer Spandan Das <spandandas@google.com> 2024-09-25 21:29:07 +0000
commit38b4c94cc57b223c21ec7979deffa0a4418e9db3 (patch)
tree30a18c7dc22f2aecdbb3a7bae40428255a6d3ef3 /Android.bp
parent5c1283460c8326489c7058f11758a430c1f08a28 (diff)
Create the installation rules of host ART boot image in soong
The build rules for these are generated by soong, but currently make is used to create the installation rules. This CL moves the installation rules to soong. Details - Introduced a `art_boot_images` module type. This is a regular module, and not a singleton module (singleton modules for host are not supported by soong today) - `art_boot_images` will create a dependency on `dex_bootjars` - In GenerateAndroidBuildActions of `dex_bootjars`, it will set a provider with the install info of host ART boot image files - In GenerateAndroidBuildActions of `art_boot_images`, the installation rules will be created using `ctx.InstallFile` Bug: 355706080 Test: m installclean && m test-art-host-gtest (gtests) Test: m installclean && m test-art-host-run-test-dependencies && art/test.py --host (art run-tests) Change-Id: I9c3e6c6c01890facb758cdabef2a83f6990a06c9
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 535246e65..f2d0d94ca 100644
--- a/Android.bp
+++ b/Android.bp
@@ -116,6 +116,11 @@ dex_bootjars {
visibility: ["//visibility:public"],
}
+art_boot_images {
+ name: "art_boot_images",
+ visibility: ["//art:__subpackages__"],
+}
+
// Pseudo-test that's run on checkbuilds to ensure that get_clang_version can
// parse cc/config/global.go.
genrule {