Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 1 | // |
| 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 Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 17 | cc_library_static { |
| 18 | name: "VtsHalWifiV1_0TargetTestUtil", |
| 19 | srcs: [ |
Etan Cohen | 2d523c0 | 2017-03-23 08:11:47 -0700 | [diff] [blame] | 20 | |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 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 Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 37 | cc_test { |
Zhuoyao Zhang | f7693ee | 2017-02-16 14:58:55 -0800 | [diff] [blame] | 38 | name: "VtsHalWifiV1_0TargetTest", |
Steven Moreland | 691a455 | 2017-03-08 15:58:46 -0800 | [diff] [blame] | 39 | defaults: ["hidl_defaults"], |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 40 | srcs: [ |
Etan Cohen | 2d523c0 | 2017-03-23 08:11:47 -0700 | [diff] [blame] | 41 | "VtsHalWifiV1_0TargetTest.cpp", |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 42 | "wifi_ap_iface_hidl_test.cpp", |
| 43 | "wifi_chip_hidl_test.cpp", |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 44 | "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 Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 53 | "libnativehelper", |
| 54 | "libutils", |
| 55 | "android.hardware.wifi@1.0", |
| 56 | ], |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 57 | static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"], |
| 58 | cflags: [ |
| 59 | "-O0", |
| 60 | "-g", |
| 61 | ], |
| 62 | } |
| 63 | |
| 64 | cc_test { |
| 65 | name: "VtsHalWifiNanV1_0TargetTest", |
| 66 | defaults: ["hidl_defaults"], |
Etan Cohen | 2d523c0 | 2017-03-23 08:11:47 -0700 | [diff] [blame] | 67 | srcs: [ |
| 68 | "VtsHalWifiV1_0TargetTest.cpp", |
| 69 | "wifi_nan_iface_hidl_test.cpp"], |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame] | 70 | 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 Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 81 | cflags: [ |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 82 | "-O0", |
| 83 | "-g", |
| 84 | ], |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 85 | } |