blob: ea27f02d04dcfc226231c30603aef230d3c44b1a [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",
Chih-Hung Hsieh3da5b012017-09-29 15:15:48 -070019 defaults: ["hidl_defaults"],
Etan Cohena49579b2017-03-10 10:43:31 -080020 srcs: [
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"],
Roshan Piusdbd83ef2017-06-20 12:05:40 -070024 export_include_dirs: [
25 "."
26 ],
Etan Cohena49579b2017-03-10 10:43:31 -080027 shared_libs: [
28 "libbase",
29 "liblog",
30 "libcutils",
31 "libhidlbase",
32 "libhidltransport",
33 "libnativehelper",
34 "libutils",
35 "android.hardware.wifi@1.0",
36 ],
37 static_libs: ["VtsHalHidlTargetTestBase"],
38}
39
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080040cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080041 name: "VtsHalWifiV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070042 defaults: ["VtsHalTargetTestDefaults"],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080043 srcs: [
Etan Cohen2d523c02017-03-23 08:11:47 -070044 "VtsHalWifiV1_0TargetTest.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080045 "wifi_ap_iface_hidl_test.cpp",
46 "wifi_chip_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080047 "wifi_p2p_iface_hidl_test.cpp",
48 "wifi_rtt_controller_hidl_test.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070049 "wifi_sta_iface_hidl_test.cpp",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080050 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070051 static_libs: [
52 "VtsHalWifiV1_0TargetTestUtil",
53 "android.hardware.wifi@1.0",
Etan Cohena49579b2017-03-10 10:43:31 -080054 ],
55}
56
57cc_test {
58 name: "VtsHalWifiNanV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070059 defaults: ["VtsHalTargetTestDefaults"],
Etan Cohen2d523c02017-03-23 08:11:47 -070060 srcs: [
61 "VtsHalWifiV1_0TargetTest.cpp",
Tri Vo6c2bd862017-08-01 13:14:53 -070062 "wifi_nan_iface_hidl_test.cpp",
Etan Cohena49579b2017-03-10 10:43:31 -080063 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070064 static_libs: [
65 "VtsHalWifiV1_0TargetTestUtil",
66 "android.hardware.wifi@1.0",
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080067 ],
Roshan Pius1ae4cbb2016-12-06 18:59:15 -080068}