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