1//
2// Copyright (C) 2020 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
17package {
18    default_team: "trendy_team_fwk_wifi_hal",
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
27cc_library_static {
28    name: "VtsHalWifiSupplicantV1_4TargetTestUtil",
29    defaults: ["VtsHalTargetTestDefaults"],
30    srcs: ["supplicant_hidl_test_utils_1_4.cpp"],
31    export_include_dirs: [
32        ".",
33    ],
34    static_libs: [
35        "VtsHalWifiV1_0TargetTestUtil",
36        "VtsHalWifiSupplicantV1_0TargetTestUtil",
37        "VtsHalWifiSupplicantV1_1TargetTestUtil",
38        "VtsHalWifiSupplicantV1_2TargetTestUtil",
39        "VtsHalWifiSupplicantV1_3TargetTestUtil",
40        "android.hardware.wifi.supplicant@1.0",
41        "android.hardware.wifi.supplicant@1.1",
42        "android.hardware.wifi.supplicant@1.2",
43        "android.hardware.wifi.supplicant@1.3",
44        "android.hardware.wifi.supplicant@1.4",
45        "android.hardware.wifi@1.0",
46        "libgmock",
47        "libwifi-system",
48        "libwifi-system-iface",
49    ],
50}
51
52cc_test {
53    name: "VtsHalWifiSupplicantV1_4TargetTest",
54    defaults: ["VtsHalTargetTestDefaults"],
55    srcs: [
56        "supplicant_sta_iface_hidl_test.cpp",
57        "supplicant_sta_network_hidl_test.cpp",
58    ],
59    static_libs: [
60        "VtsHalWifiV1_0TargetTestUtil",
61        "VtsHalWifiSupplicantV1_0TargetTestUtil",
62        "VtsHalWifiSupplicantV1_1TargetTestUtil",
63        "VtsHalWifiSupplicantV1_2TargetTestUtil",
64        "VtsHalWifiSupplicantV1_3TargetTestUtil",
65        "VtsHalWifiSupplicantV1_4TargetTestUtil",
66        "android.hardware.wifi.supplicant@1.0",
67        "android.hardware.wifi.supplicant@1.1",
68        "android.hardware.wifi.supplicant@1.2",
69        "android.hardware.wifi.supplicant@1.3",
70        "android.hardware.wifi.supplicant@1.4",
71        "android.hardware.wifi@1.0",
72        "android.hardware.wifi@1.1",
73        "libgmock",
74        "libwifi-system",
75        "libwifi-system-iface",
76    ],
77    test_suites: [
78        "general-tests",
79        "vts",
80    ],
81}
82
83cc_test {
84    name: "VtsHalWifiSupplicantP2pV1_4TargetTest",
85    defaults: ["VtsHalTargetTestDefaults"],
86    srcs: [
87        "supplicant_p2p_iface_hidl_test.cpp",
88    ],
89    static_libs: [
90        "VtsHalWifiV1_0TargetTestUtil",
91        "VtsHalWifiSupplicantV1_0TargetTestUtil",
92        "VtsHalWifiSupplicantV1_1TargetTestUtil",
93        "VtsHalWifiSupplicantV1_2TargetTestUtil",
94        "VtsHalWifiSupplicantV1_3TargetTestUtil",
95        "VtsHalWifiSupplicantV1_4TargetTestUtil",
96        "android.hardware.wifi.supplicant@1.0",
97        "android.hardware.wifi.supplicant@1.1",
98        "android.hardware.wifi.supplicant@1.2",
99        "android.hardware.wifi.supplicant@1.3",
100        "android.hardware.wifi.supplicant@1.4",
101        "android.hardware.wifi@1.0",
102        "android.hardware.wifi@1.1",
103        "libgmock",
104        "libwifi-system",
105        "libwifi-system-iface",
106    ],
107    test_suites: [
108        "general-tests",
109        "vts",
110    ],
111}
112