blob: e28113bcdc2096d017ddb516a5743d0ce2aab90d [file] [log] [blame]
Michael Butlerbb4ff652017-07-28 19:53:28 -07001//
2// Copyright (C) 2017 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
Miao Wang4862d612018-02-05 17:26:54 -080017cc_library_static {
18 name: "VtsHalNeuralnetworksTest_utils",
19 srcs: [
20 "Callbacks.cpp",
Miao Wang4862d612018-02-05 17:26:54 -080021 "GeneratedTestHarness.cpp",
22 ],
23 defaults: ["VtsHalTargetTestDefaults"],
24 export_include_dirs: ["."],
25 static_libs: [
26 "android.hardware.neuralnetworks@1.0",
27 "android.hardware.neuralnetworks@1.1",
28 "android.hidl.allocator@1.0",
29 "android.hidl.memory@1.0",
30 "libhidlmemory",
31 "libneuralnetworks_utils",
32 ],
33 header_libs: [
34 "libneuralnetworks_headers",
35 "libneuralnetworks_generated_test_harness_headers",
36 "libneuralnetworks_generated_tests",
37 ],
38}
39
Michael Butlerbb4ff652017-07-28 19:53:28 -070040cc_test {
41 name: "VtsHalNeuralnetworksV1_0TargetTest",
Michael Butler0e2ac1b2017-09-01 10:59:38 -070042 srcs: [
Michael Butler7ed61352018-03-22 16:37:57 -070043 "BasicTests.cpp",
44 "GeneratedTests.cpp",
45 "ValidateModel.cpp",
46 "ValidateRequest.cpp",
47 "ValidationTests.cpp",
48 "VtsHalNeuralnetworks.cpp",
Michael Butler0e2ac1b2017-09-01 10:59:38 -070049 ],
Tri Vo0cd97822017-08-04 10:55:31 -070050 defaults: ["VtsHalTargetTestDefaults"],
51 static_libs: [
Miao Wang4862d612018-02-05 17:26:54 -080052 "android.hardware.neuralnetworks@1.1",
Michael Butler7ed61352018-03-22 16:37:57 -070053 "android.hardware.neuralnetworks@1.0",
Michael Butlerbb4ff652017-07-28 19:53:28 -070054 "android.hidl.allocator@1.0",
55 "android.hidl.memory@1.0",
Tri Vo0cd97822017-08-04 10:55:31 -070056 "libhidlmemory",
Miao Wang4862d612018-02-05 17:26:54 -080057 "libneuralnetworks_utils",
58 "VtsHalNeuralnetworksTest_utils",
Michael Butlerbb4ff652017-07-28 19:53:28 -070059 ],
I-Jui (Ray) Sung2c4e1362017-09-06 02:15:54 -070060 header_libs: [
Miao Wang4862d612018-02-05 17:26:54 -080061 "libneuralnetworks_headers",
I-Jui (Ray) Sung2c4e1362017-09-06 02:15:54 -070062 "libneuralnetworks_generated_test_harness_headers",
63 "libneuralnetworks_generated_tests",
64 ],
Michael Butlerbb4ff652017-07-28 19:53:28 -070065}