blob: ca59cc20ec73191a2fb984b282aa6febf1d7efeb [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"],
Lev Proleev26d1bc82019-08-30 11:57:18 +010048 srcs: [
49 "BasicTests.cpp",
50 "CompilationCachingTests.cpp",
51 "GeneratedTestHarness.cpp",
Xusong Wangfed2f522020-01-29 13:24:33 -080052 "MemoryDomainTests.cpp",
Michael Butler616701d2020-01-07 14:52:44 -080053 "QualityOfServiceTests.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010054 "TestAssertions.cpp",
Slava Shklyaev8c8efd62020-06-16 16:43:01 +010055 "TestMain.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010056 "ValidateBurst.cpp",
57 "ValidateModel.cpp",
58 "ValidateRequest.cpp",
59 "VtsHalNeuralnetworks.cpp",
60 ],
61 shared_libs: [
62 "libfmq",
63 "libnativewindow",
64 ],
65 static_libs: [
Michael Butler9449a282019-12-11 19:08:08 -080066 "VtsHalNeuralNetworksV1_0_utils",
David Gross12ab6c52018-05-14 12:23:04 -070067 "VtsHalNeuralNetworksV1_2_utils",
Michael Butler9449a282019-12-11 19:08:08 -080068 "VtsHalNeuralNetworksV1_3_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010069 "android.hardware.neuralnetworks@1.0",
70 "android.hardware.neuralnetworks@1.1",
71 "android.hardware.neuralnetworks@1.2",
72 "android.hardware.neuralnetworks@1.3",
73 "android.hidl.allocator@1.0",
74 "android.hidl.memory@1.0",
75 "libgmock",
76 "libhidlmemory",
77 "libneuralnetworks_generated_test_harness",
Michael Butlerabc86912021-10-28 01:54:26 +000078 "libneuralnetworks_common_hidl",
Miao Wang2c4e0232019-12-26 18:03:56 -080079 "libsync",
Lev Proleev26d1bc82019-08-30 11:57:18 +010080 ],
81 whole_static_libs: [
82 "neuralnetworks_generated_V1_0_example",
83 "neuralnetworks_generated_V1_1_example",
84 "neuralnetworks_generated_V1_2_example",
85 "neuralnetworks_generated_V1_3_example",
86 ],
87 header_libs: [
88 "libneuralnetworks_headers",
89 ],
Steven Moreland6ca82762020-04-02 14:43:20 -070090 test_suites: [
91 "general-tests",
92 "vts",
93 ],
Lev Proleev26d1bc82019-08-30 11:57:18 +010094}