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: [ |
| 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 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: [ |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 41 | "wifi_ap_iface_hidl_test.cpp", |
| 42 | "wifi_chip_hidl_test.cpp", |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 43 | "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 Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 52 | "libnativehelper", |
| 53 | "libutils", |
| 54 | "android.hardware.wifi@1.0", |
| 55 | ], |
Etan Cohen | a49579b | 2017-03-10 10:43:31 -0800 | [diff] [blame^] | 56 | static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"], |
| 57 | cflags: [ |
| 58 | "-O0", |
| 59 | "-g", |
| 60 | ], |
| 61 | } |
| 62 | |
| 63 | cc_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 Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 78 | cflags: [ |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 79 | "-O0", |
| 80 | "-g", |
| 81 | ], |
Roshan Pius | 1ae4cbb | 2016-12-06 18:59:15 -0800 | [diff] [blame] | 82 | } |