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: I5f0b9d92162b532b1e6e8752ac3e130759cde08c
This commit is contained in:
@@ -105,6 +105,7 @@ cc_library_shared {
|
||||
cc_library_shared {
|
||||
name: "libandroid_net",
|
||||
defaults: ["libandroid_defaults"],
|
||||
llndk_stubs: "libandroid_net.llndk",
|
||||
srcs: ["net.c"],
|
||||
|
||||
shared_libs: ["libnetd_client"],
|
||||
@@ -113,7 +114,7 @@ cc_library_shared {
|
||||
}
|
||||
|
||||
llndk_library {
|
||||
name: "libandroid_net",
|
||||
name: "libandroid_net.llndk",
|
||||
export_include_dirs: ["include"],
|
||||
symbol_file: "libandroid_net.map.txt",
|
||||
unversioned: true,
|
||||
|
||||
Reference in New Issue
Block a user