blob: ab2d4a1e44c37892c7d247567ed665c8a1399828 [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 {
Yihan Dong49e767a2024-10-12 09:02:47 +000018 default_team: "trendy_team_renderscript_nnapi",
Bob Badourb224b362021-02-12 20:13:01 -080019 // See: http://go/android-license-faq
20 // A large-scale-change added 'default_applicable_licenses' to import
21 // all of the 'license_kinds' from "hardware_interfaces_license"
22 // to get the below license kinds:
23 // SPDX-license-identifier-Apache-2.0
24 default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
Xusong Wang68c32342019-10-23 10:35:07 -070027cc_library_static {
Michael Butler9449a282019-12-11 19:08:08 -080028 name: "VtsHalNeuralNetworksV1_3_utils",
David Gross2452ee52019-12-20 14:22:15 -080029 defaults: ["neuralnetworks_vts_functional_defaults"],
Xusong Wang68c32342019-10-23 10:35:07 -070030 export_include_dirs: ["include"],
31 srcs: [
32 "Callbacks.cpp",
Michael Butler9449a282019-12-11 19:08:08 -080033 "Utils.cpp",
Xusong Wang68c32342019-10-23 10:35:07 -070034 ],
35 static_libs: [
36 "android.hardware.neuralnetworks@1.0",
37 "android.hardware.neuralnetworks@1.1",
38 "android.hardware.neuralnetworks@1.2",
39 "android.hardware.neuralnetworks@1.3",
40 ],
41 header_libs: [
42 "libbase_headers",
Michael Butler9449a282019-12-11 19:08:08 -080043 ],
Xusong Wang68c32342019-10-23 10:35:07 -070044}
45
Lev Proleev26d1bc82019-08-30 11:57:18 +010046cc_test {
Michael Butler62b76902019-10-29 18:58:27 -070047 name: "VtsHalNeuralnetworksV1_3TargetTest",
David Gross2452ee52019-12-20 14:22:15 -080048 defaults: ["neuralnetworks_vts_functional_defaults"],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080049 tidy_timeout_srcs: [
50 "CompilationCachingTests.cpp",
51 "MemoryDomainTests.cpp",
52 ],
Lev Proleev26d1bc82019-08-30 11:57:18 +010053 srcs: [
54 "BasicTests.cpp",
55 "CompilationCachingTests.cpp",
56 "GeneratedTestHarness.cpp",
Xusong Wangfed2f522020-01-29 13:24:33 -080057 "MemoryDomainTests.cpp",
Michael Butler616701d2020-01-07 14:52:44 -080058 "QualityOfServiceTests.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010059 "TestAssertions.cpp",
Slava Shklyaev8c8efd62020-06-16 16:43:01 +010060 "TestMain.cpp",
Lev Proleev26d1bc82019-08-30 11:57:18 +010061 "ValidateBurst.cpp",
62 "ValidateModel.cpp",
63 "ValidateRequest.cpp",
64 "VtsHalNeuralnetworks.cpp",
65 ],
66 shared_libs: [
67 "libfmq",
68 "libnativewindow",
69 ],
70 static_libs: [
Michael Butler9449a282019-12-11 19:08:08 -080071 "VtsHalNeuralNetworksV1_0_utils",
David Gross12ab6c52018-05-14 12:23:04 -070072 "VtsHalNeuralNetworksV1_2_utils",
Michael Butler9449a282019-12-11 19:08:08 -080073 "VtsHalNeuralNetworksV1_3_utils",
Lev Proleev26d1bc82019-08-30 11:57:18 +010074 "android.hardware.neuralnetworks@1.0",
75 "android.hardware.neuralnetworks@1.1",
76 "android.hardware.neuralnetworks@1.2",
77 "android.hardware.neuralnetworks@1.3",
78 "android.hidl.allocator@1.0",
79 "android.hidl.memory@1.0",
80 "libgmock",
81 "libhidlmemory",
82 "libneuralnetworks_generated_test_harness",
Michael Butlerc3310672021-11-01 18:19:57 -070083 "libneuralnetworks_common",
Miao Wang2c4e0232019-12-26 18:03:56 -080084 "libsync",
Lev Proleev26d1bc82019-08-30 11:57:18 +010085 ],
86 whole_static_libs: [
87 "neuralnetworks_generated_V1_0_example",
88 "neuralnetworks_generated_V1_1_example",
89 "neuralnetworks_generated_V1_2_example",
90 "neuralnetworks_generated_V1_3_example",
91 ],
92 header_libs: [
93 "libneuralnetworks_headers",
94 ],
Steven Moreland6ca82762020-04-02 14:43:20 -070095 test_suites: [
Steven Moreland6ca82762020-04-02 14:43:20 -070096 "vts",
97 ],
Lev Proleev26d1bc82019-08-30 11:57:18 +010098}