blob: 0051d27d6b038a95dc80ce247c2ea2c36436b3a0 [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",
Nate Jiang3ec67812020-08-24 11:04:31 -070055 "android.hardware.wifi@1.5",
Nate Jiang9ecaa482020-05-12 17:29:14 -070056 "libwifi-system-iface",
57 ],
58 test_suites: [
59 "general-tests",
60 "vts",
61 ],
62}
63
64// These tests are split out so that they can be conditioned on presence of the
65// "android.hardware.wifi.rtt" feature.
66cc_test {
67 name: "VtsHalWifiRttV1_4TargetTest",
68 defaults: ["VtsHalTargetTestDefaults"],
69 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080070 "wifi_rtt_controller_hidl_test.cpp",
Patrik Fimmlc919f962019-09-11 14:31:56 +020071 ],
72 static_libs: [
73 "VtsHalWifiV1_0TargetTestUtil",
74 "android.hardware.wifi@1.0",
75 "android.hardware.wifi@1.1",
76 "android.hardware.wifi@1.2",
77 "android.hardware.wifi@1.3",
78 "android.hardware.wifi@1.4",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080079 "libwifi-system-iface",
Patrik Fimmlc919f962019-09-11 14:31:56 +020080 ],
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080081 test_suites: [
82 "general-tests",
Dan Shi3a8a6502020-03-26 00:06:39 -070083 "vts",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080084 ],
Patrik Fimmlc919f962019-09-11 14:31:56 +020085}