blob: c1618a42656164fc2df12ee2f1b9be72e801b639 [file] [log] [blame]
Patrik Fimmlc919f962019-09-11 14:31:56 +02001//
2// Copyright (C) 2019 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
17cc_test {
Roshan Pius0076dae2020-09-16 13:51:11 -070018 name: "VtsHalWifiV1_4TargetTest",
Patrik Fimmlc919f962019-09-11 14:31:56 +020019 defaults: ["VtsHalTargetTestDefaults"],
20 srcs: [
Ahmed ElArabawy83baffd2019-11-15 19:20:41 -080021 "wifi_chip_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070022 ],
23 static_libs: [
24 "VtsHalWifiV1_0TargetTestUtil",
25 "android.hardware.wifi@1.0",
26 "android.hardware.wifi@1.1",
27 "android.hardware.wifi@1.2",
28 "android.hardware.wifi@1.3",
29 "android.hardware.wifi@1.4",
30 "libwifi-system-iface",
31 ],
32 test_suites: [
33 "general-tests",
34 "vts",
35 ],
36}
37
Roshan Pius0076dae2020-09-16 13:51:11 -070038// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
39cc_test {
40 name: "VtsHalWifiApV1_4TargetTest",
41 defaults: ["VtsHalTargetTestDefaults"],
42 srcs: [
43 "wifi_ap_iface_hidl_test.cpp",
44 ],
45 static_libs: [
46 "VtsHalWifiV1_0TargetTestUtil",
47 "android.hardware.wifi@1.0",
48 "android.hardware.wifi@1.1",
49 "android.hardware.wifi@1.2",
50 "android.hardware.wifi@1.3",
51 "android.hardware.wifi@1.4",
52 "android.hardware.wifi.hostapd@1.0",
53 "libwifi-system-iface",
54 ],
55 disable_framework: true,
56 test_suites: [
57 "general-tests",
58 "vts",
59 ],
60}
61
Nate Jiang9ecaa482020-05-12 17:29:14 -070062// These tests are split out so that they can be conditioned on presence of the
63// "android.hardware.wifi.aware" feature.
64cc_test {
65 name: "VtsHalWifiNanV1_4TargetTest",
66 defaults: ["VtsHalTargetTestDefaults"],
67 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080068 "wifi_nan_iface_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070069 ],
70 static_libs: [
71 "VtsHalWifiV1_0TargetTestUtil",
72 "android.hardware.wifi@1.0",
73 "android.hardware.wifi@1.1",
74 "android.hardware.wifi@1.2",
75 "android.hardware.wifi@1.3",
76 "android.hardware.wifi@1.4",
77 "libwifi-system-iface",
78 ],
79 test_suites: [
80 "general-tests",
81 "vts",
82 ],
83}
84
85// These tests are split out so that they can be conditioned on presence of the
86// "android.hardware.wifi.rtt" feature.
87cc_test {
88 name: "VtsHalWifiRttV1_4TargetTest",
89 defaults: ["VtsHalTargetTestDefaults"],
90 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080091 "wifi_rtt_controller_hidl_test.cpp",
Patrik Fimmlc919f962019-09-11 14:31:56 +020092 ],
93 static_libs: [
94 "VtsHalWifiV1_0TargetTestUtil",
95 "android.hardware.wifi@1.0",
96 "android.hardware.wifi@1.1",
97 "android.hardware.wifi@1.2",
98 "android.hardware.wifi@1.3",
99 "android.hardware.wifi@1.4",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800100 "libwifi-system-iface",
Patrik Fimmlc919f962019-09-11 14:31:56 +0200101 ],
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800102 test_suites: [
103 "general-tests",
Dan Shiaad51fa2020-04-05 14:34:48 -0700104 "vts",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800105 ],
Patrik Fimmlc919f962019-09-11 14:31:56 +0200106}