blob: e3c269daeedf742164aa346447b55974b895ea88 [file] [log] [blame]
Roshan Pius1ae4cbb2016-12-06 18:59:15 -08001//
2// Copyright (C) 2016 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
Etan Cohena49579b2017-03-10 10:43:31 -080027cc_library_static {
28 name: "VtsHalWifiV1_0TargetTestUtil",
Yuexi Mad56539e2018-03-21 10:47:22 -070029 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohena49579b2017-03-10 10:43:31 -080030 srcs: [
Etan Cohena49579b2017-03-10 10:43:31 -080031 "wifi_hidl_call_util_selftest.cpp",
32 "wifi_hidl_test.cpp",
Zhuoyao Zhang308f1532018-02-08 21:17:39 -080033 "wifi_hidl_test_utils.cpp",
34 ],
Roshan Piusdbd83ef2017-06-20 12:05:40 -070035 export_include_dirs: [
Nate Jiangac6d14d2020-05-14 18:06:26 -070036 ".",
Roshan Piusdbd83ef2017-06-20 12:05:40 -070037 ],
Etan Cohena49579b2017-03-10 10:43:31 -080038 shared_libs: [
Etan Cohena49579b2017-03-10 10:43:31 -080039 "libnativehelper",
Etan Cohena49579b2017-03-10 10:43:31 -080040 ],
Patrik Fimmlc37306e2019-10-08 14:07:57 +020041 static_libs: [
42 "android.hardware.wifi@1.0",
Jimmy Chen1bdf1a72019-12-23 17:53:40 +020043 "android.hardware.wifi@1.3",
44 "android.hardware.wifi@1.5",
Nate Jiangac6d14d2020-05-14 18:06:26 -070045 "libwifi-system-iface",
Patrik Fimmlc37306e2019-10-08 14:07:57 +020046 ],
Etan Cohena49579b2017-03-10 10:43:31 -080047}
48
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080049cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080050 name: "VtsHalWifiV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070051 defaults: ["VtsHalTargetTestDefaults"],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080052 tidy_timeout_srcs: [
53 "wifi_chip_hidl_test.cpp",
54 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080055 srcs: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080056 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080057 "wifi_p2p_iface_hidl_test.cpp",
58 "wifi_rtt_controller_hidl_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070059 "wifi_sta_iface_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080060 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070061 static_libs: [
62 "VtsHalWifiV1_0TargetTestUtil",
63 "android.hardware.wifi@1.0",
Ahmed ElArabawyaa1e6b02019-01-02 10:07:05 -080064 "android.hardware.wifi@1.1",
xshu344ab2a2018-10-16 11:44:04 -070065 "android.hardware.wifi@1.2",
66 "android.hardware.wifi@1.3",
Jimmy Chen1bdf1a72019-12-23 17:53:40 +020067 "android.hardware.wifi@1.4",
68 "android.hardware.wifi@1.5",
Nate Jiangac6d14d2020-05-14 18:06:26 -070069 "libwifi-system-iface",
Etan Cohena49579b2017-03-10 10:43:31 -080070 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -070071 test_suites: [
72 "general-tests",
73 "vts",
74 ],
Etan Cohena49579b2017-03-10 10:43:31 -080075}
76
Patrik Fimmlc37306e2019-10-08 14:07:57 +020077// These tests are split out so that they can be conditioned on presence of the
78// "android.hardware.wifi.aware" feature.
Etan Cohena49579b2017-03-10 10:43:31 -080079cc_test {
80 name: "VtsHalWifiNanV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070081 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070082 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +020083 "wifi_chip_hidl_nan_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070084 "wifi_nan_iface_hidl_test.cpp",
Etan Cohena49579b2017-03-10 10:43:31 -080085 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070086 static_libs: [
87 "VtsHalWifiV1_0TargetTestUtil",
88 "android.hardware.wifi@1.0",
Nate Jiang3ec67812020-08-24 11:04:31 -070089 "android.hardware.wifi@1.1",
90 "android.hardware.wifi@1.2",
91 "android.hardware.wifi@1.3",
92 "android.hardware.wifi@1.4",
93 "android.hardware.wifi@1.5",
Nate Jiangac6d14d2020-05-14 18:06:26 -070094 "libwifi-system-iface",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080095 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -070096 test_suites: [
97 "general-tests",
98 "vts",
99 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -0800100}
Patrik Fimmlc37306e2019-10-08 14:07:57 +0200101
102// These tests are split out so that they can be conditioned on presence of
103// the hostapd HAL, which indicates SoftAP support.
104cc_test {
105 name: "VtsHalWifiApV1_0TargetTest",
106 defaults: ["VtsHalTargetTestDefaults"],
107 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +0200108 "wifi_ap_iface_hidl_test.cpp",
109 "wifi_chip_hidl_ap_test.cpp",
110 ],
111 static_libs: [
112 "VtsHalWifiV1_0TargetTestUtil",
113 "android.hardware.wifi@1.0",
Roshan Pius274eadd2020-09-16 13:51:11 -0700114 "android.hardware.wifi.hostapd@1.0",
Nate Jiangac6d14d2020-05-14 18:06:26 -0700115 "libwifi-system-iface",
Patrik Fimmlc37306e2019-10-08 14:07:57 +0200116 ],
Roshan Pius274eadd2020-09-16 13:51:11 -0700117 disable_framework: true,
Nate Jiangac6d14d2020-05-14 18:06:26 -0700118 test_suites: [
119 "general-tests",
120 "vts",
121 ],
Patrik Fimmlc37306e2019-10-08 14:07:57 +0200122}