1// Copyright 2021 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 // See: http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // all of the 'license_kinds' from "hardware_interfaces_license" 19 // to get the below license kinds: 20 // SPDX-license-identifier-Apache-2.0 21 default_applicable_licenses: ["hardware_interfaces_license"], 22} 23 24cc_test { 25 name: "VtsHalRadioTargetTest", 26 defaults: [ 27 "VtsHalTargetTestDefaults", 28 "use_libaidlvintf_gtest_helper_static", 29 ], 30 tidy_timeout_srcs: [ 31 "radio_messaging_test.cpp", 32 "radio_network_test.cpp", 33 "radio_sim_test.cpp", 34 "radio_voice_test.cpp", 35 ], 36 srcs: [ 37 "radio_aidl_hal_utils.cpp", 38 "radio_config_indication.cpp", 39 "radio_config_response.cpp", 40 "radio_config_test.cpp", 41 "radio_data_indication.cpp", 42 "radio_data_response.cpp", 43 "radio_data_test.cpp", 44 "radio_messaging_indication.cpp", 45 "radio_messaging_response.cpp", 46 "radio_messaging_test.cpp", 47 "radio_modem_indication.cpp", 48 "radio_modem_response.cpp", 49 "radio_modem_test.cpp", 50 "radio_network_indication.cpp", 51 "radio_network_response.cpp", 52 "radio_network_test.cpp", 53 "radio_sim_indication.cpp", 54 "radio_sim_response.cpp", 55 "radio_sim_test.cpp", 56 "radio_voice_indication.cpp", 57 "radio_voice_response.cpp", 58 "radio_voice_test.cpp", 59 "VtsHalRadioTargetTest.cpp", 60 ], 61 shared_libs: [ 62 "libbinder_ndk", 63 "libvintf", 64 ], 65 static_libs: [ 66 "android.hardware.radio-V1-ndk", 67 "android.hardware.radio.config-V1-ndk", 68 "android.hardware.radio.data-V1-ndk", 69 "android.hardware.radio.messaging-V1-ndk", 70 "android.hardware.radio.modem-V1-ndk", 71 "android.hardware.radio.network-V1-ndk", 72 "android.hardware.radio.sim-V1-ndk", 73 "android.hardware.radio.voice-V1-ndk", 74 ], 75 test_suites: [ 76 "general-tests", 77 "vts", 78 ], 79} 80