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