art: unbreak dalvikvm builds on host
Adds liblog shared library dependency for host builds in a few places.
Bug: 188879721
Bug: 188067586
Test: [master-art-internal] art/tools/buildbot-build.sh --host
Change-Id: I102a8c8b5fe134047ac71fb940d063e2b1100630
diff --git a/dalvikvm/Android.bp b/dalvikvm/Android.bp
index 5c0e574..a1f57ca 100644
--- a/dalvikvm/Android.bp
+++ b/dalvikvm/Android.bp
@@ -31,12 +31,12 @@
srcs: ["dalvikvm.cc"],
shared_libs: [
+ "liblog",
"libnativehelper",
],
target: {
android: {
shared_libs: [
- "liblog",
"libsigchain",
],
},
diff --git a/test/Android.bp b/test/Android.bp
index 82027a7..1b890fe 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -360,6 +360,7 @@
shared_libs: [
"libbacktrace",
"libbase",
+ "liblog",
"libnativehelper",
],
}
@@ -739,6 +740,7 @@
shared_libs: [
"libbacktrace",
"libbase",
+ "liblog",
"libnativehelper",
],
}