blob: 59a35e0262c4c703d064dba127c5e0a335af8c16 [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
Patrik Fimmlc37306e2019-10-08 14:07:57 +020017// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
Patrik Fimmlc919f962019-09-11 14:31:56 +020018cc_test {
Patrik Fimmlc37306e2019-10-08 14:07:57 +020019 name: "VtsHalWifiApV1_4TargetTest",
Patrik Fimmlc919f962019-09-11 14:31:56 +020020 defaults: ["VtsHalTargetTestDefaults"],
21 srcs: [
Patrik Fimmlc919f962019-09-11 14:31:56 +020022 "wifi_ap_iface_hidl_test.cpp",
Ahmed ElArabawy83baffd2019-11-15 19:20:41 -080023 "wifi_chip_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070024 ],
25 static_libs: [
26 "VtsHalWifiV1_0TargetTestUtil",
27 "android.hardware.wifi@1.0",
28 "android.hardware.wifi@1.1",
29 "android.hardware.wifi@1.2",
30 "android.hardware.wifi@1.3",
31 "android.hardware.wifi@1.4",
32 "libwifi-system-iface",
33 ],
34 test_suites: [
35 "general-tests",
36 "vts",
37 ],
38}
39
40// These tests are split out so that they can be conditioned on presence of the
41// "android.hardware.wifi.aware" feature.
42cc_test {
43 name: "VtsHalWifiNanV1_4TargetTest",
44 defaults: ["VtsHalTargetTestDefaults"],
45 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080046 "wifi_nan_iface_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070047 ],
48 static_libs: [
49 "VtsHalWifiV1_0TargetTestUtil",
50 "android.hardware.wifi@1.0",
51 "android.hardware.wifi@1.1",
52 "android.hardware.wifi@1.2",
53 "android.hardware.wifi@1.3",
54 "android.hardware.wifi@1.4",
55 "libwifi-system-iface",
56 ],
57 test_suites: [
58 "general-tests",
59 "vts",
60 ],
61}
62
63// These tests are split out so that they can be conditioned on presence of the
64// "android.hardware.wifi.rtt" feature.
65cc_test {
66 name: "VtsHalWifiRttV1_4TargetTest",
67 defaults: ["VtsHalTargetTestDefaults"],
68 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080069 "wifi_rtt_controller_hidl_test.cpp",
Patrik Fimmlc919f962019-09-11 14:31:56 +020070 ],
71 static_libs: [
72 "VtsHalWifiV1_0TargetTestUtil",
73 "android.hardware.wifi@1.0",
74 "android.hardware.wifi@1.1",
75 "android.hardware.wifi@1.2",
76 "android.hardware.wifi@1.3",
77 "android.hardware.wifi@1.4",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080078 "libwifi-system-iface",
Patrik Fimmlc919f962019-09-11 14:31:56 +020079 ],
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080080 test_suites: [
81 "general-tests",
Dan Shiaad51fa2020-04-05 14:34:48 -070082 "vts",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080083 ],
Patrik Fimmlc919f962019-09-11 14:31:56 +020084}