• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2021 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_defaults {
28    name: "supplicant_vts_test_defaults",
29    defaults: [
30        "VtsHalTargetTestDefaults",
31        "use_libaidlvintf_gtest_helper_static",
32    ],
33    shared_libs: [
34        "libbinder",
35        "libbinder_ndk",
36        "libvndksupport",
37    ],
38    static_libs: [
39        "android.hardware.wifi@1.0",
40        "android.hardware.wifi@1.1",
41        "android.hardware.wifi@1.2",
42        "android.hardware.wifi@1.3",
43        "android.hardware.wifi@1.4",
44        "android.hardware.wifi@1.5",
45        "android.hardware.wifi.common-V2-ndk",
46        "android.hardware.wifi.supplicant@1.0",
47        "android.hardware.wifi.supplicant@1.1",
48        "android.hardware.wifi.supplicant-V4-ndk",
49        "libwifi-system",
50        "libwifi-system-iface",
51        "VtsHalWifiV1_0TargetTestUtil",
52        "VtsHalWifiV1_5TargetTestUtil",
53        "VtsHalWifiSupplicantV1_0TargetTestUtil",
54        "android.hardware.wifi.common-V2-ndk",
55        "android.hardware.wifi-V3-ndk",
56        "VtsHalWifiTargetTestUtil",
57    ],
58    test_suites: [
59        "general-tests",
60        "vts",
61    ],
62}
63
64cc_test {
65    name: "VtsHalWifiSupplicantStaIfaceTargetTest",
66    defaults: ["supplicant_vts_test_defaults"],
67    srcs: ["supplicant_sta_iface_aidl_test.cpp"],
68}
69
70cc_test {
71    name: "VtsHalWifiSupplicantStaNetworkTargetTest",
72    defaults: ["supplicant_vts_test_defaults"],
73    srcs: ["supplicant_sta_network_aidl_test.cpp"],
74}
75
76cc_test {
77    name: "VtsHalWifiSupplicantP2pIfaceTargetTest",
78    defaults: ["supplicant_vts_test_defaults"],
79    srcs: ["supplicant_p2p_iface_aidl_test.cpp"],
80}
81
82cc_test {
83    name: "VtsHalWifiSupplicantP2pNetworkTargetTest",
84    defaults: ["supplicant_vts_test_defaults"],
85    srcs: ["supplicant_p2p_network_aidl_test.cpp"],
86}
87
88cc_test {
89    name: "VtsHalWifiSupplicantTargetTest",
90    defaults: ["supplicant_vts_test_defaults"],
91    srcs: ["supplicant_aidl_test.cpp"],
92}
93