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 | |
Roshan Pius | 0076dae | 2020-09-16 13:51:11 -0700 | [diff] [blame^] | 38 | // SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest. |
| 39 | cc_test { |
| 40 | name: "VtsHalWifiApV1_4TargetTest", |
| 41 | defaults: ["VtsHalTargetTestDefaults"], |
| 42 | srcs: [ |
| 43 | "wifi_ap_iface_hidl_test.cpp", |
| 44 | ], |
| 45 | static_libs: [ |
| 46 | "VtsHalWifiV1_0TargetTestUtil", |
| 47 | "android.hardware.wifi@1.0", |
| 48 | "android.hardware.wifi@1.1", |
| 49 | "android.hardware.wifi@1.2", |
| 50 | "android.hardware.wifi@1.3", |
| 51 | "android.hardware.wifi@1.4", |
| 52 | "android.hardware.wifi.hostapd@1.0", |
| 53 | "libwifi-system-iface", |
| 54 | ], |
| 55 | disable_framework: true, |
| 56 | test_suites: [ |
| 57 | "general-tests", |
| 58 | "vts", |
| 59 | ], |
| 60 | } |
| 61 | |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 62 | // These tests are split out so that they can be conditioned on presence of the |
| 63 | // "android.hardware.wifi.aware" feature. |
| 64 | cc_test { |
| 65 | name: "VtsHalWifiNanV1_4TargetTest", |
| 66 | defaults: ["VtsHalTargetTestDefaults"], |
| 67 | srcs: [ |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 68 | "wifi_nan_iface_hidl_test.cpp", |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 69 | ], |
| 70 | static_libs: [ |
| 71 | "VtsHalWifiV1_0TargetTestUtil", |
| 72 | "android.hardware.wifi@1.0", |
| 73 | "android.hardware.wifi@1.1", |
| 74 | "android.hardware.wifi@1.2", |
| 75 | "android.hardware.wifi@1.3", |
| 76 | "android.hardware.wifi@1.4", |
| 77 | "libwifi-system-iface", |
| 78 | ], |
| 79 | test_suites: [ |
| 80 | "general-tests", |
| 81 | "vts", |
| 82 | ], |
| 83 | } |
| 84 | |
| 85 | // These tests are split out so that they can be conditioned on presence of the |
| 86 | // "android.hardware.wifi.rtt" feature. |
| 87 | cc_test { |
| 88 | name: "VtsHalWifiRttV1_4TargetTest", |
| 89 | defaults: ["VtsHalTargetTestDefaults"], |
| 90 | srcs: [ |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 91 | "wifi_rtt_controller_hidl_test.cpp", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 92 | ], |
| 93 | static_libs: [ |
| 94 | "VtsHalWifiV1_0TargetTestUtil", |
| 95 | "android.hardware.wifi@1.0", |
| 96 | "android.hardware.wifi@1.1", |
| 97 | "android.hardware.wifi@1.2", |
| 98 | "android.hardware.wifi@1.3", |
| 99 | "android.hardware.wifi@1.4", |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 100 | "libwifi-system-iface", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 101 | ], |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 102 | test_suites: [ |
| 103 | "general-tests", |
Dan Shi | aad51fa | 2020-04-05 14:34:48 -0700 | [diff] [blame] | 104 | "vts", |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 105 | ], |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 106 | } |