summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2019-10-31 13:41:16 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2019-11-05 09:25:05 +0000
commit0f2e90fc6fe301beefd2a8c27a5720d84a4e3117 (patch)
tree86268c049aae67f35e4b45533b1cff77967ae223 /Android.bp
parentabe58f95ba4dbea46fa913a8dddf66f622d1d085 (diff)
downloadboringssl-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.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index adb238fb..d26dd3d7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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",