summaryrefslogtreecommitdiff
path: root/libvndksupport
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2020-10-19 13:38:05 -0700
committerColin Cross <ccross@android.com>2020-10-19 13:38:05 -0700
commit6a2b16693ca45f81ac2adc1cd0e9c965608de222 (patch)
tree6f99770d0553b40d4c2028a1936441178714a42f /libvndksupport
parentfe1eba005603157f376829ffb0b9d26a0813cb8c (diff)
downloadcore-6a2b16693ca45f81ac2adc1cd0e9c965608de222.tar.gz
Make the connection between implementation and llndk_library explicit
Instead of assuming a module with the .llndk suffix exists, add an llndk_stubs property to every cc_library module that has a corresponding llndk_library. Also rename the llndk_library to have an explicit .llndk suffix. Bug: 170784825 Test: no changes to build.ninja (excluding comments) or Android-${TARGET_PRODUCT}.mk Change-Id: Ifba79a1ae64a67a9d7393dac2fb012cd8af8e149
Diffstat (limited to 'libvndksupport')
-rw-r--r--libvndksupport/Android.bp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvndksupport/Android.bp b/libvndksupport/Android.bp
index b92c76c9f..a5cece408 100644
--- a/libvndksupport/Android.bp
+++ b/libvndksupport/Android.bp
@@ -1,6 +1,7 @@
cc_library {
name: "libvndksupport",
native_bridge_supported: true,
+ llndk_stubs: "libvndksupport.llndk",
srcs: ["linker.cpp"],
cflags: [
"-Wall",
@@ -20,7 +21,7 @@ cc_library {
}
llndk_library {
- name: "libvndksupport",
+ name: "libvndksupport.llndk",
native_bridge_supported: true,
symbol_file: "libvndksupport.map.txt",
export_include_dirs: ["include"],