blob: 15525bb74b7251a473e602f77c2fcf354e6c8fe3 [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: [
22 "."
23 ],
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 ],
Dan Shi59c74952019-10-29 14:30:18 -070054 test_suites: ["general-tests", "vts-core"],
Tri Vo48f8e5d2017-08-04 10:36:07 -070055}
Roshan Pius61c8ea52018-07-25 12:32:00 -070056
57cc_test {
58 name: "VtsHalWifiSupplicantP2pV1_0TargetTest",
59 defaults: ["VtsHalTargetTestDefaults"],
60 srcs: [
61 "VtsHalWifiSupplicantV1_0TargetTest.cpp",
62 "supplicant_p2p_iface_hidl_test.cpp",
63 ],
64 static_libs: [
65 "VtsHalWifiV1_0TargetTestUtil",
66 "VtsHalWifiSupplicantV1_0TargetTestUtil",
67 "android.hardware.wifi.supplicant@1.0",
68 "android.hardware.wifi.supplicant@1.1",
69 "android.hardware.wifi@1.0",
Roshan Pius61c8ea52018-07-25 12:32:00 -070070 "libgmock",
71 "libwifi-system",
72 "libwifi-system-iface",
73 ],
Dan Shi59c74952019-10-29 14:30:18 -070074 test_suites: ["general-tests", "vts-core"],
Roshan Pius61c8ea52018-07-25 12:32:00 -070075}