summaryrefslogtreecommitdiff
path: root/native/android/Android.bp
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2021-04-22 16:44:24 -0700
committer Colin Cross <ccross@android.com> 2021-04-23 05:51:31 +0000
commit4ff7d4e678b06ebd10b2e84374828eeb851a5dfe (patch)
tree09d79eb1e449b398fe32c6c2bbc87124ce588f22 /native/android/Android.bp
parent186a6edd47ee59603641473569e63847a04aadb8 (diff)
Replace llndk_library with llndk clause in cc_library
Remove the vestigial llndk_library and replace it with properties in the llndk clause of the implementation cc_library. Bug: 170784825 Test: m checkbuild Test: compare out/soong/build.ninja Change-Id: I960d7592fc71482e547f3617d0e55503c36cb63a
Diffstat (limited to 'native/android/Android.bp')
-rw-r--r--native/android/Android.bp13
1 files changed, 5 insertions, 8 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp
index 2a2b08d77e21..dda230d10137 100644
--- a/native/android/Android.bp
+++ b/native/android/Android.bp
@@ -115,7 +115,11 @@ cc_library_shared {
cc_library_shared {
name: "libandroid_net",
defaults: ["libandroid_defaults"],
- llndk_stubs: "libandroid_net.llndk",
+ llndk: {
+ symbol_file: "libandroid_net.map.txt",
+ unversioned: true,
+ override_export_include_dirs: ["include"],
+ },
srcs: ["net.c"],
shared_libs: ["libnetd_client"],
@@ -123,13 +127,6 @@ cc_library_shared {
include_dirs: ["bionic/libc/dns/include"],
}
-llndk_library {
- name: "libandroid_net.llndk",
- export_include_dirs: ["include"],
- symbol_file: "libandroid_net.map.txt",
- unversioned: true,
-}
-
// Aidl library for platform compat.
cc_library_shared {
name: "lib-platform-compat-native-api",