diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2019-10-31 13:41:16 +0000 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2019-11-05 09:25:05 +0000 |
commit | 0f2e90fc6fe301beefd2a8c27a5720d84a4e3117 (patch) | |
tree | 86268c049aae67f35e4b45533b1cff77967ae223 /Android.bp | |
parent | abe58f95ba4dbea46fa913a8dddf66f622d1d085 (diff) | |
download | boringssl-0f2e90fc6fe301beefd2a8c27a5720d84a4e3117.tar.gz |
Make libcrypto_static visible for com.android.neuralnetworks
This reduces com.android.neuralnetworks APEX size and memory use.
After moving libneuralnetworks.so to an APEX module, it can't use
the system libcrypto.so. This results in a copy of the libcrypto.so
being added to the com.android.neuralnetworks APEX. By switching to
static version of libcrypto, we link in just the required SHA functions.
Test: Flashed pixel device & run NNAPI tests.
Bug: 140440028
Change-Id: I8be6c7114df01f0049f724a0daf3912fa3ab1837
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ cc_library_static { "//bootable/recovery/updater", "//external/conscrypt", "//external/python/cpython2", - "//frameworks/ml/nn/runtime/test", + "//frameworks/ml/nn/runtime:__subpackages__", "//hardware/interfaces/confirmationui/1.0/vts/functional", "//hardware/interfaces/drm/1.0/vts/functional", "//hardware/interfaces/drm/1.2/vts/functional", |