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 | // |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 16 | package { |
| 17 | // See: http://go/android-license-faq |
| 18 | // A large-scale-change added 'default_applicable_licenses' to import |
| 19 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 20 | // to get the below license kinds: |
| 21 | // SPDX-license-identifier-Apache-2.0 |
| 22 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 23 | } |
| 24 | |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 25 | cc_test { |
Roshan Pius | 0076dae | 2020-09-16 13:51:11 -0700 | [diff] [blame] | 26 | name: "VtsHalWifiV1_4TargetTest", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 27 | defaults: ["VtsHalTargetTestDefaults"], |
| 28 | srcs: [ |
Ahmed ElArabawy | 83baffd | 2019-11-15 19:20:41 -0800 | [diff] [blame] | 29 | "wifi_chip_hidl_test.cpp", |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 30 | ], |
| 31 | static_libs: [ |
| 32 | "VtsHalWifiV1_0TargetTestUtil", |
| 33 | "android.hardware.wifi@1.0", |
| 34 | "android.hardware.wifi@1.1", |
| 35 | "android.hardware.wifi@1.2", |
| 36 | "android.hardware.wifi@1.3", |
| 37 | "android.hardware.wifi@1.4", |
| 38 | "libwifi-system-iface", |
| 39 | ], |
| 40 | test_suites: [ |
| 41 | "general-tests", |
| 42 | "vts", |
| 43 | ], |
| 44 | } |
| 45 | |
Roshan Pius | 0076dae | 2020-09-16 13:51:11 -0700 | [diff] [blame] | 46 | // SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest. |
| 47 | cc_test { |
| 48 | name: "VtsHalWifiApV1_4TargetTest", |
| 49 | defaults: ["VtsHalTargetTestDefaults"], |
| 50 | srcs: [ |
| 51 | "wifi_ap_iface_hidl_test.cpp", |
| 52 | ], |
| 53 | static_libs: [ |
| 54 | "VtsHalWifiV1_0TargetTestUtil", |
| 55 | "android.hardware.wifi@1.0", |
| 56 | "android.hardware.wifi@1.1", |
| 57 | "android.hardware.wifi@1.2", |
| 58 | "android.hardware.wifi@1.3", |
| 59 | "android.hardware.wifi@1.4", |
| 60 | "android.hardware.wifi.hostapd@1.0", |
| 61 | "libwifi-system-iface", |
| 62 | ], |
| 63 | disable_framework: true, |
| 64 | test_suites: [ |
| 65 | "general-tests", |
| 66 | "vts", |
| 67 | ], |
| 68 | } |
| 69 | |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -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_4TargetTest", |
| 74 | defaults: ["VtsHalTargetTestDefaults"], |
| 75 | srcs: [ |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 76 | "wifi_nan_iface_hidl_test.cpp", |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 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", |
Nate Jiang | 3ec6781 | 2020-08-24 11:04:31 -0700 | [diff] [blame] | 85 | "android.hardware.wifi@1.5", |
Nate Jiang | 9ecaa48 | 2020-05-12 17:29:14 -0700 | [diff] [blame] | 86 | "libwifi-system-iface", |
| 87 | ], |
| 88 | test_suites: [ |
| 89 | "general-tests", |
| 90 | "vts", |
| 91 | ], |
| 92 | } |
| 93 | |
| 94 | // These tests are split out so that they can be conditioned on presence of the |
| 95 | // "android.hardware.wifi.rtt" feature. |
| 96 | cc_test { |
| 97 | name: "VtsHalWifiRttV1_4TargetTest", |
| 98 | defaults: ["VtsHalTargetTestDefaults"], |
| 99 | srcs: [ |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 100 | "wifi_rtt_controller_hidl_test.cpp", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 101 | ], |
| 102 | static_libs: [ |
| 103 | "VtsHalWifiV1_0TargetTestUtil", |
| 104 | "android.hardware.wifi@1.0", |
| 105 | "android.hardware.wifi@1.1", |
| 106 | "android.hardware.wifi@1.2", |
| 107 | "android.hardware.wifi@1.3", |
| 108 | "android.hardware.wifi@1.4", |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 109 | "libwifi-system-iface", |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 110 | ], |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 111 | test_suites: [ |
| 112 | "general-tests", |
Dan Shi | 3a8a650 | 2020-03-26 00:06:39 -0700 | [diff] [blame] | 113 | "vts", |
Ahmed ElArabawy | 98eab1d | 2020-02-17 16:35:19 -0800 | [diff] [blame] | 114 | ], |
Patrik Fimml | c919f96 | 2019-09-11 14:31:56 +0200 | [diff] [blame] | 115 | } |