blob: a1c0f1fba8a37eaf89d6609bad0438cc7f76cc4b [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",
Slava Shklyaevfeb87a92018-09-12 14:52:02 +010031 "android.hardware.neuralnetworks@1.2",
Miao Wang4862d612018-02-05 17:26:54 -080032 "android.hidl.allocator@1.0",
33 "android.hidl.memory@1.0",
Michael K. Sandersda3bdbc2018-10-19 14:39:09 +010034 "libgmock",
Miao Wang4862d612018-02-05 17:26:54 -080035 "libhidlmemory",
36 "libneuralnetworks_utils",
37 "VtsHalNeuralnetworksTest_utils",
38 ],
39 header_libs: [
40 "libneuralnetworks_headers",
41 "libneuralnetworks_generated_test_harness_headers",
42 "libneuralnetworks_generated_tests",
43 ],
Pirama Arumuga Nainar0d8dbee2018-03-06 11:23:53 -080044 // Bug: http://b/74200014 - Disable arm32 asan since it triggers internal
45 // error in ld.gold.
46 arch: {
47 arm: {
48 sanitize: {
49 never: true,
50 },
51 },
52 },
Miao Wang4862d612018-02-05 17:26:54 -080053}