• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2022 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: "wifi_vendor_hal_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        "VtsHalWifiTargetTestUtil",
40        "android.hardware.wifi.common-V2-ndk",
41        "android.hardware.wifi-V3-ndk",
42        "libwifi-system-iface",
43    ],
44    test_suites: [
45        "general-tests",
46        "vts",
47    ],
48}
49
50cc_test {
51    name: "VtsHalWifiTargetTest",
52    defaults: ["wifi_vendor_hal_vts_test_defaults"],
53    srcs: ["wifi_aidl_test.cpp"],
54}
55
56cc_test {
57    name: "VtsHalWifiChipTargetTest",
58    defaults: ["wifi_vendor_hal_vts_test_defaults"],
59    srcs: ["wifi_chip_aidl_test.cpp"],
60}
61
62cc_test {
63    name: "VtsHalWifiStaIfaceTargetTest",
64    defaults: ["wifi_vendor_hal_vts_test_defaults"],
65    srcs: ["wifi_sta_iface_aidl_test.cpp"],
66}
67
68cc_test {
69    name: "VtsHalWifiApIfaceTargetTest",
70    defaults: ["wifi_vendor_hal_vts_test_defaults"],
71    srcs: ["wifi_ap_iface_aidl_test.cpp"],
72}
73
74cc_test {
75    name: "VtsHalWifiNanIfaceTargetTest",
76    defaults: ["wifi_vendor_hal_vts_test_defaults"],
77    srcs: ["wifi_nan_iface_aidl_test.cpp"],
78}
79
80cc_test {
81    name: "VtsHalWifiRttControllerTargetTest",
82    defaults: ["wifi_vendor_hal_vts_test_defaults"],
83    srcs: ["wifi_rtt_controller_aidl_test.cpp"],
84}
85
86cc_library_static {
87    name: "VtsHalWifiTargetTestUtil",
88    defaults: ["VtsHalTargetTestDefaults"],
89    srcs: [
90        "wifi_aidl_test_utils.cpp",
91    ],
92    export_include_dirs: [
93        ".",
94    ],
95    shared_libs: [
96        "libbinder",
97        "libbinder_ndk",
98        "libnativehelper",
99    ],
100    static_libs: [
101        "android.hardware.wifi.common-V2-ndk",
102        "android.hardware.wifi-V3-ndk",
103        "libwifi-system-iface",
104    ],
105}
106