Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 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 | |
| 17 | cc_test { |
Roshan Pius | 0076dae | 2020-09-16 13:51:11 -0700 | [diff] [blame] | 18 | name: "VtsHalWifiV1_4TargetTest", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 19 | defaults: ["VtsHalTargetTestDefaults"], |
| 20 | srcs: [ |
Ahmed ElArabawy | 83baffd | 2019-11-15 19:20:41 -0800 | [diff] [blame] | 21 | "wifi_chip_hidl_test.cpp", |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 22 | ], |
| 23 | static_libs: [ |
| 24 | "VtsHalWifiV1_0TargetTestUtil", |
| 25 | "android.hardware.wifi@1.0", |
| 26 | "android.hardware.wifi@1.1", |
| 27 | "android.hardware.wifi@1.2", |
| 28 | "android.hardware.wifi@1.3", |
| 29 | "android.hardware.wifi@1.4", |
| 30 | "libwifi-system-iface", |
| 31 | ], |
| 32 | test_suites: [ |
| 33 | "general-tests", |
| 34 | "vts", |
| 35 | ], |
| 36 | } |
| 37 | |
Les Lee | 42147b7 | 2022-06-07 10:02:16 +0800 | [diff] [blame^] | 38 | cc_library_static { |
| 39 | name: "VtsHalWifiV1_4TargetTestUtil", |
| 40 | defaults: ["VtsHalTargetTestDefaults"], |
| 41 | srcs: [ |
| 42 | "wifi_hidl_test_utils_1_4.cpp", |
| 43 | ], |
| 44 | export_include_dirs: [ |
| 45 | ".", |
| 46 | ], |
| 47 | shared_libs: [ |
| 48 | "libnativehelper", |
| 49 | ], |
| 50 | static_libs: [ |
| 51 | "VtsHalWifiV1_0TargetTestUtil", |
| 52 | "android.hardware.wifi@1.0", |
| 53 | "android.hardware.wifi@1.3", |
| 54 | "android.hardware.wifi@1.4", |
| 55 | "libwifi-system-iface", |
| 56 | ], |
| 57 | } |
| 58 | |
Roshan Pius | 0076dae | 2020-09-16 13:51:11 -0700 | [diff] [blame] | 59 | // SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest. |
| 60 | cc_test { |
| 61 | name: "VtsHalWifiApV1_4TargetTest", |
| 62 | defaults: ["VtsHalTargetTestDefaults"], |
| 63 | srcs: [ |
| 64 | "wifi_ap_iface_hidl_test.cpp", |
| 65 | ], |
| 66 | static_libs: [ |
| 67 | "VtsHalWifiV1_0TargetTestUtil", |
| 68 | "android.hardware.wifi@1.0", |
| 69 | "android.hardware.wifi@1.1", |
| 70 | "android.hardware.wifi@1.2", |
| 71 | "android.hardware.wifi@1.3", |
| 72 | "android.hardware.wifi@1.4", |
| 73 | "android.hardware.wifi.hostapd@1.0", |
| 74 | "libwifi-system-iface", |
| 75 | ], |
| 76 | disable_framework: true, |
| 77 | test_suites: [ |
| 78 | "general-tests", |
| 79 | "vts", |
| 80 | ], |
| 81 | } |
| 82 | |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 83 | // These tests are split out so that they can be conditioned on presence of the |
| 84 | // "android.hardware.wifi.aware" feature. |
| 85 | cc_test { |
| 86 | name: "VtsHalWifiNanV1_4TargetTest", |
| 87 | defaults: ["VtsHalTargetTestDefaults"], |
| 88 | srcs: [ |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 89 | "wifi_nan_iface_hidl_test.cpp", |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 90 | ], |
| 91 | static_libs: [ |
| 92 | "VtsHalWifiV1_0TargetTestUtil", |
| 93 | "android.hardware.wifi@1.0", |
| 94 | "android.hardware.wifi@1.1", |
| 95 | "android.hardware.wifi@1.2", |
| 96 | "android.hardware.wifi@1.3", |
| 97 | "android.hardware.wifi@1.4", |
| 98 | "libwifi-system-iface", |
| 99 | ], |
| 100 | test_suites: [ |
| 101 | "general-tests", |
| 102 | "vts", |
| 103 | ], |
| 104 | } |
| 105 | |
| 106 | // These tests are split out so that they can be conditioned on presence of the |
| 107 | // "android.hardware.wifi.rtt" feature. |
| 108 | cc_test { |
| 109 | name: "VtsHalWifiRttV1_4TargetTest", |
| 110 | defaults: ["VtsHalTargetTestDefaults"], |
| 111 | srcs: [ |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 112 | "wifi_rtt_controller_hidl_test.cpp", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 113 | ], |
| 114 | static_libs: [ |
| 115 | "VtsHalWifiV1_0TargetTestUtil", |
| 116 | "android.hardware.wifi@1.0", |
| 117 | "android.hardware.wifi@1.1", |
| 118 | "android.hardware.wifi@1.2", |
| 119 | "android.hardware.wifi@1.3", |
| 120 | "android.hardware.wifi@1.4", |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 121 | "libwifi-system-iface", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 122 | ], |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 123 | test_suites: [ |
| 124 | "general-tests", |
Dan Shi | aad51fa | 2020-04-05 14:34:48 -0700 | [diff] [blame] | 125 | "vts", |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 126 | ], |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 127 | } |