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