blob: 14ebbe3bb8fc3cec690f7a24b9f64ea3f670b8e9 [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.
Bob Badourc22b35b2021-02-23 14:26:20 -080018package {
19 // See: http://go/android-license-faq
20 // A large-scale-change added 'default_applicable_licenses' to import
21 // all of the 'license_kinds' from "hardware_interfaces_license"
22 // to get the below license kinds:
23 // SPDX-license-identifier-Apache-2.0
24 default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
Patrik Fimmlc919f962019-09-11 14:31:56 +020027cc_test {
Patrik Fimmlc37306e2019-10-08 14:07:57 +020028 name: "VtsHalWifiApV1_4TargetTest",
Patrik Fimmlc919f962019-09-11 14:31:56 +020029 defaults: ["VtsHalTargetTestDefaults"],
30 srcs: [
Patrik Fimmlc919f962019-09-11 14:31:56 +020031 "wifi_ap_iface_hidl_test.cpp",
Ahmed ElArabawy83baffd2019-11-15 19:20:41 -080032 "wifi_chip_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070033 ],
34 static_libs: [
35 "VtsHalWifiV1_0TargetTestUtil",
36 "android.hardware.wifi@1.0",
37 "android.hardware.wifi@1.1",
38 "android.hardware.wifi@1.2",
39 "android.hardware.wifi@1.3",
40 "android.hardware.wifi@1.4",
41 "libwifi-system-iface",
42 ],
43 test_suites: [
44 "general-tests",
45 "vts",
46 ],
47}
48
49// These tests are split out so that they can be conditioned on presence of the
50// "android.hardware.wifi.aware" feature.
51cc_test {
52 name: "VtsHalWifiNanV1_4TargetTest",
53 defaults: ["VtsHalTargetTestDefaults"],
54 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080055 "wifi_nan_iface_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070056 ],
57 static_libs: [
58 "VtsHalWifiV1_0TargetTestUtil",
59 "android.hardware.wifi@1.0",
60 "android.hardware.wifi@1.1",
61 "android.hardware.wifi@1.2",
62 "android.hardware.wifi@1.3",
63 "android.hardware.wifi@1.4",
Nate Jiang3ec67812020-08-24 11:04:31 -070064 "android.hardware.wifi@1.5",
Nate Jiang9ecaa482020-05-12 17:29:14 -070065 "libwifi-system-iface",
66 ],
67 test_suites: [
68 "general-tests",
69 "vts",
70 ],
71}
72
73// These tests are split out so that they can be conditioned on presence of the
74// "android.hardware.wifi.rtt" feature.
75cc_test {
76 name: "VtsHalWifiRttV1_4TargetTest",
77 defaults: ["VtsHalTargetTestDefaults"],
78 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080079 "wifi_rtt_controller_hidl_test.cpp",
Patrik Fimmlc919f962019-09-11 14:31:56 +020080 ],
81 static_libs: [
82 "VtsHalWifiV1_0TargetTestUtil",
83 "android.hardware.wifi@1.0",
84 "android.hardware.wifi@1.1",
85 "android.hardware.wifi@1.2",
86 "android.hardware.wifi@1.3",
87 "android.hardware.wifi@1.4",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080088 "libwifi-system-iface",
Patrik Fimmlc919f962019-09-11 14:31:56 +020089 ],
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080090 test_suites: [
91 "general-tests",
Dan Shi3a8a6502020-03-26 00:06:39 -070092 "vts",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080093 ],
Patrik Fimmlc919f962019-09-11 14:31:56 +020094}