blob: 07071cc47be81d6f96dff0bf14d8dba2dcf02b10 [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
Bob Badourb224b362021-02-12 20:13:01 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "hardware_interfaces_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
Xusong Wang68c32342019-10-23 10:35:07 -070026cc_library_static {
Michael Butler9449a282019-12-11 19:08:08 -080027 name: "VtsHalNeuralNetworksV1_3_utils",
David Gross2452ee52019-12-20 14:22:15 -080028 defaults: ["neuralnetworks_vts_functional_defaults"],
Xusong Wang68c32342019-10-23 10:35:07 -070029 export_include_dirs: ["include"],
30 srcs: [
31 "Callbacks.cpp",
Michael Butler9449a282019-12-11 19:08:08 -080032 "Utils.cpp",
Xusong Wang68c32342019-10-23 10:35:07 -070033 ],
34 static_libs: [
35 "android.hardware.neuralnetworks@1.0",
36 "android.hardware.neuralnetworks@1.1",
37 "android.hardware.neuralnetworks@1.2",
38 "android.hardware.neuralnetworks@1.3",
39 ],
40 header_libs: [
41 "libbase_headers",
Michael Butler9449a282019-12-11 19:08:08 -080042 ],
Xusong Wang68c32342019-10-23 10:35:07 -070043}
44
Lev Proleev26d1bc82019-08-30 11:57:18 +010045cc_test {
Michael Butler62b76902019-10-29 18:58:27 -070046 name: "VtsHalNeuralnetworksV1_3TargetTest",
David Gross2452ee52019-12-20 14:22:15 -080047 defaults: ["neuralnetworks_vts_functional_defaults"],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080048 tidy_timeout_srcs: [
49 "CompilationCachingTests.cpp",
50 "MemoryDomainTests.cpp",
51 ],
Lev Proleev26d1bc82019-08-30 11:57:18 +010052 srcs: [
53 "BasicTests.cpp",
54 "CompilationCachingTests.cpp",
55 "GeneratedTestHarness.cpp",
Xusong Wangfed2f522020-01-29 13:24:33 -080056 "MemoryDomainTests.cpp",
Michael Butler616701d2020-01-07 14:52:44 -080057 "QualityOfServiceTests.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010058 "TestAssertions.cpp",
Slava Shklyaev8c8efd62020-06-16 16:43:01 +010059 "TestMain.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010060 "ValidateBurst.cpp",
61 "ValidateModel.cpp",
62 "ValidateRequest.cpp",
63 "VtsHalNeuralnetworks.cpp",
64 ],
65 shared_libs: [
66 "libfmq",
67 "libnativewindow",
68 ],
69 static_libs: [
Michael Butler9449a282019-12-11 19:08:08 -080070 "VtsHalNeuralNetworksV1_0_utils",
David Gross12ab6c52018-05-14 12:23:04 -070071 "VtsHalNeuralNetworksV1_2_utils",
Michael Butler9449a282019-12-11 19:08:08 -080072 "VtsHalNeuralNetworksV1_3_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010073 "android.hardware.neuralnetworks@1.0",
74 "android.hardware.neuralnetworks@1.1",
75 "android.hardware.neuralnetworks@1.2",
76 "android.hardware.neuralnetworks@1.3",
77 "android.hidl.allocator@1.0",
78 "android.hidl.memory@1.0",
79 "libgmock",
80 "libhidlmemory",
81 "libneuralnetworks_generated_test_harness",
Michael Butlerc3310672021-11-01 18:19:57 -070082 "libneuralnetworks_common",
Miao Wang2c4e0232019-12-26 18:03:56 -080083 "libsync",
Lev Proleev26d1bc82019-08-30 11:57:18 +010084 ],
85 whole_static_libs: [
86 "neuralnetworks_generated_V1_0_example",
87 "neuralnetworks_generated_V1_1_example",
88 "neuralnetworks_generated_V1_2_example",
89 "neuralnetworks_generated_V1_3_example",
90 ],
91 header_libs: [
92 "libneuralnetworks_headers",
93 ],
Steven Moreland6ca82762020-04-02 14:43:20 -070094 test_suites: [
Steven Moreland6ca82762020-04-02 14:43:20 -070095 "vts",
96 ],
Lev Proleev26d1bc82019-08-30 11:57:18 +010097}