diff options
author | Steven Moreland | 2017-06-26 15:52:06 -0500 |
---|---|---|
committer | Steven Moreland | 2017-07-06 17:57:08 -0500 |
commit | 58b3c79034e1a24338b42d07cc95365f3e13ea32 (patch) | |
tree | dc216ba221aa76db6762038ff568278221ee4590 /libutils/Android.bp | |
parent | ae590fe7231d674b7bef51136cbb2969d13f8441 (diff) | |
download | platform-system-core-58b3c79034e1a24338b42d07cc95365f3e13ea32.tar.gz platform-system-core-58b3c79034e1a24338b42d07cc95365f3e13ea32.tar.xz platform-system-core-58b3c79034e1a24338b42d07cc95365f3e13ea32.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
Diffstat (limited to 'libutils/Android.bp')
-rw-r--r-- | libutils/Android.bp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libutils/Android.bp b/libutils/Android.bp index 33770ba03..00edb4a16 100644 --- a/libutils/Android.bp +++ b/libutils/Android.bp | |||
@@ -76,6 +76,13 @@ cc_library { | |||
76 | header_libs: ["libutils_headers"], | 76 | header_libs: ["libutils_headers"], |
77 | export_header_lib_headers: ["libutils_headers"], | 77 | export_header_lib_headers: ["libutils_headers"], |
78 | 78 | ||
79 | shared_libs: [ | ||
80 | "liblog", | ||
81 | ], | ||
82 | export_shared_lib_headers: [ | ||
83 | "liblog", | ||
84 | ], | ||
85 | |||
79 | arch: { | 86 | arch: { |
80 | mips: { | 87 | mips: { |
81 | cflags: ["-DALIGN_DOUBLE"], | 88 | cflags: ["-DALIGN_DOUBLE"], |
@@ -97,7 +104,6 @@ cc_library { | |||
97 | "libbacktrace", | 104 | "libbacktrace", |
98 | "libcutils", | 105 | "libcutils", |
99 | "libdl", | 106 | "libdl", |
100 | "liblog", | ||
101 | ], | 107 | ], |
102 | 108 | ||
103 | sanitize: { | 109 | sanitize: { |