summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen2017-03-20 16:08:59 -0500
committerSteven Moreland2017-04-07 22:35:02 -0500
commit38b4a9265d1c50dcf837c9f5e15858b350d912b3 (patch)
treea2692fddb84994924962609a39a6979f4546da51 /liblog/Android.bp
parent9cadfde2d603afd693699e8ca6587e3b694ffea6 (diff)
downloadplatform-system-core-38b4a9265d1c50dcf837c9f5e15858b350d912b3.tar.gz
platform-system-core-38b4a9265d1c50dcf837c9f5e15858b350d912b3.tar.xz
platform-system-core-38b4a9265d1c50dcf837c9f5e15858b350d912b3.zip
Add LLNDK liblog stub library for the VNDK
This replaces the liblog_vndk_headers with a true stub library that exports the vndk headers, and exports the vndk-specific set of symbols. Test: generated NDK stub maps are the same before/after Test: aosp_arm; m -j Test: Enable BOARD_VNDK_VERSION on aosp_arm; m -j (with other changes) Change-Id: I9037241963b3872a3bc7cf7ab36a70dd4ddcf9bc (cherry picked from commit 28dab34cbb6c633ae7f2e50296c51fc74435d74d)
Diffstat (limited to 'liblog/Android.bp')
-rw-r--r--liblog/Android.bp12
1 files changed, 7 insertions, 5 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp
index bb8c3af2b..bc262dbcc 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -107,14 +107,16 @@ ndk_headers {
107 license: "NOTICE", 107 license: "NOTICE",
108} 108}
109 109
110cc_library_headers {
111 name: "liblog_vndk_headers",
112 export_include_dirs: ["include_vndk"],
113}
114
115ndk_library { 110ndk_library {
116 name: "liblog.ndk", 111 name: "liblog.ndk",
117 symbol_file: "liblog.map.txt", 112 symbol_file: "liblog.map.txt",
118 first_version: "9", 113 first_version: "9",
119 unversioned_until: "current", 114 unversioned_until: "current",
120} 115}
116
117llndk_library {
118 name: "liblog.llndk",
119 symbol_file: "liblog.map.txt",
120 unversioned: true,
121 export_include_dirs: ["include_vndk"],
122}