blob: 44ae962ee4f6b29b6817f0a01fbd7aea25f4a089 [file] [log] [blame]
Jimmy Chena772e8b2019-01-04 17:25:04 +08001//
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
Bob Badourb224b362021-02-12 20:13:01 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "hardware_interfaces_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
Jimmy Chena772e8b2019-01-04 17:25:04 +080026cc_library_static {
27 name: "VtsHalWifiSupplicantV1_2TargetTestUtil",
28 defaults: ["VtsHalTargetTestDefaults"],
29 srcs: ["supplicant_hidl_test_utils_1_2.cpp"],
30 export_include_dirs: [
Dan Shid6436732019-11-05 13:11:18 -080031 ".",
Jimmy Chena772e8b2019-01-04 17:25:04 +080032 ],
33 static_libs: [
34 "VtsHalWifiV1_0TargetTestUtil",
35 "VtsHalWifiSupplicantV1_0TargetTestUtil",
36 "VtsHalWifiSupplicantV1_1TargetTestUtil",
37 "android.hardware.wifi.supplicant@1.0",
38 "android.hardware.wifi.supplicant@1.1",
39 "android.hardware.wifi.supplicant@1.2",
40 "android.hardware.wifi@1.0",
Jimmy Chena772e8b2019-01-04 17:25:04 +080041 "libgmock",
42 "libwifi-system",
43 "libwifi-system-iface",
44 ],
45}
46
47cc_test {
Hai Shalom998d7362019-01-14 13:08:14 -080048 name: "VtsHalWifiSupplicantV1_2TargetTest",
49 defaults: ["VtsHalTargetTestDefaults"],
50 srcs: [
Hai Shalom998d7362019-01-14 13:08:14 -080051 "supplicant_sta_iface_hidl_test.cpp",
52 "supplicant_sta_network_hidl_test.cpp",
53 ],
54 static_libs: [
55 "VtsHalWifiV1_0TargetTestUtil",
56 "VtsHalWifiSupplicantV1_0TargetTestUtil",
57 "VtsHalWifiSupplicantV1_1TargetTestUtil",
58 "VtsHalWifiSupplicantV1_2TargetTestUtil",
59 "android.hardware.wifi.supplicant@1.0",
60 "android.hardware.wifi.supplicant@1.1",
61 "android.hardware.wifi.supplicant@1.2",
Hai Shaloma94e59a2019-12-20 14:29:47 -080062 "android.hardware.wifi.supplicant@1.3",
Hai Shalom998d7362019-01-14 13:08:14 -080063 "android.hardware.wifi@1.0",
64 "android.hardware.wifi@1.1",
Hai Shalom998d7362019-01-14 13:08:14 -080065 "libgmock",
66 "libwifi-system",
67 "libwifi-system-iface",
68 ],
Dan Shid6436732019-11-05 13:11:18 -080069 test_suites: [
70 "general-tests",
Nate Jiang9b7015c2020-05-14 18:06:26 -070071 "vts",
Dan Shid6436732019-11-05 13:11:18 -080072 ],
Hai Shalom998d7362019-01-14 13:08:14 -080073}
74
75cc_test {
Jimmy Chena772e8b2019-01-04 17:25:04 +080076 name: "VtsHalWifiSupplicantP2pV1_2TargetTest",
77 defaults: ["VtsHalTargetTestDefaults"],
78 srcs: [
Jimmy Chena772e8b2019-01-04 17:25:04 +080079 "supplicant_p2p_iface_hidl_test.cpp",
80 ],
81 static_libs: [
82 "VtsHalWifiV1_0TargetTestUtil",
83 "VtsHalWifiSupplicantV1_0TargetTestUtil",
84 "VtsHalWifiSupplicantV1_1TargetTestUtil",
85 "VtsHalWifiSupplicantV1_2TargetTestUtil",
86 "android.hardware.wifi.supplicant@1.0",
87 "android.hardware.wifi.supplicant@1.1",
88 "android.hardware.wifi.supplicant@1.2",
89 "android.hardware.wifi@1.0",
Hai Shalom998d7362019-01-14 13:08:14 -080090 "android.hardware.wifi@1.1",
Jimmy Chena772e8b2019-01-04 17:25:04 +080091 "libgmock",
92 "libwifi-system",
93 "libwifi-system-iface",
94 ],
Dan Shid6436732019-11-05 13:11:18 -080095 test_suites: [
96 "general-tests",
Nate Jiang9b7015c2020-05-14 18:06:26 -070097 "vts",
Dan Shid6436732019-11-05 13:11:18 -080098 ],
Jimmy Chena772e8b2019-01-04 17:25:04 +080099}