diff options
author | Colin Cross <ccross@android.com> | 2020-10-19 13:37:59 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2020-10-19 13:37:59 -0700 |
commit | fe8348de393883cdd74b2bb03f753799d80fff65 (patch) | |
tree | 7ffb09c5ff1ddfe7cc462858d6ad24aafaa57a4d | |
parent | 249e93788723f1132e11e9621412e2910114f46b (diff) | |
download | ml-fe8348de393883cdd74b2bb03f753799d80fff65.tar.gz |
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: I2373423d671d0de7b6c9469ff796805d85d7d29c
-rw-r--r-- | nn/runtime/Android.bp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nn/runtime/Android.bp b/nn/runtime/Android.bp index e62c8e06c..29540b5e4 100644 --- a/nn/runtime/Android.bp +++ b/nn/runtime/Android.bp @@ -121,6 +121,7 @@ cc_defaults { cc_library_shared { name: "libneuralnetworks", + llndk_stubs: "libneuralnetworks.llndk", defaults: [ "libneuralnetworks_defaults", "neuralnetworks_defaults", @@ -164,7 +165,7 @@ ndk_library { } llndk_library { - name: "libneuralnetworks", + name: "libneuralnetworks.llndk", symbol_file: "libneuralnetworks.map.txt", export_include_dirs: ["include"], } |