summaryrefslogtreecommitdiff
path: root/nn/runtime/test/Android.bp
diff options
context:
space:
mode:
authorXusong Wang <xusongw@google.com>2020-03-04 14:08:59 -0800
committerXusong Wang <xusongw@google.com>2020-03-09 16:09:21 -0700
commite968bb1055e582571a0a9bdccc12b6ba7bdaefce (patch)
tree524ac770e46177e02e153b4007f35bdce1fed635 /nn/runtime/test/Android.bp
parent6e4afba20cd62dade0dd178b638e406cc3bc13dc (diff)
downloadml-e968bb1055e582571a0a9bdccc12b6ba7bdaefce.tar.gz
Separate generated test utilities and the tests.
The enables a test target to use the generated test utilities without including all the generated tests. Bug: 150805665 Test: NNT_static Change-Id: I58fbf949a03f8f0199b0893da41fc90b5b5c004e
Diffstat (limited to 'nn/runtime/test/Android.bp')
-rw-r--r--nn/runtime/test/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/nn/runtime/test/Android.bp b/nn/runtime/test/Android.bp
index 9e54a2066..47939da03 100644
--- a/nn/runtime/test/Android.bp
+++ b/nn/runtime/test/Android.bp
@@ -59,6 +59,7 @@ cc_defaults {
// library to ensure CTS tests coverage.
// TODO(xusongw): Re-enable once b/141294076 is fixed.
// "TestUnspecifiedDimensions.cpp",
+ "GeneratedTestUtils.cpp",
"TestAssertions.cpp",
"TestFree.cpp",
"TestGenerated.cpp",
@@ -249,6 +250,7 @@ cc_defaults {
name: "NeuralNetworksTest_mt_defaults",
defaults: ["NeuralNetworksTest_default_libs"],
srcs: [
+ "GeneratedTestUtils.cpp",
"TestGenerated.cpp",
"TestMain.cpp",
"TestNeuralNetworksWrapper.cpp",
@@ -297,6 +299,7 @@ cc_library_static {
srcs: [
":libneuralnetworks_generated_test_harness_for_cts",
"CtsMain.cpp",
+ "GeneratedTestUtils.cpp",
"TestFree.cpp",
"TestGenerated.cpp",
"TestMemory.cpp",