Nate Jiang | 3ec6781 | 2020-08-24 11:04:31 -0700 | [diff] [blame] | 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 | |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 17 | package { |
| 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 | |
lesl | 90e6565 | 2021-01-13 17:38:53 +0800 | [diff] [blame] | 26 | cc_library_static { |
| 27 | name: "VtsHalWifiV1_5TargetTestUtil", |
| 28 | defaults: ["VtsHalTargetTestDefaults"], |
| 29 | srcs: [ |
| 30 | "wifi_hidl_test_utils_1_5.cpp", |
| 31 | ], |
| 32 | export_include_dirs: [ |
| 33 | ".", |
| 34 | ], |
| 35 | shared_libs: [ |
| 36 | "libnativehelper", |
| 37 | ], |
| 38 | static_libs: [ |
| 39 | "VtsHalWifiV1_0TargetTestUtil", |
| 40 | "android.hardware.wifi@1.0", |
| 41 | "android.hardware.wifi@1.3", |
| 42 | "android.hardware.wifi@1.5", |
| 43 | "libwifi-system-iface", |
| 44 | ], |
| 45 | } |
| 46 | |
Roshan Pius | e9d1e7d | 2020-11-04 11:44:16 -0800 | [diff] [blame] | 47 | cc_test { |
| 48 | name: "VtsHalWifiV1_5TargetTest", |
| 49 | defaults: ["VtsHalTargetTestDefaults"], |
| 50 | srcs: [ |
| 51 | "wifi_chip_hidl_test.cpp", |
| 52 | "wifi_sta_iface_hidl_test.cpp", |
| 53 | ], |
| 54 | static_libs: [ |
| 55 | "VtsHalWifiV1_0TargetTestUtil", |
| 56 | "android.hardware.wifi@1.0", |
| 57 | "android.hardware.wifi@1.1", |
| 58 | "android.hardware.wifi@1.2", |
| 59 | "android.hardware.wifi@1.3", |
| 60 | "android.hardware.wifi@1.4", |
| 61 | "android.hardware.wifi@1.5", |
| 62 | "libwifi-system-iface", |
| 63 | ], |
| 64 | test_suites: [ |
| 65 | "general-tests", |
| 66 | "vts", |
| 67 | ], |
| 68 | } |
| 69 | |
Nate Jiang | 3ec6781 | 2020-08-24 11:04:31 -0700 | [diff] [blame] | 70 | // These tests are split out so that they can be conditioned on presence of the |
| 71 | // "android.hardware.wifi.aware" feature. |
| 72 | cc_test { |
| 73 | name: "VtsHalWifiNanV1_5TargetTest", |
| 74 | defaults: ["VtsHalTargetTestDefaults"], |
| 75 | srcs: [ |
| 76 | "wifi_nan_iface_hidl_test.cpp", |
| 77 | ], |
| 78 | static_libs: [ |
| 79 | "VtsHalWifiV1_0TargetTestUtil", |
| 80 | "android.hardware.wifi@1.0", |
| 81 | "android.hardware.wifi@1.1", |
| 82 | "android.hardware.wifi@1.2", |
| 83 | "android.hardware.wifi@1.3", |
| 84 | "android.hardware.wifi@1.4", |
| 85 | "android.hardware.wifi@1.5", |
Nate Jiang | eac80de | 2022-02-24 16:09:05 -0800 | [diff] [blame] | 86 | "android.hardware.wifi@1.6", |
Nate Jiang | 3ec6781 | 2020-08-24 11:04:31 -0700 | [diff] [blame] | 87 | "libwifi-system-iface", |
| 88 | ], |
| 89 | test_suites: [ |
| 90 | "general-tests", |
| 91 | "vts", |
| 92 | ], |
| 93 | } |
lesl | 420c4fc | 2020-11-23 19:33:04 +0800 | [diff] [blame] | 94 | |
| 95 | // SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest. |
| 96 | cc_test { |
| 97 | name: "VtsHalWifiApV1_5TargetTest", |
| 98 | defaults: ["VtsHalTargetTestDefaults"], |
| 99 | srcs: [ |
| 100 | "wifi_chip_hidl_ap_test.cpp", |
lesl | 90e6565 | 2021-01-13 17:38:53 +0800 | [diff] [blame] | 101 | "wifi_ap_iface_hidl_test.cpp", |
lesl | 420c4fc | 2020-11-23 19:33:04 +0800 | [diff] [blame] | 102 | ], |
| 103 | static_libs: [ |
| 104 | "VtsHalWifiV1_0TargetTestUtil", |
lesl | 90e6565 | 2021-01-13 17:38:53 +0800 | [diff] [blame] | 105 | "VtsHalWifiV1_5TargetTestUtil", |
lesl | 420c4fc | 2020-11-23 19:33:04 +0800 | [diff] [blame] | 106 | "android.hardware.wifi@1.0", |
| 107 | "android.hardware.wifi@1.1", |
| 108 | "android.hardware.wifi@1.2", |
| 109 | "android.hardware.wifi@1.3", |
| 110 | "android.hardware.wifi@1.4", |
| 111 | "android.hardware.wifi@1.5", |
| 112 | "libwifi-system-iface", |
| 113 | ], |
| 114 | test_suites: [ |
| 115 | "general-tests", |
| 116 | "vts", |
| 117 | ], |
| 118 | } |