blob: 25dd2402030f9468dcb118cc807f423d522e5758 [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",
33 ],
Etan Cohena49579b2017-03-10 10:43:31 -080034}
35
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080036cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080037 name: "VtsHalWifiV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070038 defaults: ["VtsHalTargetTestDefaults"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080039 srcs: [
Etan Cohen2d523c02017-03-23 08:11:47 -070040 "VtsHalWifiV1_0TargetTest.cpp",
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",
Etan Cohena49579b2017-03-10 10:43:31 -080052 ],
Dan Shi336fe462019-11-08 11:17:11 -080053 test_suites: ["general-tests", "vts-core"],
Etan Cohena49579b2017-03-10 10:43:31 -080054}
55
Patrik Fimmlc37306e2019-10-08 14:07:57 +020056// These tests are split out so that they can be conditioned on presence of the
57// "android.hardware.wifi.aware" feature.
Etan Cohena49579b2017-03-10 10:43:31 -080058cc_test {
59 name: "VtsHalWifiNanV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070060 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070061 srcs: [
62 "VtsHalWifiV1_0TargetTest.cpp",
Patrik Fimmlc37306e2019-10-08 14:07:57 +020063 "wifi_chip_hidl_nan_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070064 "wifi_nan_iface_hidl_test.cpp",
Etan Cohena49579b2017-03-10 10:43:31 -080065 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070066 static_libs: [
67 "VtsHalWifiV1_0TargetTestUtil",
68 "android.hardware.wifi@1.0",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080069 ],
Dan Shi336fe462019-11-08 11:17:11 -080070 test_suites: ["general-tests", "vts-core"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080071}
Patrik Fimmlc37306e2019-10-08 14:07:57 +020072
73// These tests are split out so that they can be conditioned on presence of
74// the hostapd HAL, which indicates SoftAP support.
75cc_test {
76 name: "VtsHalWifiApV1_0TargetTest",
77 defaults: ["VtsHalTargetTestDefaults"],
78 srcs: [
79 "VtsHalWifiV1_0TargetTest.cpp",
80 "wifi_ap_iface_hidl_test.cpp",
81 "wifi_chip_hidl_ap_test.cpp",
82 ],
83 static_libs: [
84 "VtsHalWifiV1_0TargetTestUtil",
85 "android.hardware.wifi@1.0",
86 ],
Dan Shi336fe462019-11-08 11:17:11 -080087 test_suites: ["general-tests", "vts-core"],
Patrik Fimmlc37306e2019-10-08 14:07:57 +020088}