aboutsummaryrefslogtreecommitdiffstats
path: root/libdl
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-03-20 14:07:47 -0700
committerDan Willemsen <dwillemsen@google.com>2017-04-05 22:42:08 +0000
commitb8f7fde4bdfba5a65ef5a88265fdb79403e8a699 (patch)
treee98bbe6b0ad4cccccbe00d5f4c903ab66be95c3e /libdl
parenta3ed901ef82fae908858f08a62e3d04f769c26ce (diff)
downloadandroid_bionic-b8f7fde4bdfba5a65ef5a88265fdb79403e8a699.tar.gz
android_bionic-b8f7fde4bdfba5a65ef5a88265fdb79403e8a699.tar.bz2
android_bionic-b8f7fde4bdfba5a65ef5a88265fdb79403e8a699.zip
Add LLNDK stub libraries for the VNDK
The stub libraries are the same as the (equivalent version) NDK, but they also contain symbols tagged with 'vndk'. Except there are none of those in Bionic currently. For headers, the LLNDK/VNDK isn't using a sysroot like the NDK. Nor is it hardcoding an explicit source path list like the platform. Instead it runs the bionic/libc/include directory through versioner like the NDK, then exports those generated headers and the kernel headers from the stub library like any other exported header. Except it uses -isystem instead of -I due to export_headers_as_system. Test: aosp_arm; m -j Test: Enable BOARD_VNDK_VERSION on aosp_arm; m -j Test: Inspect out/soong/build.ninja before/after (w/o vndk) Change-Id: Ief58a73907a83053b408b1d4b62999cba470d61c
Diffstat (limited to 'libdl')
-rw-r--r--libdl/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdl/Android.bp b/libdl/Android.bp
index 5b67e3881..8c6b47e69 100644
--- a/libdl/Android.bp
+++ b/libdl/Android.bp
@@ -124,3 +124,8 @@ ndk_library {
symbol_file: "libdl.map.txt",
first_version: "9",
}
+
+llndk_library {
+ name: "libdl.llndk",
+ symbol_file: "libdl.map.txt",
+}