blob: 9403e985dbb521717218fb08bef5bcf53212f52b [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: [
20 "VtsHalWifiV1_0TargetTest.cpp",
21 "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: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080041 "wifi_ap_iface_hidl_test.cpp",
42 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080043 "wifi_p2p_iface_hidl_test.cpp",
44 "wifi_rtt_controller_hidl_test.cpp",
45 "wifi_sta_iface_hidl_test.cpp"],
46 shared_libs: [
47 "libbase",
48 "liblog",
49 "libcutils",
50 "libhidlbase",
51 "libhidltransport",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080052 "libnativehelper",
53 "libutils",
54 "android.hardware.wifi@1.0",
55 ],
Etan Cohena49579b2017-03-10 10:43:31 -080056 static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
57 cflags: [
58 "-O0",
59 "-g",
60 ],
61}
62
63cc_test {
64 name: "VtsHalWifiNanV1_0TargetTest",
65 defaults: ["hidl_defaults"],
66 srcs: ["wifi_nan_iface_hidl_test.cpp"],
67 shared_libs: [
68 "libbase",
69 "liblog",
70 "libcutils",
71 "libhidlbase",
72 "libhidltransport",
73 "libnativehelper",
74 "libutils",
75 "android.hardware.wifi@1.0",
76 ],
77 static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080078 cflags: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080079 "-O0",
80 "-g",
81 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080082}