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 17package { 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 26cc_test { 27 name: "VtsHalRadioV1_0TargetTest", 28 defaults: ["VtsHalTargetTestDefaults"], 29 srcs: [ 30 "radio_hidl_hal_cell_broadcast.cpp", 31 "radio_hidl_hal_data.cpp", 32 "radio_hidl_hal_icc.cpp", 33 "radio_hidl_hal_ims.cpp", 34 "radio_hidl_hal_misc.cpp", 35 "radio_hidl_hal_sms.cpp", 36 "radio_hidl_hal_stk.cpp", 37 "radio_hidl_hal_test.cpp", 38 "radio_hidl_hal_voice.cpp", 39 "radio_indication.cpp", 40 "radio_response.cpp", 41 "VtsHalRadioV1_0TargetTest.cpp", 42 "vts_test_util.cpp", 43 ], 44 static_libs: [ 45 "android.hardware.radio@1.0", 46 "android.hardware.radio@1.1", 47 "android.hardware.radio@1.2", 48 ], 49 test_config: "vts_hal_radio_target_test.xml", 50 test_suites: [ 51 "general-tests", 52 "vts", 53 ], 54} 55 56cc_test { 57 name: "VtsHalSapV1_0TargetTest", 58 defaults: ["VtsHalTargetTestDefaults"], 59 srcs: [ 60 "sap_callback.cpp", 61 "sap_hidl_hal_api.cpp", 62 "sap_hidl_hal_test.cpp", 63 "VtsHalSapV1_0TargetTest.cpp", 64 "vts_test_util.cpp", 65 ], 66 static_libs: [ 67 "android.hardware.radio@1.0", 68 ], 69 test_config: "vts_hal_sap_target_test.xml", 70 test_suites: [ 71 "general-tests", 72 "vts", 73 ], 74} 75 76cc_library_static { 77 name: "RadioVtsTestUtilBase", 78 defaults: ["VtsHalTargetTestDefaults"], 79 srcs: [ 80 "vts_test_util.cpp", 81 ], 82 shared_libs: [ 83 "android.hardware.radio@1.0", 84 ], 85} 86 87cc_library_headers { 88 name: "radio.util.header@1.0", 89 export_include_dirs: ["."], 90} 91