diff options
author | Colin Cross <ccross@android.com> | 2020-10-19 13:37:57 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2020-10-19 13:37:57 -0700 |
commit | 27f13787e1e83dfe678a0d378b73d0d59c817b2c (patch) | |
tree | eaf3c82ef881dfddb8e0462606b6bb1fbcdfb645 | |
parent | 1e19124f422c9bda3eb50c70448133b9d70487e6 (diff) |
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
-rw-r--r-- | native/android/Android.bp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp index 797d3fd8c2ff..02e1ebe05b02 100644 --- a/native/android/Android.bp +++ b/native/android/Android.bp @@ -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, |