blob: 2d6679f7796ff2846ba62296a0e6030d8a4089a4 [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 Cohena49579b2017-03-10 10:43:31 -080020 "wifi_hidl_call_util_selftest.cpp",
21 "wifi_hidl_test.cpp",
22 "wifi_hidl_test_utils.cpp"],
Roshan Piusdbd83ef2017-06-20 12:05:40 -070023 export_include_dirs: [
24 "."
25 ],
Etan Cohena49579b2017-03-10 10:43:31 -080026 shared_libs: [
27 "libbase",
28 "liblog",
29 "libcutils",
30 "libhidlbase",
31 "libhidltransport",
32 "libnativehelper",
33 "libutils",
34 "android.hardware.wifi@1.0",
35 ],
36 static_libs: ["VtsHalHidlTargetTestBase"],
37}
38
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080039cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080040 name: "VtsHalWifiV1_0TargetTest",
Steven Moreland691a4552017-03-08 15:58:46 -080041 defaults: ["hidl_defaults"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080042 srcs: [
Etan Cohen2d523c02017-03-23 08:11:47 -070043 "VtsHalWifiV1_0TargetTest.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080044 "wifi_ap_iface_hidl_test.cpp",
45 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080046 "wifi_p2p_iface_hidl_test.cpp",
47 "wifi_rtt_controller_hidl_test.cpp",
48 "wifi_sta_iface_hidl_test.cpp"],
49 shared_libs: [
50 "libbase",
51 "liblog",
52 "libcutils",
53 "libhidlbase",
54 "libhidltransport",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080055 "libnativehelper",
56 "libutils",
57 "android.hardware.wifi@1.0",
58 ],
Etan Cohena49579b2017-03-10 10:43:31 -080059 static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
60 cflags: [
61 "-O0",
62 "-g",
63 ],
64}
65
66cc_test {
67 name: "VtsHalWifiNanV1_0TargetTest",
68 defaults: ["hidl_defaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070069 srcs: [
70 "VtsHalWifiV1_0TargetTest.cpp",
71 "wifi_nan_iface_hidl_test.cpp"],
Etan Cohena49579b2017-03-10 10:43:31 -080072 shared_libs: [
73 "libbase",
74 "liblog",
75 "libcutils",
76 "libhidlbase",
77 "libhidltransport",
78 "libnativehelper",
79 "libutils",
80 "android.hardware.wifi@1.0",
81 ],
82 static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080083 cflags: [
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080084 "-O0",
85 "-g",
86 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080087}