Add art-boot-image to the ART apexes
Bug: 177892522
Test: m droid
Change-Id: I80751437acb08eb76c9a05cac2502d50fe61d70e
diff --git a/build/apex/Android.bp b/build/apex/Android.bp
index f1f2e86..8d985b3 100644
--- a/build/apex/Android.bp
+++ b/build/apex/Android.bp
@@ -226,6 +226,7 @@
defaults: ["com.android.art-defaults"],
compile_multilib: "both",
manifest: "manifest-art.json",
+ boot_images: ["art-boot-image"],
java_libs: libcore_java_libs,
native_shared_libs: art_runtime_base_native_shared_libs +
art_runtime_base_native_device_only_shared_libs +
diff --git a/build/boot/Android.bp b/build/boot/Android.bp
index 739052e..e78e1dc 100644
--- a/build/boot/Android.bp
+++ b/build/boot/Android.bp
@@ -15,4 +15,11 @@
boot_image {
name: "art-boot-image",
image_name: "art",
+ visibility: [
+ "//art/build/apex",
+ ],
+ apex_available: [
+ "com.android.art",
+ "com.android.art.debug",
+ ],
}