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
This commit is contained in:
Colin Cross
2021-04-22 16:44:24 -07:00
parent 186a6edd47
commit 4ff7d4e678

View File

@@ -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",