Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 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 | |
| 17 | cc_test { |
Zhuoyao Zhang | f7693ee | 2017-02-16 14:58:55 -0800 | [diff] [blame] | 18 | name: "VtsHalRadioV1_0TargetTest", |
Steven Moreland | 691a455 | 2017-03-08 15:58:46 -0800 | [diff] [blame] | 19 | defaults: ["hidl_defaults"], |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 20 | srcs: ["radio_hidl_hal_cell_broadcast.cpp", |
Shuoq | 59bac4d | 2017-03-09 17:44:08 -0800 | [diff] [blame] | 21 | "radio_hidl_hal_data.cpp", |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 22 | "radio_hidl_hal_icc.cpp", |
Shuoq | 59bac4d | 2017-03-09 17:44:08 -0800 | [diff] [blame] | 23 | "radio_hidl_hal_ims.cpp", |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 24 | "radio_hidl_hal_misc.cpp", |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame] | 25 | "radio_hidl_hal_sms.cpp", |
Shuoq | 59bac4d | 2017-03-09 17:44:08 -0800 | [diff] [blame] | 26 | "radio_hidl_hal_stk.cpp", |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 27 | "radio_hidl_hal_test.cpp", |
| 28 | "radio_hidl_hal_voice.cpp", |
sqian | 54d88b7 | 2017-07-12 12:37:07 -0700 | [diff] [blame] | 29 | "radio_indication.cpp", |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 30 | "radio_response.cpp", |
sqian | 42c66f7 | 2017-05-30 13:30:08 -0700 | [diff] [blame] | 31 | "VtsHalRadioV1_0TargetTest.cpp", |
| 32 | "vts_test_util.cpp"], |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 33 | shared_libs: [ |
| 34 | "libbase", |
| 35 | "liblog", |
| 36 | "libcutils", |
| 37 | "libhidlbase", |
| 38 | "libhidltransport", |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 39 | "libnativehelper", |
| 40 | "libutils", |
| 41 | "android.hardware.radio@1.0", |
| 42 | ], |
Yuexi Ma | 6b87201 | 2017-03-10 00:42:13 -0800 | [diff] [blame] | 43 | static_libs: ["VtsHalHidlTargetTestBase"], |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 44 | cflags: [ |
| 45 | "-O0", |
| 46 | "-g", |
| 47 | ], |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame] | 48 | } |
Shuoq | ca02ad4 | 2017-03-23 17:22:50 -0700 | [diff] [blame] | 49 | |
| 50 | cc_test { |
| 51 | name: "VtsHalSapV1_0TargetTest", |
| 52 | defaults: ["hidl_defaults"], |
| 53 | srcs: ["sap_callback.cpp", |
| 54 | "sap_hidl_hal_api.cpp", |
| 55 | "sap_hidl_hal_test.cpp", |
sqian | 42c66f7 | 2017-05-30 13:30:08 -0700 | [diff] [blame] | 56 | "VtsHalSapV1_0TargetTest.cpp", |
| 57 | "vts_test_util.cpp"], |
Shuoq | ca02ad4 | 2017-03-23 17:22:50 -0700 | [diff] [blame] | 58 | shared_libs: [ |
| 59 | "libbase", |
| 60 | "liblog", |
| 61 | "libcutils", |
| 62 | "libhidlbase", |
| 63 | "libhidltransport", |
| 64 | "libnativehelper", |
| 65 | "libutils", |
| 66 | "android.hardware.radio@1.0", |
| 67 | ], |
| 68 | static_libs: ["VtsHalHidlTargetTestBase"], |
| 69 | cflags: [ |
| 70 | "-O0", |
| 71 | "-g", |
| 72 | ], |
| 73 | } |
sqian | 0c74fc7 | 2017-05-24 15:08:25 -0700 | [diff] [blame] | 74 | |
| 75 | cc_library_static { |
sqian | 0c74fc7 | 2017-05-24 15:08:25 -0700 | [diff] [blame] | 76 | name: "RadioVtsTestUtilBase", |
| 77 | srcs : [ |
| 78 | "vts_test_util.cpp" |
| 79 | ], |
| 80 | } |
| 81 | |
| 82 | cc_library_headers { |
| 83 | name: "radio.util.header@1.0", |
| 84 | export_include_dirs: ["."], |
| 85 | } |