blob: 332ee4aff304413f0bae3e74d9c74d10f9b61491 [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",
Tri Vo48f8e5d2017-08-04 10:36:07 -070049 "android.hardware.wifi@1.0",
Tri Vo48f8e5d2017-08-04 10:36:07 -070050 "libgmock",
51 "libwifi-system",
52 "libwifi-system-iface",
53 ],
Jimmy Chen87b62f12019-12-16 16:14:48 +080054 test_suites: [
55 "general-tests",
56 "vts-core",
57 ],
Tri Vo48f8e5d2017-08-04 10:36:07 -070058}
Roshan Pius61c8ea52018-07-25 12:32:00 -070059
60cc_test {
61 name: "VtsHalWifiSupplicantP2pV1_0TargetTest",
62 defaults: ["VtsHalTargetTestDefaults"],
63 srcs: [
Jimmy Chen87b62f12019-12-16 16:14:48 +080064 "VtsHalWifiSupplicantP2pV1_0TargetTest.cpp",
Roshan Pius61c8ea52018-07-25 12:32:00 -070065 "supplicant_p2p_iface_hidl_test.cpp",
66 ],
67 static_libs: [
68 "VtsHalWifiV1_0TargetTestUtil",
69 "VtsHalWifiSupplicantV1_0TargetTestUtil",
70 "android.hardware.wifi.supplicant@1.0",
71 "android.hardware.wifi.supplicant@1.1",
72 "android.hardware.wifi@1.0",
Roshan Pius61c8ea52018-07-25 12:32:00 -070073 "libgmock",
74 "libwifi-system",
75 "libwifi-system-iface",
76 ],
Jimmy Chen87b62f12019-12-16 16:14:48 +080077 test_suites: [
78 "general-tests",
79 "vts-core",
80 ],
Roshan Pius61c8ea52018-07-25 12:32:00 -070081}