blob: b17d44559b417c2dee7cb85a5ea1b45606ffe79e [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",
Slava Shklyaev8c8efd62020-06-16 16:43:01 +010046 "TestMain.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010047 "ValidateBurst.cpp",
48 "ValidateModel.cpp",
49 "ValidateRequest.cpp",
50 "VtsHalNeuralnetworks.cpp",
51 ],
52 shared_libs: [
53 "libfmq",
54 "libnativewindow",
55 ],
56 static_libs: [
Michael Butler9449a282019-12-11 19:08:08 -080057 "VtsHalNeuralNetworksV1_0_utils",
David Gross12ab6c52018-05-14 12:23:04 -070058 "VtsHalNeuralNetworksV1_2_utils",
Michael Butler9449a282019-12-11 19:08:08 -080059 "VtsHalNeuralNetworksV1_3_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010060 "android.hardware.neuralnetworks@1.0",
61 "android.hardware.neuralnetworks@1.1",
62 "android.hardware.neuralnetworks@1.2",
63 "android.hardware.neuralnetworks@1.3",
64 "android.hidl.allocator@1.0",
65 "android.hidl.memory@1.0",
66 "libgmock",
67 "libhidlmemory",
68 "libneuralnetworks_generated_test_harness",
69 "libneuralnetworks_utils",
Miao Wang2c4e0232019-12-26 18:03:56 -080070 "libsync",
Lev Proleev26d1bc82019-08-30 11:57:18 +010071 ],
72 whole_static_libs: [
73 "neuralnetworks_generated_V1_0_example",
74 "neuralnetworks_generated_V1_1_example",
75 "neuralnetworks_generated_V1_2_example",
76 "neuralnetworks_generated_V1_3_example",
77 ],
78 header_libs: [
79 "libneuralnetworks_headers",
80 ],
Steven Moreland6ca82762020-04-02 14:43:20 -070081 test_suites: [
82 "general-tests",
83 "vts",
84 ],
Lev Proleev26d1bc82019-08-30 11:57:18 +010085}