blob: 9dba2172003087ba14a13f38a239e495c49ba21d [file] [log] [blame]
Nate Jiang3ec67812020-08-24 11:04:31 -07001//
2// Copyright (C) 2020 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 Badourc22b35b2021-02-23 14:26:20 -080017package {
Yihan Dongb65093a2024-10-12 08:57:44 +000018 default_team: "trendy_team_fwk_wifi_hal",
Bob Badourc22b35b2021-02-23 14:26:20 -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
lesl90e65652021-01-13 17:38:53 +080027cc_library_static {
28 name: "VtsHalWifiV1_5TargetTestUtil",
29 defaults: ["VtsHalTargetTestDefaults"],
30 srcs: [
31 "wifi_hidl_test_utils_1_5.cpp",
32 ],
33 export_include_dirs: [
34 ".",
35 ],
36 shared_libs: [
37 "libnativehelper",
38 ],
39 static_libs: [
40 "VtsHalWifiV1_0TargetTestUtil",
41 "android.hardware.wifi@1.0",
42 "android.hardware.wifi@1.3",
43 "android.hardware.wifi@1.5",
44 "libwifi-system-iface",
45 ],
46}
47
Roshan Piuse9d1e7d2020-11-04 11:44:16 -080048cc_test {
49 name: "VtsHalWifiV1_5TargetTest",
50 defaults: ["VtsHalTargetTestDefaults"],
51 srcs: [
52 "wifi_chip_hidl_test.cpp",
53 "wifi_sta_iface_hidl_test.cpp",
54 ],
55 static_libs: [
56 "VtsHalWifiV1_0TargetTestUtil",
57 "android.hardware.wifi@1.0",
58 "android.hardware.wifi@1.1",
59 "android.hardware.wifi@1.2",
60 "android.hardware.wifi@1.3",
61 "android.hardware.wifi@1.4",
62 "android.hardware.wifi@1.5",
63 "libwifi-system-iface",
64 ],
65 test_suites: [
66 "general-tests",
67 "vts",
68 ],
69}
70
Nate Jiang3ec67812020-08-24 11:04:31 -070071// These tests are split out so that they can be conditioned on presence of the
72// "android.hardware.wifi.aware" feature.
73cc_test {
74 name: "VtsHalWifiNanV1_5TargetTest",
75 defaults: ["VtsHalTargetTestDefaults"],
76 srcs: [
77 "wifi_nan_iface_hidl_test.cpp",
78 ],
79 static_libs: [
80 "VtsHalWifiV1_0TargetTestUtil",
81 "android.hardware.wifi@1.0",
82 "android.hardware.wifi@1.1",
83 "android.hardware.wifi@1.2",
84 "android.hardware.wifi@1.3",
85 "android.hardware.wifi@1.4",
86 "android.hardware.wifi@1.5",
Nate Jiangeac80de2022-02-24 16:09:05 -080087 "android.hardware.wifi@1.6",
Nate Jiang3ec67812020-08-24 11:04:31 -070088 "libwifi-system-iface",
89 ],
90 test_suites: [
91 "general-tests",
92 "vts",
93 ],
94}
lesl420c4fc2020-11-23 19:33:04 +080095
96// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
97cc_test {
98 name: "VtsHalWifiApV1_5TargetTest",
99 defaults: ["VtsHalTargetTestDefaults"],
100 srcs: [
101 "wifi_chip_hidl_ap_test.cpp",
lesl90e65652021-01-13 17:38:53 +0800102 "wifi_ap_iface_hidl_test.cpp",
lesl420c4fc2020-11-23 19:33:04 +0800103 ],
104 static_libs: [
105 "VtsHalWifiV1_0TargetTestUtil",
lesl90e65652021-01-13 17:38:53 +0800106 "VtsHalWifiV1_5TargetTestUtil",
lesl420c4fc2020-11-23 19:33:04 +0800107 "android.hardware.wifi@1.0",
108 "android.hardware.wifi@1.1",
109 "android.hardware.wifi@1.2",
110 "android.hardware.wifi@1.3",
111 "android.hardware.wifi@1.4",
112 "android.hardware.wifi@1.5",
113 "libwifi-system-iface",
114 ],
115 test_suites: [
116 "general-tests",
117 "vts",
118 ],
119}