blob: 7804c2a7654469e021477be99c941c62838ef828 [file] [log] [blame]
Lev Proleevc185e882020-12-15 19:25:32 +00001//
2// Copyright (C) 2021 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
Lev Proleevc185e882020-12-15 19:25:32 +000026cc_test {
27 name: "VtsHalNeuralnetworksTargetTest",
28 defaults: [
29 "neuralnetworks_vts_functional_defaults",
30 "use_libaidlvintf_gtest_helper_static",
31 ],
32 srcs: [
33 "BasicTests.cpp",
34 "Callbacks.cpp",
35 "CompilationCachingTests.cpp",
36 "GeneratedTestHarness.cpp",
37 "MemoryDomainTests.cpp",
38 "QualityOfServiceTests.cpp",
39 "TestAssertions.cpp",
40 "TestMain.cpp",
41 "Utils.cpp",
42 "ValidateModel.cpp",
43 "ValidateRequest.cpp",
44 "VtsHalNeuralnetworks.cpp",
45 ],
46 shared_libs: [
47 "libbinder_ndk",
48 "libnativewindow",
49 "libvndksupport",
50 ],
51 static_libs: [
52 "android.hardware.common-V2-ndk_platform",
53 "android.hardware.neuralnetworks-V1-ndk_platform",
54 "android.hidl.allocator@1.0",
55 "android.hidl.memory@1.0",
56 "libgmock",
57 "libhidlmemory",
58 "libneuralnetworks_generated_test_harness",
59 "libneuralnetworks_utils",
60 "libsync",
61 "neuralnetworks_utils_hal_aidl",
62 ],
63 whole_static_libs: [
64 "neuralnetworks_generated_V1_0_example",
65 "neuralnetworks_generated_V1_1_example",
66 "neuralnetworks_generated_V1_2_example",
67 "neuralnetworks_generated_V1_3_example",
68 ],
69 header_libs: [
70 "libbase_headers",
71 "libneuralnetworks_headers",
72 ],
73 test_suites: [
74 "general-tests",
75 "vts",
76 ],
77}