2016-12-07 03:59:15 +01:00
|
|
|
//
|
|
|
|
// Copyright (C) 2016 The Android Open Source Project
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2017-03-10 19:43:31 +01:00
|
|
|
cc_library_static {
|
|
|
|
name: "VtsHalWifiV1_0TargetTestUtil",
|
2018-03-21 18:47:22 +01:00
|
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
2017-03-10 19:43:31 +01:00
|
|
|
srcs: [
|
|
|
|
"wifi_hidl_call_util_selftest.cpp",
|
|
|
|
"wifi_hidl_test.cpp",
|
2018-02-09 06:17:39 +01:00
|
|
|
"wifi_hidl_test_utils.cpp",
|
|
|
|
],
|
2017-06-20 21:05:40 +02:00
|
|
|
export_include_dirs: [
|
2020-05-15 03:06:26 +02:00
|
|
|
".",
|
2017-06-20 21:05:40 +02:00
|
|
|
],
|
2017-03-10 19:43:31 +01:00
|
|
|
shared_libs: [
|
|
|
|
"libnativehelper",
|
|
|
|
],
|
2019-10-08 14:07:57 +02:00
|
|
|
static_libs: [
|
|
|
|
"android.hardware.wifi@1.0",
|
2019-12-23 16:53:40 +01:00
|
|
|
"android.hardware.wifi@1.3",
|
|
|
|
"android.hardware.wifi@1.5",
|
2020-05-15 03:06:26 +02:00
|
|
|
"libwifi-system-iface",
|
2019-10-08 14:07:57 +02:00
|
|
|
],
|
2017-03-10 19:43:31 +01:00
|
|
|
}
|
|
|
|
|
2016-12-07 03:59:15 +01:00
|
|
|
cc_test {
|
2017-02-16 23:58:55 +01:00
|
|
|
name: "VtsHalWifiV1_0TargetTest",
|
2017-08-01 22:14:53 +02:00
|
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
2016-12-07 03:59:15 +01:00
|
|
|
srcs: [
|
|
|
|
"wifi_chip_hidl_test.cpp",
|
|
|
|
"wifi_p2p_iface_hidl_test.cpp",
|
|
|
|
"wifi_rtt_controller_hidl_test.cpp",
|
2017-08-01 22:14:53 +02:00
|
|
|
"wifi_sta_iface_hidl_test.cpp",
|
2016-12-07 03:59:15 +01:00
|
|
|
],
|
2017-08-01 22:14:53 +02:00
|
|
|
static_libs: [
|
|
|
|
"VtsHalWifiV1_0TargetTestUtil",
|
|
|
|
"android.hardware.wifi@1.0",
|
2019-01-02 19:07:05 +01:00
|
|
|
"android.hardware.wifi@1.1",
|
2018-10-16 20:44:04 +02:00
|
|
|
"android.hardware.wifi@1.2",
|
|
|
|
"android.hardware.wifi@1.3",
|
2019-12-23 16:53:40 +01:00
|
|
|
"android.hardware.wifi@1.4",
|
|
|
|
"android.hardware.wifi@1.5",
|
2020-05-15 03:06:26 +02:00
|
|
|
"libwifi-system-iface",
|
|
|
|
],
|
|
|
|
test_suites: [
|
|
|
|
"general-tests",
|
|
|
|
"vts",
|
2017-03-10 19:43:31 +01:00
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2019-10-08 14:07:57 +02:00
|
|
|
// These tests are split out so that they can be conditioned on presence of the
|
|
|
|
// "android.hardware.wifi.aware" feature.
|
2017-03-10 19:43:31 +01:00
|
|
|
cc_test {
|
|
|
|
name: "VtsHalWifiNanV1_0TargetTest",
|
2017-08-01 22:14:53 +02:00
|
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
2017-03-23 16:11:47 +01:00
|
|
|
srcs: [
|
2019-10-08 14:07:57 +02:00
|
|
|
"wifi_chip_hidl_nan_test.cpp",
|
2017-08-01 22:14:53 +02:00
|
|
|
"wifi_nan_iface_hidl_test.cpp",
|
2017-03-10 19:43:31 +01:00
|
|
|
],
|
2017-08-01 22:14:53 +02:00
|
|
|
static_libs: [
|
|
|
|
"VtsHalWifiV1_0TargetTestUtil",
|
|
|
|
"android.hardware.wifi@1.0",
|
2020-08-24 20:04:31 +02:00
|
|
|
"android.hardware.wifi@1.1",
|
|
|
|
"android.hardware.wifi@1.2",
|
|
|
|
"android.hardware.wifi@1.3",
|
|
|
|
"android.hardware.wifi@1.4",
|
|
|
|
"android.hardware.wifi@1.5",
|
2020-05-15 03:06:26 +02:00
|
|
|
"libwifi-system-iface",
|
|
|
|
],
|
|
|
|
test_suites: [
|
|
|
|
"general-tests",
|
|
|
|
"vts",
|
2016-12-07 03:59:15 +01:00
|
|
|
],
|
|
|
|
}
|
2019-10-08 14:07:57 +02:00
|
|
|
|
|
|
|
// These tests are split out so that they can be conditioned on presence of
|
|
|
|
// the hostapd HAL, which indicates SoftAP support.
|
|
|
|
cc_test {
|
|
|
|
name: "VtsHalWifiApV1_0TargetTest",
|
|
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
|
|
|
srcs: [
|
|
|
|
"wifi_ap_iface_hidl_test.cpp",
|
|
|
|
"wifi_chip_hidl_ap_test.cpp",
|
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"VtsHalWifiV1_0TargetTestUtil",
|
|
|
|
"android.hardware.wifi@1.0",
|
2020-05-15 03:06:26 +02:00
|
|
|
"libwifi-system-iface",
|
|
|
|
],
|
|
|
|
test_suites: [
|
|
|
|
"general-tests",
|
|
|
|
"vts",
|
2019-10-08 14:07:57 +02:00
|
|
|
],
|
|
|
|
}
|