xref: /aosp_15_r20/hardware/interfaces/wifi/supplicant/1.4/vts/functional/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
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        "[email protected]",
41        "[email protected]",
42        "[email protected]",
43        "[email protected]",
44        "[email protected]",
45        "[email protected]",
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        "[email protected]",
67        "[email protected]",
68        "[email protected]",
69        "[email protected]",
70        "[email protected]",
71        "[email protected]",
72        "[email protected]",
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        "[email protected]",
97        "[email protected]",
98        "[email protected]",
99        "[email protected]",
100        "[email protected]",
101        "[email protected]",
102        "[email protected]",
103        "libgmock",
104        "libwifi-system",
105        "libwifi-system-iface",
106    ],
107    test_suites: [
108        "general-tests",
109        "vts",
110    ],
111}
112