blob: 2d126c7e8de7f36ca3ca7e6428fc9a8ad33b8bd4 [file] [log] [blame]
Ahmed ElArabawyb2c88522022-02-16 16:04:20 -08001//
2// Copyright (C) 2022 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
17package {
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
26cc_test {
27 name: "VtsHalWifiV1_6TargetTest",
28 defaults: ["VtsHalTargetTestDefaults"],
29 srcs: [
30 "wifi_chip_hidl_test.cpp",
31 "wifi_sta_iface_hidl_test.cpp",
32 ],
33 static_libs: [
34 "VtsHalWifiV1_0TargetTestUtil",
35 "android.hardware.wifi@1.0",
36 "android.hardware.wifi@1.1",
37 "android.hardware.wifi@1.2",
38 "android.hardware.wifi@1.3",
39 "android.hardware.wifi@1.4",
40 "android.hardware.wifi@1.5",
41 "android.hardware.wifi@1.6",
42 "libwifi-system-iface",
43 ],
44 test_suites: [
45 "general-tests",
46 "vts",
47 ],
48}
49
50// These tests are split out so that they can be conditioned on presence of the
51// "android.hardware.wifi.rtt" feature.
52cc_test {
53 name: "VtsHalWifiRttV1_6TargetTest",
54 defaults: ["VtsHalTargetTestDefaults"],
55 srcs: [
56 "wifi_rtt_controller_hidl_test.cpp",
57 ],
58 static_libs: [
59 "VtsHalWifiV1_0TargetTestUtil",
60 "android.hardware.wifi@1.0",
61 "android.hardware.wifi@1.1",
62 "android.hardware.wifi@1.2",
63 "android.hardware.wifi@1.3",
64 "android.hardware.wifi@1.4",
65 "android.hardware.wifi@1.5",
66 "android.hardware.wifi@1.6",
67 "libwifi-system-iface",
68 ],
69 test_suites: [
70 "general-tests",
71 "vts",
72 ],
73}
74
75// These tests are split out so that they can be conditioned on presence of the
76// "android.hardware.wifi.aware" feature.
77cc_test {
78 name: "VtsHalWifiNanV1_6TargetTest",
79 defaults: ["VtsHalTargetTestDefaults"],
80 srcs: [
81 "wifi_nan_iface_hidl_test.cpp",
82 ],
83 static_libs: [
84 "VtsHalWifiV1_0TargetTestUtil",
85 "android.hardware.wifi@1.0",
86 "android.hardware.wifi@1.1",
87 "android.hardware.wifi@1.2",
88 "android.hardware.wifi@1.3",
89 "android.hardware.wifi@1.4",
90 "android.hardware.wifi@1.5",
91 "android.hardware.wifi@1.6",
92 "libwifi-system-iface",
93 ],
94 test_suites: [
95 "general-tests",
96 "vts",
97 ],
98}