blob: aa7afbf6a769b80f610b69aa29a0d63f4c5ade31 [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
17cc_test {
18 name: "VtsHalNeuralnetworksTargetTest",
19 defaults: [
20 "neuralnetworks_vts_functional_defaults",
21 "use_libaidlvintf_gtest_helper_static",
22 ],
23 srcs: [
24 "BasicTests.cpp",
25 "Callbacks.cpp",
26 "CompilationCachingTests.cpp",
27 "GeneratedTestHarness.cpp",
28 "MemoryDomainTests.cpp",
29 "QualityOfServiceTests.cpp",
30 "TestAssertions.cpp",
31 "TestMain.cpp",
32 "Utils.cpp",
33 "ValidateModel.cpp",
34 "ValidateRequest.cpp",
35 "VtsHalNeuralnetworks.cpp",
36 ],
37 shared_libs: [
38 "libbinder_ndk",
39 "libnativewindow",
40 "libvndksupport",
41 ],
42 static_libs: [
43 "android.hardware.common-V2-ndk_platform",
44 "android.hardware.neuralnetworks-V1-ndk_platform",
45 "android.hidl.allocator@1.0",
46 "android.hidl.memory@1.0",
47 "libgmock",
48 "libhidlmemory",
49 "libneuralnetworks_generated_test_harness",
50 "libneuralnetworks_utils",
51 "libsync",
52 "neuralnetworks_utils_hal_aidl",
53 ],
54 whole_static_libs: [
55 "neuralnetworks_generated_V1_0_example",
56 "neuralnetworks_generated_V1_1_example",
57 "neuralnetworks_generated_V1_2_example",
58 "neuralnetworks_generated_V1_3_example",
59 ],
60 header_libs: [
61 "libbase_headers",
62 "libneuralnetworks_headers",
63 ],
64 test_suites: [
65 "general-tests",
66 "vts",
67 ],
68}