Add art-boot-image to art-module-sdk
Bug: 177892522
Test: m art-module-sdk
Change-Id: I7b98491ce64bf9aeb5806acff7352ba979dfa0e2
diff --git a/build/boot/Android.bp b/build/boot/Android.bp
index fcb1c1d..25e4ff8 100644
--- a/build/boot/Android.bp
+++ b/build/boot/Android.bp
@@ -26,6 +26,7 @@
image_name: "art",
visibility: [
"//art/build/apex",
+ "//art/build/sdk",
],
apex_available: [
"com.android.art",
diff --git a/build/sdk/Android.bp b/build/sdk/Android.bp
index 684b895..66c2ef2 100644
--- a/build/sdk/Android.bp
+++ b/build/sdk/Android.bp
@@ -85,6 +85,10 @@
},
android: {
+ boot_images: [
+ "art-boot-image",
+ ],
+
// Create placeholder java_import prebuilts for the java boot libraries so that Soong
// can retrieve their dex implementation jars from the associated prebuilt_apex. All
// libraries listed in the exported_java_libs property of the ART apex (see