blob: 793dd8cc7c2af23f61e2f381e62dcf7427405884 [file] [log] [blame]
Roshan Pius1ae4cbb2016-12-06 18:59:15 -08001//
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 Cohena49579b2017-03-10 10:43:31 -080017cc_library_static {
18 name: "VtsHalWifiV1_0TargetTestUtil",
Yuexi Mad56539e2018-03-21 10:47:22 -070019 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohena49579b2017-03-10 10:43:31 -080020 srcs: [
Etan Cohena49579b2017-03-10 10:43:31 -080021 "wifi_hidl_call_util_selftest.cpp",
22 "wifi_hidl_test.cpp",
Zhuoyao Zhang308f1532018-02-08 21:17:39 -080023 "wifi_hidl_test_utils.cpp",
24 ],
Roshan Piusdbd83ef2017-06-20 12:05:40 -070025 export_include_dirs: [
26 "."
27 ],
Etan Cohena49579b2017-03-10 10:43:31 -080028 shared_libs: [
Etan Cohena49579b2017-03-10 10:43:31 -080029 "libnativehelper",
Etan Cohena49579b2017-03-10 10:43:31 -080030 ],
Patrik Fimmlc37306e2019-10-08 14:07:57 +020031 static_libs: [
32 "android.hardware.wifi@1.0",
Roshan Pius16c43fb2019-11-13 11:06:14 -080033 "libwifi-system-iface"
Patrik Fimmlc37306e2019-10-08 14:07:57 +020034 ],
Etan Cohena49579b2017-03-10 10:43:31 -080035}
36
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080037cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080038 name: "VtsHalWifiV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070039 defaults: ["VtsHalTargetTestDefaults"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080040 srcs: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080041 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080042 "wifi_p2p_iface_hidl_test.cpp",
43 "wifi_rtt_controller_hidl_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070044 "wifi_sta_iface_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080045 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070046 static_libs: [
47 "VtsHalWifiV1_0TargetTestUtil",
48 "android.hardware.wifi@1.0",
Ahmed ElArabawyaa1e6b02019-01-02 10:07:05 -080049 "android.hardware.wifi@1.1",
xshu344ab2a2018-10-16 11:44:04 -070050 "android.hardware.wifi@1.2",
51 "android.hardware.wifi@1.3",
Roshan Pius16c43fb2019-11-13 11:06:14 -080052 "libwifi-system-iface"
Etan Cohena49579b2017-03-10 10:43:31 -080053 ],
Dan Shi3a8a6502020-03-26 00:06:39 -070054 test_suites: ["general-tests", "vts"],
Etan Cohena49579b2017-03-10 10:43:31 -080055}
56
Patrik Fimmlc37306e2019-10-08 14:07:57 +020057// These tests are split out so that they can be conditioned on presence of the
58// "android.hardware.wifi.aware" feature.
Etan Cohena49579b2017-03-10 10:43:31 -080059cc_test {
60 name: "VtsHalWifiNanV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070061 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070062 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +020063 "wifi_chip_hidl_nan_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070064 "wifi_nan_iface_hidl_test.cpp",
Etan Cohena49579b2017-03-10 10:43:31 -080065 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070066 static_libs: [
67 "VtsHalWifiV1_0TargetTestUtil",
68 "android.hardware.wifi@1.0",
Roshan Pius16c43fb2019-11-13 11:06:14 -080069 "libwifi-system-iface"
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080070 ],
Dan Shi3a8a6502020-03-26 00:06:39 -070071 test_suites: ["general-tests", "vts"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080072}
Patrik Fimmlc37306e2019-10-08 14:07:57 +020073
74// These tests are split out so that they can be conditioned on presence of
75// the hostapd HAL, which indicates SoftAP support.
76cc_test {
77 name: "VtsHalWifiApV1_0TargetTest",
78 defaults: ["VtsHalTargetTestDefaults"],
79 srcs: [
Patrik Fimmlc37306e2019-10-08 14:07:57 +020080 "wifi_ap_iface_hidl_test.cpp",
81 "wifi_chip_hidl_ap_test.cpp",
82 ],
83 static_libs: [
84 "VtsHalWifiV1_0TargetTestUtil",
85 "android.hardware.wifi@1.0",
Roshan Pius16c43fb2019-11-13 11:06:14 -080086 "libwifi-system-iface"
Patrik Fimmlc37306e2019-10-08 14:07:57 +020087 ],
Dan Shi3a8a6502020-03-26 00:06:39 -070088 test_suites: ["general-tests", "vts"],
Patrik Fimmlc37306e2019-10-08 14:07:57 +020089}