Add liblog to libnative(bridge|loader)_lazy.
These DSO's use LOG_IF, which requires liblog. Compiling them with
asserts shouldn't fail to build.
Bug: 160324350
Test: Build with asserts enabled (`-UNDEBUG`).
Change-Id: Id72ef2cef0e60072bd762b63feae3db114ee7a26
diff --git a/libnativebridge/Android.bp b/libnativebridge/Android.bp
index c0f4791..e6e5fe1 100644
--- a/libnativebridge/Android.bp
+++ b/libnativebridge/Android.bp
@@ -80,6 +80,7 @@
host_supported: false,
srcs: ["native_bridge_lazy.cc"],
required: ["libnativebridge"],
+ shared_libs: ["liblog"],
}
subdirs = ["tests"]
diff --git a/libnativeloader/Android.bp b/libnativeloader/Android.bp
index 33a2c8f..47735fe 100644
--- a/libnativeloader/Android.bp
+++ b/libnativeloader/Android.bp
@@ -80,6 +80,7 @@
host_supported: false,
srcs: ["native_loader_lazy.cpp"],
required: ["libnativeloader"],
+ shared_libs: ["liblog"],
}
cc_library_headers {