summaryrefslogtreecommitdiff
path: root/nn/runtime/test/Android.bp
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2019-09-19 17:40:18 +0100
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2019-09-20 09:39:41 +0100
commitf4ef66d9b36eb2d2cc9322c12cecdd82cf1f8c55 (patch)
tree5d1757034c875188fa0b8a93272420c9aac97777 /nn/runtime/test/Android.bp
parent20d0b6743f3482d2909a1138f66f9028d6345bc7 (diff)
downloadml-f4ef66d9b36eb2d2cc9322c12cecdd82cf1f8c55.tar.gz
Make android.hardware.neuralnetworks@1.X static lib for static tests.
After moving NNAPI to an APEX, android.hardware.neuralnetworks@1.X are no longer present on a system image (moved to apex, as libneuralnetworks.so was their only client). Bug: 139120468 Test: flashed crosshatch, NNAPI static tests Change-Id: I16fb79472f450bb752c8d5cc5b66c931a4ddc29b
Diffstat (limited to 'nn/runtime/test/Android.bp')
-rw-r--r--nn/runtime/test/Android.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/nn/runtime/test/Android.bp b/nn/runtime/test/Android.bp
index 7a7dbc2fd..4694fb12f 100644
--- a/nn/runtime/test/Android.bp
+++ b/nn/runtime/test/Android.bp
@@ -21,9 +21,6 @@ cc_defaults {
// b/109953668, disable OpenMP
// openmp: true,
shared_libs: [
- "android.hardware.neuralnetworks@1.0",
- "android.hardware.neuralnetworks@1.1",
- "android.hardware.neuralnetworks@1.2",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
"libandroid",
@@ -40,6 +37,9 @@ cc_defaults {
"libutils",
],
static_libs: [
+ "android.hardware.neuralnetworks@1.0",
+ "android.hardware.neuralnetworks@1.1",
+ "android.hardware.neuralnetworks@1.2",
"libc++fs",
"libneuralnetworks_generated_test_harness",
],