blob: 182f716115dff166ba8684b1fb0ae049db0609c8 [file] [log] [blame]
Slava Shklyaevfeb87a92018-09-12 14:52:02 +01001//
2// Copyright (C) 2018 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
Lev Proleev26d1bc82019-08-30 11:57:18 +010017cc_library_static {
David Gross12ab6c52018-05-14 12:23:04 -070018 name: "VtsHalNeuralNetworksV1_2_utils",
David Gross0db1b542019-12-20 14:22:15 -080019 defaults: ["neuralnetworks_vts_functional_defaults"],
Lev Proleev26d1bc82019-08-30 11:57:18 +010020 export_include_dirs: ["include"],
21 srcs: [
22 "Callbacks.cpp",
David Gross12ab6c52018-05-14 12:23:04 -070023 "Utils.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010024 ],
25 static_libs: [
26 "android.hardware.neuralnetworks@1.0",
27 "android.hardware.neuralnetworks@1.1",
28 "android.hardware.neuralnetworks@1.2",
29 ],
30 header_libs: [
31 "libbase_headers",
Michael Butler4876af12020-03-12 15:12:23 -070032 ],
Lev Proleev26d1bc82019-08-30 11:57:18 +010033}
34
Michael Butler07633282019-08-29 11:08:25 -070035cc_test {
36 name: "VtsHalNeuralnetworksV1_2TargetTest",
David Gross0db1b542019-12-20 14:22:15 -080037 defaults: ["neuralnetworks_vts_functional_defaults"],
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010038 srcs: [
Michael Butler07633282019-08-29 11:08:25 -070039 "BasicTests.cpp",
Michael Butler07633282019-08-29 11:08:25 -070040 "CompilationCachingTests.cpp",
41 "GeneratedTestHarness.cpp",
Xusong Wangee80b022019-08-22 14:58:16 -070042 "TestAssertions.cpp",
Michael Butler4876af12020-03-12 15:12:23 -070043 "ValidateBurst.cpp",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010044 "ValidateModel.cpp",
45 "ValidateRequest.cpp",
46 "VtsHalNeuralnetworks.cpp",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010047 ],
48 local_include_dirs: ["include"],
49 shared_libs: [
50 "libfmq",
51 "libnativewindow",
52 ],
53 static_libs: [
Michael Butler4876af12020-03-12 15:12:23 -070054 "VtsHalNeuralNetworksV1_0_utils",
David Gross12ab6c52018-05-14 12:23:04 -070055 "VtsHalNeuralNetworksV1_2_utils",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010056 "android.hardware.neuralnetworks@1.0",
57 "android.hardware.neuralnetworks@1.1",
58 "android.hardware.neuralnetworks@1.2",
59 "android.hidl.allocator@1.0",
60 "android.hidl.memory@1.0",
61 "libgmock",
62 "libhidlmemory",
Xusong Wangead950d2019-08-09 16:45:24 -070063 "libneuralnetworks_generated_test_harness",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010064 "libneuralnetworks_utils",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010065 ],
Michael Butler07633282019-08-29 11:08:25 -070066 whole_static_libs: [
67 "neuralnetworks_generated_V1_0_example",
68 "neuralnetworks_generated_V1_1_example",
69 "neuralnetworks_generated_V1_2_example",
70 ],
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010071 header_libs: [
72 "libneuralnetworks_headers",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010073 ],
Michael Butler4876af12020-03-12 15:12:23 -070074 test_suites: [
75 "general-tests",
Dan Shiaad51fa2020-04-05 14:34:48 -070076 "vts",
Michael Butler4876af12020-03-12 15:12:23 -070077 ],
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010078}