summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-04-21 19:13:41 -0700
committerColin Cross <ccross@android.com>2021-04-21 19:13:41 -0700
commit176ec1b8051d0a38f6ab1595f655ac4adbc6b58b (patch)
treefab4009e90ffebee2a9d6dbe5e72dff0cc787b6c
parentd684952fa7ae29feb9fde33363d20d746137dedb (diff)
Replace llndk_library with llndk clause in cc_library
Remove the vestigial llndk_library modules and replace them with properties in the llndk clause of the implementation cc_library. Bug: 170784825 Test: m checkbuild Test: compare out/soong/build.ninja Change-Id: Ie3a1bffcf29bb1b6747f7f708826c61bd43ba5a1
-rw-r--r--libprocessgroup/cgrouprc/Android.bp13
-rw-r--r--libsync/Android.bp10
-rw-r--r--libvndksupport/Android.bp11
3 files changed, 9 insertions, 25 deletions
diff --git a/libprocessgroup/cgrouprc/Android.bp b/libprocessgroup/cgrouprc/Android.bp
index 0cbe0cce3..7522cfe39 100644
--- a/libprocessgroup/cgrouprc/Android.bp
+++ b/libprocessgroup/cgrouprc/Android.bp
@@ -28,7 +28,9 @@ cc_library {
// defined below. The static library is built for tests.
vendor_available: false,
native_bridge_supported: true,
- llndk_stubs: "libcgrouprc.llndk",
+ llndk: {
+ symbol_file: "libcgrouprc.map.txt",
+ },
srcs: [
"cgroup_controller.cpp",
"cgroup_file.cpp",
@@ -59,12 +61,3 @@ cc_library {
},
},
}
-
-llndk_library {
- name: "libcgrouprc.llndk",
- symbol_file: "libcgrouprc.map.txt",
- native_bridge_supported: true,
- export_include_dirs: [
- "include",
- ],
-}
diff --git a/libsync/Android.bp b/libsync/Android.bp
index 540a246e2..99c88cf21 100644
--- a/libsync/Android.bp
+++ b/libsync/Android.bp
@@ -42,7 +42,9 @@ cc_library {
recovery_available: true,
native_bridge_supported: true,
defaults: ["libsync_defaults"],
- llndk_stubs: "libsync.llndk",
+ llndk: {
+ symbol_file: "libsync.map.txt",
+ },
stubs: {
symbol_file: "libsync.map.txt",
versions: [
@@ -51,12 +53,6 @@ cc_library {
},
}
-llndk_library {
- name: "libsync.llndk",
- symbol_file: "libsync.map.txt",
- export_include_dirs: ["include"],
-}
-
cc_test {
name: "sync-unit-tests",
shared_libs: ["libsync"],
diff --git a/libvndksupport/Android.bp b/libvndksupport/Android.bp
index 11c75f7b1..f800bf7a0 100644
--- a/libvndksupport/Android.bp
+++ b/libvndksupport/Android.bp
@@ -5,7 +5,9 @@ package {
cc_library {
name: "libvndksupport",
native_bridge_supported: true,
- llndk_stubs: "libvndksupport.llndk",
+ llndk: {
+ symbol_file: "libvndksupport.map.txt",
+ },
srcs: ["linker.cpp"],
cflags: [
"-Wall",
@@ -23,10 +25,3 @@ cc_library {
versions: ["29"],
},
}
-
-llndk_library {
- name: "libvndksupport.llndk",
- native_bridge_supported: true,
- symbol_file: "libvndksupport.map.txt",
- export_include_dirs: ["include"],
-}