summaryrefslogtreecommitdiff
path: root/nn/runtime/test/Android.bp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2019-08-22 00:38:32 -0700
committerMichael Butler <butlermichael@google.com>2020-04-27 13:11:09 -0700
commit56443eb92c61db057948394493d6a5a237d68de7 (patch)
tree86fdbf08f27889665881019db8f05d994c708093 /nn/runtime/test/Android.bp
parent5591a18ea83233a6fd41366da16acdc3028cc7f1 (diff)
downloadml-56443eb92c61db057948394493d6a5a237d68de7.tar.gz
Create tests for VersionedInterfaces errors
This CL introduces the following kinds of tests: * device creation and initialization errors * "normal" functional positive and negative tests * HIDL transport error tests * mock service crash tests Fixes: 139189546 Bug: 129572750 Test: mma Test: atest NeuralNetworksTest_static Change-Id: I3e1eb5433732695572044a74f1529ffc9c3a1982
Diffstat (limited to 'nn/runtime/test/Android.bp')
-rw-r--r--nn/runtime/test/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/nn/runtime/test/Android.bp b/nn/runtime/test/Android.bp
index 8874eee69..d8e0b4ce3 100644
--- a/nn/runtime/test/Android.bp
+++ b/nn/runtime/test/Android.bp
@@ -131,6 +131,7 @@ cc_defaults {
"TestPartitioning.cpp",
"TestPartitioningRandom.cpp",
"TestRemoveDefaultArguments.cpp",
+ "TestVersionedInterfaces.cpp",
"fibonacci_extension/FibonacciDriver.cpp",
"fibonacci_extension/FibonacciExtensionTest.cpp",
@@ -140,7 +141,9 @@ cc_defaults {
],
static_libs: [
"android.hardware.neuralnetworks@1.0-adapter-helper",
+ "android.hardware.neuralnetworks@1.1-adapter-helper",
"android.hardware.neuralnetworks@1.2-adapter-helper",
+ "android.hardware.neuralnetworks@1.3-adapter-helper",
"libSampleDriver",
"libgmock",
"libhidladapter",
@@ -153,6 +156,7 @@ cc_defaults {
],
header_libs: [
"libneuralnetworks_private_headers",
+ "libutils_headers",
"neuralnetworks_example_fibonacci_extension",
],
}