Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2016 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 | |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 26 | cc_library_static { |
| 27 | name: "VtsHalWifiV1_0TargetTestUtil", |
Yuexi Ma | d56539e | 2018-03-21 10:47:22 -0700 | [diff] [blame] | 28 | defaults: ["VtsHalTargetTestDefaults"], |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 29 | srcs: [ |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 30 | "wifi_hidl_call_util_selftest.cpp", |
| 31 | "wifi_hidl_test.cpp", |
Zhuoyao Zhang | 308f153 | 2018-02-08 21:17:39 -0800 | [diff] [blame] | 32 | "wifi_hidl_test_utils.cpp", |
| 33 | ], |
Roshan Pius | dbd83ef | 2017-06-20 12:05:40 -0700 | [diff] [blame] | 34 | export_include_dirs: [ |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 35 | ".", |
Roshan Pius | dbd83ef | 2017-06-20 12:05:40 -0700 | [diff] [blame] | 36 | ], |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 37 | shared_libs: [ |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 38 | "libnativehelper", |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 39 | ], |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 40 | static_libs: [ |
| 41 | "android.hardware.wifi@1.0", |
Jimmy Chen | 1bdf1a7 | 2019-12-23 17:53:40 +0200 | [diff] [blame] | 42 | "android.hardware.wifi@1.3", |
| 43 | "android.hardware.wifi@1.5", |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 44 | "libwifi-system-iface", |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 45 | ], |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 46 | } |
| 47 | |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 48 | cc_test { |
Zhuoyao Zhang | f7693ee | 2017-02-16 14:58:55 -0800 | [diff] [blame] | 49 | name: "VtsHalWifiV1_0TargetTest", |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 50 | defaults: ["VtsHalTargetTestDefaults"], |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 51 | srcs: [ |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 52 | "wifi_chip_hidl_test.cpp", |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 53 | "wifi_p2p_iface_hidl_test.cpp", |
| 54 | "wifi_rtt_controller_hidl_test.cpp", |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 55 | "wifi_sta_iface_hidl_test.cpp", |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 56 | ], |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 57 | static_libs: [ |
| 58 | "VtsHalWifiV1_0TargetTestUtil", |
| 59 | "android.hardware.wifi@1.0", |
Ahmed ElArabawy | aa1e6b0 | 2019-01-02 10:07:05 -0800 | [diff] [blame] | 60 | "android.hardware.wifi@1.1", |
xshu | 344ab2a | 2018-10-16 11:44:04 -0700 | [diff] [blame] | 61 | "android.hardware.wifi@1.2", |
| 62 | "android.hardware.wifi@1.3", |
Jimmy Chen | 1bdf1a7 | 2019-12-23 17:53:40 +0200 | [diff] [blame] | 63 | "android.hardware.wifi@1.4", |
| 64 | "android.hardware.wifi@1.5", |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 65 | "libwifi-system-iface", |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 66 | ], |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 67 | test_suites: [ |
| 68 | "general-tests", |
| 69 | "vts", |
| 70 | ], |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 71 | } |
| 72 | |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 73 | // These tests are split out so that they can be conditioned on presence of the |
| 74 | // "android.hardware.wifi.aware" feature. |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 75 | cc_test { |
| 76 | name: "VtsHalWifiNanV1_0TargetTest", |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 77 | defaults: ["VtsHalTargetTestDefaults"], |
Etan Cohen | 2d523c0 | 2017-03-23 08:11:47 -0700 | [diff] [blame] | 78 | srcs: [ |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 79 | "wifi_chip_hidl_nan_test.cpp", |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 80 | "wifi_nan_iface_hidl_test.cpp", |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 81 | ], |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 82 | static_libs: [ |
| 83 | "VtsHalWifiV1_0TargetTestUtil", |
| 84 | "android.hardware.wifi@1.0", |
Nate Jiang | 3ec6781 | 2020-08-24 11:04:31 -0700 | [diff] [blame] | 85 | "android.hardware.wifi@1.1", |
| 86 | "android.hardware.wifi@1.2", |
| 87 | "android.hardware.wifi@1.3", |
| 88 | "android.hardware.wifi@1.4", |
| 89 | "android.hardware.wifi@1.5", |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 90 | "libwifi-system-iface", |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 91 | ], |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 92 | test_suites: [ |
| 93 | "general-tests", |
| 94 | "vts", |
| 95 | ], |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 96 | } |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 97 | |
| 98 | // These tests are split out so that they can be conditioned on presence of |
| 99 | // the hostapd HAL, which indicates SoftAP support. |
| 100 | cc_test { |
| 101 | name: "VtsHalWifiApV1_0TargetTest", |
| 102 | defaults: ["VtsHalTargetTestDefaults"], |
| 103 | srcs: [ |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 104 | "wifi_ap_iface_hidl_test.cpp", |
| 105 | "wifi_chip_hidl_ap_test.cpp", |
| 106 | ], |
| 107 | static_libs: [ |
| 108 | "VtsHalWifiV1_0TargetTestUtil", |
| 109 | "android.hardware.wifi@1.0", |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 110 | "libwifi-system-iface", |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 111 | ], |
Nate Jiang | ac6d14d | 2020-05-14 18:06:26 -0700 | [diff] [blame] | 112 | test_suites: [ |
| 113 | "general-tests", |
| 114 | "vts", |
| 115 | ], |
Patrik Fimml | c37306e | 2019-10-08 14:07:57 +0200 | [diff] [blame] | 116 | } |