blob: b454a06d8174e6dc5b810694a4fac793457e4c49 [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",
19 srcs: [
Etan Cohen2d523c02017-03-23 08:11:47 -070020
Etan Cohena49579b2017-03-10 10:43:31 -080021 "wifi_hidl_call_util_selftest.cpp",
22 "wifi_hidl_test.cpp",
23 "wifi_hidl_test_utils.cpp"],
24 shared_libs: [
25 "libbase",
26 "liblog",
27 "libcutils",
28 "libhidlbase",
29 "libhidltransport",
30 "libnativehelper",
31 "libutils",
32 "android.hardware.wifi@1.0",
33 ],
34 static_libs: ["VtsHalHidlTargetTestBase"],
35}
36
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080037cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080038 name: "VtsHalWifiV1_0TargetTest",
Steven Moreland691a4552017-03-08 15:58:46 -080039 defaults: ["hidl_defaults"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080040 srcs: [
Etan Cohen2d523c02017-03-23 08:11:47 -070041 "VtsHalWifiV1_0TargetTest.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080042 "wifi_ap_iface_hidl_test.cpp",
43 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080044 "wifi_p2p_iface_hidl_test.cpp",
45 "wifi_rtt_controller_hidl_test.cpp",
46 "wifi_sta_iface_hidl_test.cpp"],
47 shared_libs: [
48 "libbase",
49 "liblog",
50 "libcutils",
51 "libhidlbase",
52 "libhidltransport",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080053 "libnativehelper",
54 "libutils",
55 "android.hardware.wifi@1.0",
56 ],
Etan Cohena49579b2017-03-10 10:43:31 -080057 static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
58 cflags: [
59 "-O0",
60 "-g",
61 ],
62}
63
64cc_test {
65 name: "VtsHalWifiNanV1_0TargetTest",
66 defaults: ["hidl_defaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070067 srcs: [
68 "VtsHalWifiV1_0TargetTest.cpp",
69 "wifi_nan_iface_hidl_test.cpp"],
Etan Cohena49579b2017-03-10 10:43:31 -080070 shared_libs: [
71 "libbase",
72 "liblog",
73 "libcutils",
74 "libhidlbase",
75 "libhidltransport",
76 "libnativehelper",
77 "libutils",
78 "android.hardware.wifi@1.0",
79 ],
80 static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080081 cflags: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080082 "-O0",
83 "-g",
84 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080085}