blob: 14a8509718a0ae7f8326de973c21a0f016e9a197 [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",
Nate Jiangac6d14d2020-05-14 18:06:26 -070033 "libwifi-system-iface",
Patrik Fimmlc37306e2019-10-08 14:07:57 +020034 ],
Etan Cohena49579b2017-03-10 10:43:31 -080035}
36
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080037cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080038 name: "VtsHalWifiV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070039 defaults: ["VtsHalTargetTestDefaults"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080040 srcs: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080041 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080042 "wifi_p2p_iface_hidl_test.cpp",
43 "wifi_rtt_controller_hidl_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070044 "wifi_sta_iface_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080045 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070046 static_libs: [
47 "VtsHalWifiV1_0TargetTestUtil",
48 "android.hardware.wifi@1.0",
Ahmed ElArabawyaa1e6b02019-01-02 10:07:05 -080049 "android.hardware.wifi@1.1",
xshu344ab2a2018-10-16 11:44:04 -070050 "android.hardware.wifi@1.2",
51 "android.hardware.wifi@1.3",
Nate Jiangac6d14d2020-05-14 18:06:26 -070052 "libwifi-system-iface",
Etan Cohena49579b2017-03-10 10:43:31 -080053 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -070054 test_suites: [
55 "general-tests",
56 "vts",
57 ],
Etan Cohena49579b2017-03-10 10:43:31 -080058}
59
Patrik Fimmlc37306e2019-10-08 14:07:57 +020060// These tests are split out so that they can be conditioned on presence of the
61// "android.hardware.wifi.aware" feature.
Etan Cohena49579b2017-03-10 10:43:31 -080062cc_test {
63 name: "VtsHalWifiNanV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070064 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070065 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +020066 "wifi_chip_hidl_nan_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070067 "wifi_nan_iface_hidl_test.cpp",
Etan Cohena49579b2017-03-10 10:43:31 -080068 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070069 static_libs: [
70 "VtsHalWifiV1_0TargetTestUtil",
71 "android.hardware.wifi@1.0",
Nate Jiangac6d14d2020-05-14 18:06:26 -070072 "libwifi-system-iface",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080073 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -070074 test_suites: [
75 "general-tests",
76 "vts",
77 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080078}
Patrik Fimmlc37306e2019-10-08 14:07:57 +020079
80// These tests are split out so that they can be conditioned on presence of
81// the hostapd HAL, which indicates SoftAP support.
82cc_test {
83 name: "VtsHalWifiApV1_0TargetTest",
84 defaults: ["VtsHalTargetTestDefaults"],
85 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +020086 "wifi_ap_iface_hidl_test.cpp",
87 "wifi_chip_hidl_ap_test.cpp",
88 ],
89 static_libs: [
90 "VtsHalWifiV1_0TargetTestUtil",
91 "android.hardware.wifi@1.0",
Nate Jiangac6d14d2020-05-14 18:06:26 -070092 "libwifi-system-iface",
Patrik Fimmlc37306e2019-10-08 14:07:57 +020093 ],
Nate Jiangac6d14d2020-05-14 18:06:26 -070094 test_suites: [
95 "general-tests",
96 "vts",
97 ],
Patrik Fimmlc37306e2019-10-08 14:07:57 +020098}