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 | |
Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame^] | 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 26 | cc_test { |
Zhuoyao Zhang | f7693ee | 2017-02-16 14:58:55 -0800 | [diff] [blame] | 27 | name: "VtsHalRadioV1_0TargetTest", |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 28 | defaults: ["VtsHalTargetTestDefaults"], |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 29 | srcs: ["radio_hidl_hal_cell_broadcast.cpp", |
Shuoq | 59bac4d | 2017-03-09 17:44:08 -0800 | [diff] [blame] | 30 | "radio_hidl_hal_data.cpp", |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 31 | "radio_hidl_hal_icc.cpp", |
Shuoq | 59bac4d | 2017-03-09 17:44:08 -0800 | [diff] [blame] | 32 | "radio_hidl_hal_ims.cpp", |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 33 | "radio_hidl_hal_misc.cpp", |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame] | 34 | "radio_hidl_hal_sms.cpp", |
Shuoq | 59bac4d | 2017-03-09 17:44:08 -0800 | [diff] [blame] | 35 | "radio_hidl_hal_stk.cpp", |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 36 | "radio_hidl_hal_test.cpp", |
| 37 | "radio_hidl_hal_voice.cpp", |
sqian | e635772 | 2017-07-17 11:10:58 -0700 | [diff] [blame] | 38 | "radio_indication.cpp", |
Sanket Padawe | 28fc10f | 2017-03-16 11:49:39 -0700 | [diff] [blame] | 39 | "radio_response.cpp", |
sqian | 0e8a3be | 2017-05-24 15:57:31 -0700 | [diff] [blame] | 40 | "VtsHalRadioV1_0TargetTest.cpp", |
| 41 | "vts_test_util.cpp"], |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 42 | static_libs: [ |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 43 | "android.hardware.radio@1.0", |
| 44 | ], |
Dan Shi | 8caedd0 | 2019-10-21 11:32:21 -0700 | [diff] [blame] | 45 | test_config: "vts_hal_radio_target_test.xml", |
Dan Shi | ba894f8 | 2020-03-26 00:06:39 -0700 | [diff] [blame] | 46 | test_suites: ["general-tests", "vts"], |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame] | 47 | } |
Shuoq | ca02ad4 | 2017-03-23 17:22:50 -0700 | [diff] [blame] | 48 | |
| 49 | cc_test { |
| 50 | name: "VtsHalSapV1_0TargetTest", |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 51 | defaults: ["VtsHalTargetTestDefaults"], |
Shuoq | ca02ad4 | 2017-03-23 17:22:50 -0700 | [diff] [blame] | 52 | srcs: ["sap_callback.cpp", |
| 53 | "sap_hidl_hal_api.cpp", |
| 54 | "sap_hidl_hal_test.cpp", |
sqian | 0e8a3be | 2017-05-24 15:57:31 -0700 | [diff] [blame] | 55 | "VtsHalSapV1_0TargetTest.cpp", |
| 56 | "vts_test_util.cpp"], |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 57 | static_libs: [ |
Shuoq | ca02ad4 | 2017-03-23 17:22:50 -0700 | [diff] [blame] | 58 | "android.hardware.radio@1.0", |
| 59 | ], |
Dan Shi | 8caedd0 | 2019-10-21 11:32:21 -0700 | [diff] [blame] | 60 | test_config: "vts_hal_sap_target_test.xml", |
Dan Shi | ba894f8 | 2020-03-26 00:06:39 -0700 | [diff] [blame] | 61 | test_suites: ["general-tests", "vts"], |
Shuoq | ca02ad4 | 2017-03-23 17:22:50 -0700 | [diff] [blame] | 62 | } |
sqian | c673a94 | 2017-05-24 15:08:25 -0700 | [diff] [blame] | 63 | |
| 64 | cc_library_static { |
sqian | c673a94 | 2017-05-24 15:08:25 -0700 | [diff] [blame] | 65 | name: "RadioVtsTestUtilBase", |
sqian | 7fe9365 | 2017-12-28 12:10:37 -0800 | [diff] [blame] | 66 | defaults: ["VtsHalTargetTestDefaults"], |
sqian | c673a94 | 2017-05-24 15:08:25 -0700 | [diff] [blame] | 67 | srcs : [ |
| 68 | "vts_test_util.cpp" |
| 69 | ], |
sqian | 7fe9365 | 2017-12-28 12:10:37 -0800 | [diff] [blame] | 70 | shared_libs: [ |
| 71 | "android.hardware.radio@1.0", |
| 72 | ], |
sqian | c673a94 | 2017-05-24 15:08:25 -0700 | [diff] [blame] | 73 | } |
| 74 | |
| 75 | cc_library_headers { |
| 76 | name: "radio.util.header@1.0", |
| 77 | export_include_dirs: ["."], |
Tri Vo | 6c2bd86 | 2017-08-01 13:14:53 -0700 | [diff] [blame] | 78 | } |