blob: f3068f2aad6fb2e8091089451124a7242589ed37 [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: [
26 "."
27 ],
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",
Roshan Pius16c43fb2019-11-13 11:06:14 -080033 "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: [
Etan Cohen2d523c02017-03-23 08:11:47 -070041 "VtsHalWifiV1_0TargetTest.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080042 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080043 "wifi_p2p_iface_hidl_test.cpp",
44 "wifi_rtt_controller_hidl_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070045 "wifi_sta_iface_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080046 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070047 static_libs: [
48 "VtsHalWifiV1_0TargetTestUtil",
49 "android.hardware.wifi@1.0",
Ahmed ElArabawyaa1e6b02019-01-02 10:07:05 -080050 "android.hardware.wifi@1.1",
xshu344ab2a2018-10-16 11:44:04 -070051 "android.hardware.wifi@1.2",
52 "android.hardware.wifi@1.3",
Roshan Pius16c43fb2019-11-13 11:06:14 -080053 "libwifi-system-iface"
Etan Cohena49579b2017-03-10 10:43:31 -080054 ],
Keun Soo YIMff84c372018-11-27 14:04:42 -080055 test_suites: ["general-tests"],
Etan Cohena49579b2017-03-10 10:43:31 -080056}
57
Patrik Fimmlc37306e2019-10-08 14:07:57 +020058// These tests are split out so that they can be conditioned on presence of the
59// "android.hardware.wifi.aware" feature.
Etan Cohena49579b2017-03-10 10:43:31 -080060cc_test {
61 name: "VtsHalWifiNanV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070062 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070063 srcs: [
64 "VtsHalWifiV1_0TargetTest.cpp",
Patrik Fimmlc37306e2019-10-08 14:07:57 +020065 "wifi_chip_hidl_nan_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070066 "wifi_nan_iface_hidl_test.cpp",
Etan Cohena49579b2017-03-10 10:43:31 -080067 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070068 static_libs: [
69 "VtsHalWifiV1_0TargetTestUtil",
70 "android.hardware.wifi@1.0",
Roshan Pius16c43fb2019-11-13 11:06:14 -080071 "libwifi-system-iface"
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080072 ],
Keun Soo YIMff84c372018-11-27 14:04:42 -080073 test_suites: ["general-tests"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080074}
Patrik Fimmlc37306e2019-10-08 14:07:57 +020075
76// These tests are split out so that they can be conditioned on presence of
77// the hostapd HAL, which indicates SoftAP support.
78cc_test {
79 name: "VtsHalWifiApV1_0TargetTest",
80 defaults: ["VtsHalTargetTestDefaults"],
81 srcs: [
82 "VtsHalWifiV1_0TargetTest.cpp",
83 "wifi_ap_iface_hidl_test.cpp",
84 "wifi_chip_hidl_ap_test.cpp",
85 ],
86 static_libs: [
87 "VtsHalWifiV1_0TargetTestUtil",
88 "android.hardware.wifi@1.0",
Roshan Pius16c43fb2019-11-13 11:06:14 -080089 "libwifi-system-iface"
Patrik Fimmlc37306e2019-10-08 14:07:57 +020090 ],
91 test_suites: ["general-tests"],
92}