libutils: liblog export headers
- make liblog dependency for all library builds (this is required
for files like String8.cpp)
- export liblog headers (because they are used in many header files).
Test: less libraries fail with BOARD_VNDK_VERSION := current
Merged-In: Iecb9cd00deb3a9056ea63c4a087afdb80a51a2b8
Change-Id: Iecb9cd00deb3a9056ea63c4a087afdb80a51a2b8
(cherry picked from commit 43e20cac7b0f0fac603999cdb9516929b3f758dd)
diff --git a/libutils/Android.bp b/libutils/Android.bp
index b7e397e..540c445 100644
--- a/libutils/Android.bp
+++ b/libutils/Android.bp
@@ -82,6 +82,13 @@
"libutils_headers",
],
+ shared_libs: [
+ "liblog",
+ ],
+ export_shared_lib_headers: [
+ "liblog",
+ ],
+
arch: {
mips: {
cflags: ["-DALIGN_DOUBLE"],
@@ -102,7 +109,6 @@
"libbacktrace",
"libcutils",
"libdl",
- "liblog",
"libvndksupport",
],