blob: ce2d3a917a6fe2e857d61c8d67af7bf24b7c076b [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",
Michael Butler616701d2020-01-07 14:52:44 -080043 "QualityOfServiceTests.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010044 "TestAssertions.cpp",
45 "ValidateBurst.cpp",
46 "ValidateModel.cpp",
47 "ValidateRequest.cpp",
48 "VtsHalNeuralnetworks.cpp",
49 ],
50 shared_libs: [
51 "libfmq",
52 "libnativewindow",
53 ],
54 static_libs: [
Michael Butler9449a282019-12-11 19:08:08 -080055 "VtsHalNeuralNetworksV1_0_utils",
56 "VtsHalNeuralNetworksV1_2Callbacks",
57 "VtsHalNeuralNetworksV1_3_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010058 "android.hardware.neuralnetworks@1.0",
59 "android.hardware.neuralnetworks@1.1",
60 "android.hardware.neuralnetworks@1.2",
61 "android.hardware.neuralnetworks@1.3",
62 "android.hidl.allocator@1.0",
63 "android.hidl.memory@1.0",
64 "libgmock",
65 "libhidlmemory",
66 "libneuralnetworks_generated_test_harness",
67 "libneuralnetworks_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010068 ],
69 whole_static_libs: [
70 "neuralnetworks_generated_V1_0_example",
71 "neuralnetworks_generated_V1_1_example",
72 "neuralnetworks_generated_V1_2_example",
73 "neuralnetworks_generated_V1_3_example",
74 ],
75 header_libs: [
76 "libneuralnetworks_headers",
77 ],
78 test_suites: ["general-tests"],
79}