Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27f13787 authored by Colin Cross's avatar Colin Cross
Browse files

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
parent 1e19124f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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,