blob: 545a5be74efc696f8e872b6e02d2d4d4017d48f5 [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",
David Gross2452ee52019-12-20 14:22:15 -080019 defaults: ["neuralnetworks_vts_functional_defaults"],
Xusong Wang68c32342019-10-23 10:35:07 -070020 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",
David Gross2452ee52019-12-20 14:22:15 -080038 defaults: ["neuralnetworks_vts_functional_defaults"],
Lev Proleev26d1bc82019-08-30 11:57:18 +010039 srcs: [
40 "BasicTests.cpp",
41 "CompilationCachingTests.cpp",
42 "GeneratedTestHarness.cpp",
Xusong Wangfed2f522020-01-29 13:24:33 -080043 "MemoryDomainTests.cpp",
Michael Butler616701d2020-01-07 14:52:44 -080044 "QualityOfServiceTests.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010045 "TestAssertions.cpp",
46 "ValidateBurst.cpp",
47 "ValidateModel.cpp",
48 "ValidateRequest.cpp",
49 "VtsHalNeuralnetworks.cpp",
50 ],
51 shared_libs: [
52 "libfmq",
53 "libnativewindow",
54 ],
55 static_libs: [
Michael Butler9449a282019-12-11 19:08:08 -080056 "VtsHalNeuralNetworksV1_0_utils",
57 "VtsHalNeuralNetworksV1_2Callbacks",
58 "VtsHalNeuralNetworksV1_3_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010059 "android.hardware.neuralnetworks@1.0",
60 "android.hardware.neuralnetworks@1.1",
61 "android.hardware.neuralnetworks@1.2",
62 "android.hardware.neuralnetworks@1.3",
63 "android.hidl.allocator@1.0",
64 "android.hidl.memory@1.0",
65 "libgmock",
66 "libhidlmemory",
67 "libneuralnetworks_generated_test_harness",
68 "libneuralnetworks_utils",
Miao Wang2c4e0232019-12-26 18:03:56 -080069 "libsync",
Lev Proleev26d1bc82019-08-30 11:57:18 +010070 ],
71 whole_static_libs: [
72 "neuralnetworks_generated_V1_0_example",
73 "neuralnetworks_generated_V1_1_example",
74 "neuralnetworks_generated_V1_2_example",
75 "neuralnetworks_generated_V1_3_example",
76 ],
77 header_libs: [
78 "libneuralnetworks_headers",
79 ],
80 test_suites: ["general-tests"],
81}