1//
2// Copyright (C) 2016 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
17cc_library_static {
18    name: "VtsHalWifiV1_0TargetTestUtil",
19    defaults: ["VtsHalTargetTestDefaults"],
20    srcs: [
21        "wifi_hidl_call_util_selftest.cpp",
22        "wifi_hidl_test.cpp",
23        "wifi_hidl_test_utils.cpp",
24    ],
25    export_include_dirs: [
26        "."
27    ],
28    shared_libs: [
29        "libnativehelper",
30    ],
31    static_libs: [
32        "android.hardware.wifi@1.0",
33        "libwifi-system-iface"
34    ],
35}
36
37cc_test {
38    name: "VtsHalWifiV1_0TargetTest",
39    defaults: ["VtsHalTargetTestDefaults"],
40    srcs: [
41        "VtsHalWifiV1_0TargetTest.cpp",
42        "wifi_ap_iface_hidl_test.cpp",
43        "wifi_chip_hidl_test.cpp",
44        "wifi_p2p_iface_hidl_test.cpp",
45        "wifi_rtt_controller_hidl_test.cpp",
46        "wifi_sta_iface_hidl_test.cpp",
47    ],
48    static_libs: [
49        "VtsHalWifiV1_0TargetTestUtil",
50        "android.hardware.wifi@1.0",
51        "android.hardware.wifi@1.1",
52        "android.hardware.wifi@1.2",
53        "android.hardware.wifi@1.3",
54        "libwifi-system-iface"
55    ],
56    test_suites: ["general-tests"],
57}
58
59cc_test {
60    name: "VtsHalWifiNanV1_0TargetTest",
61    defaults: ["VtsHalTargetTestDefaults"],
62    srcs: [
63        "VtsHalWifiV1_0TargetTest.cpp",
64        "wifi_nan_iface_hidl_test.cpp",
65    ],
66    static_libs: [
67        "VtsHalWifiV1_0TargetTestUtil",
68        "android.hardware.wifi@1.0",
69        "libwifi-system-iface"
70    ],
71    test_suites: ["general-tests"],
72}
73