blob: 30512a9f1a1021cc50489e472f41bb0a6b3a73aa [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
Etan Cohena49579b2017-03-10 10:43:31 -080017cc_library_static {
18 name: "VtsHalWifiV1_0TargetTestUtil",
Yuexi Mad56539e2018-03-21 10:47:22 -070019 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohena49579b2017-03-10 10:43:31 -080020 srcs: [
Etan Cohena49579b2017-03-10 10:43:31 -080021 "wifi_hidl_call_util_selftest.cpp",
22 "wifi_hidl_test.cpp",
Zhuoyao Zhang308f1532018-02-08 21:17:39 -080023 "wifi_hidl_test_utils.cpp",
24 ],
Roshan Piusdbd83ef2017-06-20 12:05:40 -070025 export_include_dirs: [
Nate Jiangac6d14d2020-05-14 18:06:26 -070026 ".",
Roshan Piusdbd83ef2017-06-20 12:05:40 -070027 ],
Etan Cohena49579b2017-03-10 10:43:31 -080028 shared_libs: [
Etan Cohena49579b2017-03-10 10:43:31 -080029 "libnativehelper",
Etan Cohena49579b2017-03-10 10:43:31 -080030 ],
Patrik Fimmlc37306e2019-10-08 14:07:57 +020031 static_libs: [
32 "android.hardware.wifi@1.0",
Jimmy Chen1bdf1a72019-12-23 17:53:40 +020033 "android.hardware.wifi@1.3",
34 "android.hardware.wifi@1.5",
Nate Jiangac6d14d2020-05-14 18:06:26 -070035 "libwifi-system-iface",
Patrik Fimmlc37306e2019-10-08 14:07:57 +020036 ],
Etan Cohena49579b2017-03-10 10:43:31 -080037}
38
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080039cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080040 name: "VtsHalWifiV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070041 defaults: ["VtsHalTargetTestDefaults"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080042 srcs: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080043 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080044 "wifi_p2p_iface_hidl_test.cpp",
45 "wifi_rtt_controller_hidl_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070046 "wifi_sta_iface_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080047 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070048 static_libs: [
49 "VtsHalWifiV1_0TargetTestUtil",
50 "android.hardware.wifi@1.0",
Ahmed ElArabawyaa1e6b02019-01-02 10:07:05 -080051 "android.hardware.wifi@1.1",
xshu344ab2a2018-10-16 11:44:04 -070052 "android.hardware.wifi@1.2",
53 "android.hardware.wifi@1.3",
Jimmy Chen1bdf1a72019-12-23 17:53:40 +020054 "android.hardware.wifi@1.4",
55 "android.hardware.wifi@1.5",
Nate Jiangac6d14d2020-05-14 18:06:26 -070056 "libwifi-system-iface",
Etan Cohena49579b2017-03-10 10:43:31 -080057 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -070058 test_suites: [
59 "general-tests",
60 "vts",
61 ],
Etan Cohena49579b2017-03-10 10:43:31 -080062}
63
Patrik Fimmlc37306e2019-10-08 14:07:57 +020064// These tests are split out so that they can be conditioned on presence of the
65// "android.hardware.wifi.aware" feature.
Etan Cohena49579b2017-03-10 10:43:31 -080066cc_test {
67 name: "VtsHalWifiNanV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070068 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070069 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +020070 "wifi_chip_hidl_nan_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070071 "wifi_nan_iface_hidl_test.cpp",
Etan Cohena49579b2017-03-10 10:43:31 -080072 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070073 static_libs: [
74 "VtsHalWifiV1_0TargetTestUtil",
75 "android.hardware.wifi@1.0",
Nate Jiang3ec67812020-08-24 11:04:31 -070076 "android.hardware.wifi@1.1",
77 "android.hardware.wifi@1.2",
78 "android.hardware.wifi@1.3",
79 "android.hardware.wifi@1.4",
80 "android.hardware.wifi@1.5",
Nate Jiangac6d14d2020-05-14 18:06:26 -070081 "libwifi-system-iface",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080082 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -070083 test_suites: [
84 "general-tests",
85 "vts",
86 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080087}
Patrik Fimmlc37306e2019-10-08 14:07:57 +020088
89// These tests are split out so that they can be conditioned on presence of
90// the hostapd HAL, which indicates SoftAP support.
91cc_test {
92 name: "VtsHalWifiApV1_0TargetTest",
93 defaults: ["VtsHalTargetTestDefaults"],
94 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +020095 "wifi_ap_iface_hidl_test.cpp",
96 "wifi_chip_hidl_ap_test.cpp",
97 ],
98 static_libs: [
99 "VtsHalWifiV1_0TargetTestUtil",
100 "android.hardware.wifi@1.0",
Nate Jiangac6d14d2020-05-14 18:06:26 -0700101 "libwifi-system-iface",
Patrik Fimmlc37306e2019-10-08 14:07:57 +0200102 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -0700103 test_suites: [
104 "general-tests",
105 "vts",
106 ],
Patrik Fimmlc37306e2019-10-08 14:07:57 +0200107}