blob: e7a9fd34c34b056651696dce5d12b241af49bde7 [file] [log] [blame]
Lev Proleev26d1bc82019-08-30 11:57:18 +01001//
2// Copyright (C) 2019 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
Xusong Wang68c32342019-10-23 10:35:07 -070017cc_library_static {
Michael Butler9449a282019-12-11 19:08:08 -080018 name: "VtsHalNeuralNetworksV1_3_utils",
Xusong Wang68c32342019-10-23 10:35:07 -070019 defaults: ["VtsHalTargetTestDefaults"],
20 export_include_dirs: ["include"],
21 srcs: [
22 "Callbacks.cpp",
Michael Butler9449a282019-12-11 19:08:08 -080023 "Utils.cpp",
Xusong Wang68c32342019-10-23 10:35:07 -070024 ],
25 static_libs: [
26 "android.hardware.neuralnetworks@1.0",
27 "android.hardware.neuralnetworks@1.1",
28 "android.hardware.neuralnetworks@1.2",
29 "android.hardware.neuralnetworks@1.3",
30 ],
31 header_libs: [
32 "libbase_headers",
Michael Butler9449a282019-12-11 19:08:08 -080033 ],
Xusong Wang68c32342019-10-23 10:35:07 -070034}
35
Lev Proleev26d1bc82019-08-30 11:57:18 +010036cc_test {
Michael Butler62b76902019-10-29 18:58:27 -070037 name: "VtsHalNeuralnetworksV1_3TargetTest",
Lev Proleev26d1bc82019-08-30 11:57:18 +010038 defaults: ["VtsHalTargetTestDefaults"],
39 srcs: [
40 "BasicTests.cpp",
41 "CompilationCachingTests.cpp",
42 "GeneratedTestHarness.cpp",
43 "TestAssertions.cpp",
44 "ValidateBurst.cpp",
45 "ValidateModel.cpp",
46 "ValidateRequest.cpp",
47 "VtsHalNeuralnetworks.cpp",
48 ],
49 shared_libs: [
50 "libfmq",
51 "libnativewindow",
52 ],
53 static_libs: [
Michael Butler9449a282019-12-11 19:08:08 -080054 "VtsHalNeuralNetworksV1_0_utils",
55 "VtsHalNeuralNetworksV1_2Callbacks",
56 "VtsHalNeuralNetworksV1_3_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010057 "android.hardware.neuralnetworks@1.0",
58 "android.hardware.neuralnetworks@1.1",
59 "android.hardware.neuralnetworks@1.2",
60 "android.hardware.neuralnetworks@1.3",
61 "android.hidl.allocator@1.0",
62 "android.hidl.memory@1.0",
63 "libgmock",
64 "libhidlmemory",
65 "libneuralnetworks_generated_test_harness",
66 "libneuralnetworks_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010067 ],
68 whole_static_libs: [
69 "neuralnetworks_generated_V1_0_example",
70 "neuralnetworks_generated_V1_1_example",
71 "neuralnetworks_generated_V1_2_example",
72 "neuralnetworks_generated_V1_3_example",
73 ],
74 header_libs: [
75 "libneuralnetworks_headers",
76 ],
77 test_suites: ["general-tests"],
78}