Move libartd-simulator dependency to host-only
libartd-simulator wasn't supposed to be building for the device,
but due to a bug in soong the device_supported: false in
libart_simluator_defaults wasn't taking effect. Move the
dependency to the host section so that the soong bug can be fixed.
Test: m -j test-art-host-gtest-codegen_test64
Change-Id: I9becf348a9c9f26d7c14dbac5ca443e5aca47b00
diff --git a/compiler/Android.bp b/compiler/Android.bp
index a1269dc..62226da 100644
--- a/compiler/Android.bp
+++ b/compiler/Android.bp
@@ -429,13 +429,20 @@
shared_libs: [
"libartd-compiler",
- "libartd-simulator",
"libvixld-arm",
"libvixld-arm64",
"libbacktrace",
"libnativeloader",
],
+
+ target: {
+ host: {
+ shared_libs: [
+ "libartd-simulator",
+ ],
+ },
+ },
}
art_cc_test {