summaryrefslogtreecommitdiffstats
path: root/libutils
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-06-26 13:52:06 -0700
committerJae Shin <jaeshin@google.com>2017-10-17 08:01:48 +0000
commitc956b182e5c977103565a05543e549a03b3e40f1 (patch)
treeb82a61cd55e472b017e9dd2296357257b2ce0d30 /libutils
parenta9f9294831a8056a43acdf6fc0a771b5cf1c114d (diff)
downloadsystem_core-c956b182e5c977103565a05543e549a03b3e40f1.tar.gz
system_core-c956b182e5c977103565a05543e549a03b3e40f1.tar.bz2
system_core-c956b182e5c977103565a05543e549a03b3e40f1.zip
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)
Diffstat (limited to 'libutils')
-rw-r--r--libutils/Android.bp8
1 files changed, 7 insertions, 1 deletions
diff --git a/libutils/Android.bp b/libutils/Android.bp
index b7e397e43..540c445d0 100644
--- a/libutils/Android.bp
+++ b/libutils/Android.bp
@@ -82,6 +82,13 @@ cc_library {
"libutils_headers",
],
+ shared_libs: [
+ "liblog",
+ ],
+ export_shared_lib_headers: [
+ "liblog",
+ ],
+
arch: {
mips: {
cflags: ["-DALIGN_DOUBLE"],
@@ -102,7 +109,6 @@ cc_library {
"libbacktrace",
"libcutils",
"libdl",
- "liblog",
"libvndksupport",
],