Add `liblog` as a dependency of `dex2oat` Soong modules.
This is in order to reduce differences in ART between AOSP and the
internal tree.
(partly cherry picked from commit bdd9d71101edf4fd8220c18e28a7dccf8a72afda)
Test: mmma art
Change-Id: Ie00f630d1bbc6c196616b1f781b1eda4ae64b39f
Merged-In: Ifeacba4cccf048e437b1906cf1592b8c2608cce4
diff --git a/dex2oat/Android.bp b/dex2oat/Android.bp
index 3c67df9..a232b55 100644
--- a/dex2oat/Android.bp
+++ b/dex2oat/Android.bp
@@ -67,6 +67,7 @@
shared_libs: [
"libbase",
"libcrypto", // For SHA-1 checksumming of build ID
+ "liblog",
"liblz4",
"libz",
],
@@ -78,6 +79,7 @@
whole_static_libs: [
"libbase",
"libcrypto",
+ "liblog",
"liblz4",
"libz",
],
@@ -211,6 +213,7 @@
"libbase",
"libcrypto",
"liblz4", // libart(d)-dex2oat dependency; must be repeated here since it's a static lib.
+ "liblog",
"libsigchain",
"libz",
],
@@ -421,6 +424,7 @@
"libartd-disassembler",
"libbase",
"liblz4", // libartd-dex2oat dependency; must be repeated here since it's a static lib.
+ "liblog",
],
static_libs: [
"libartd-dex2oat",
@@ -509,6 +513,7 @@
"libbase",
"libcrypto",
"liblz4", // libartd-dex2oat dependency; must be repeated here since it's a static lib.
+ "liblog",
"libprofiled",
"libsigchain",
"libziparchive",