blob: 80139060f163886d858786eb1e5a14f1e3613407 [file] [log] [blame]
Tri Vo48f8e5d2017-08-04 10:36:07 -07001//
2// Copyright (C) 2017 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
Roshan Pius781d1832017-12-08 11:22:34 -080017cc_library_static {
18 name: "VtsHalWifiSupplicantV1_0TargetTestUtil",
19 defaults: ["VtsHalTargetTestDefaults"],
20 srcs: ["supplicant_hidl_test_utils.cpp"],
21 export_include_dirs: [
Jimmy Chen87b62f12019-12-16 16:14:48 +080022 ".",
Roshan Pius781d1832017-12-08 11:22:34 -080023 ],
24 static_libs: [
25 "VtsHalWifiV1_0TargetTestUtil",
26 "android.hardware.wifi.supplicant@1.0",
Roshan Pius8f7074c2018-02-27 13:50:46 -080027 "android.hardware.wifi.supplicant@1.1",
Roshan Pius781d1832017-12-08 11:22:34 -080028 "android.hardware.wifi@1.0",
Roshan Pius781d1832017-12-08 11:22:34 -080029 "libgmock",
30 "libwifi-system",
31 "libwifi-system-iface",
32 ],
33}
34
Tri Vo48f8e5d2017-08-04 10:36:07 -070035cc_test {
36 name: "VtsHalWifiSupplicantV1_0TargetTest",
37 defaults: ["VtsHalTargetTestDefaults"],
38 srcs: [
39 "VtsHalWifiSupplicantV1_0TargetTest.cpp",
40 "supplicant_hidl_test.cpp",
Tri Vo48f8e5d2017-08-04 10:36:07 -070041 "supplicant_sta_iface_hidl_test.cpp",
42 "supplicant_sta_network_hidl_test.cpp",
43 ],
44 static_libs: [
45 "VtsHalWifiV1_0TargetTestUtil",
Roshan Pius781d1832017-12-08 11:22:34 -080046 "VtsHalWifiSupplicantV1_0TargetTestUtil",
Tri Vo48f8e5d2017-08-04 10:36:07 -070047 "android.hardware.wifi.supplicant@1.0",
Roshan Pius8f7074c2018-02-27 13:50:46 -080048 "android.hardware.wifi.supplicant@1.1",
Sunil Ravi6e58a642020-02-07 12:01:16 -080049 "android.hardware.wifi.supplicant@1.2",
50 "android.hardware.wifi.supplicant@1.3",
Tri Vo48f8e5d2017-08-04 10:36:07 -070051 "android.hardware.wifi@1.0",
Tri Vo48f8e5d2017-08-04 10:36:07 -070052 "libgmock",
53 "libwifi-system",
54 "libwifi-system-iface",
55 ],
Jimmy Chen87b62f12019-12-16 16:14:48 +080056 test_suites: [
57 "general-tests",
58 "vts-core",
59 ],
Tri Vo48f8e5d2017-08-04 10:36:07 -070060}
Roshan Pius61c8ea52018-07-25 12:32:00 -070061
62cc_test {
63 name: "VtsHalWifiSupplicantP2pV1_0TargetTest",
64 defaults: ["VtsHalTargetTestDefaults"],
65 srcs: [
Jimmy Chen87b62f12019-12-16 16:14:48 +080066 "VtsHalWifiSupplicantP2pV1_0TargetTest.cpp",
Roshan Pius61c8ea52018-07-25 12:32:00 -070067 "supplicant_p2p_iface_hidl_test.cpp",
68 ],
69 static_libs: [
70 "VtsHalWifiV1_0TargetTestUtil",
71 "VtsHalWifiSupplicantV1_0TargetTestUtil",
72 "android.hardware.wifi.supplicant@1.0",
73 "android.hardware.wifi.supplicant@1.1",
74 "android.hardware.wifi@1.0",
Roshan Pius61c8ea52018-07-25 12:32:00 -070075 "libgmock",
76 "libwifi-system",
77 "libwifi-system-iface",
78 ],
Jimmy Chen87b62f12019-12-16 16:14:48 +080079 test_suites: [
80 "general-tests",
81 "vts-core",
82 ],
Roshan Pius61c8ea52018-07-25 12:32:00 -070083}