blob: f755c20be5a9bdd531909105f3c3a88a67e5e43a [file] [log] [blame]
Miao Wang4862d612018-02-05 17:26:54 -08001//
2// Copyright (C) 2018 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_test {
18 name: "VtsHalNeuralnetworksV1_1TargetTest",
19 srcs: [
Michael Butler7ed61352018-03-22 16:37:57 -070020 "BasicTests.cpp",
21 "GeneratedTests.cpp",
22 "ValidateModel.cpp",
23 "ValidateRequest.cpp",
24 "ValidationTests.cpp",
25 "VtsHalNeuralnetworks.cpp",
Miao Wang4862d612018-02-05 17:26:54 -080026 ],
27 defaults: ["VtsHalTargetTestDefaults"],
28 static_libs: [
29 "android.hardware.neuralnetworks@1.0",
30 "android.hardware.neuralnetworks@1.1",
31 "android.hidl.allocator@1.0",
32 "android.hidl.memory@1.0",
33 "libhidlmemory",
34 "libneuralnetworks_utils",
35 "VtsHalNeuralnetworksTest_utils",
36 ],
37 header_libs: [
38 "libneuralnetworks_headers",
39 "libneuralnetworks_generated_test_harness_headers",
40 "libneuralnetworks_generated_tests",
41 ],
Pirama Arumuga Nainar0d8dbee2018-03-06 11:23:53 -080042 // Bug: http://b/74200014 - Disable arm32 asan since it triggers internal
43 // error in ld.gold.
44 arch: {
45 arm: {
46 sanitize: {
47 never: true,
48 },
49 },
50 },
Miao Wang4862d612018-02-05 17:26:54 -080051}