1// Copyright (C) 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 default_team: "trendy_team_fwk_telephony", 17 // See: http://go/android-license-faq 18 // A large-scale-change added 'default_applicable_licenses' to import 19 // all of the 'license_kinds' from "hardware_interfaces_license" 20 // to get the below license kinds: 21 // SPDX-license-identifier-Apache-2.0 22 default_applicable_licenses: ["hardware_interfaces_license"], 23} 24 25cc_library { 26 name: "android.hardware.radio-library.compat", 27 relative_install_path: "hw", 28 vendor: true, 29 cflags: [ 30 "-Wall", 31 "-Wextra", 32 "-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION", 33 ], 34 shared_libs: [ 35 "android.hardware.radio.config-V3-ndk", 36 "android.hardware.radio.config@1.0", 37 "android.hardware.radio.config@1.1", 38 "android.hardware.radio.config@1.2", 39 "android.hardware.radio.config@1.3", 40 "android.hardware.radio.data-V3-ndk", 41 "android.hardware.radio.ims-V2-ndk", 42 "android.hardware.radio.ims.media-V2-ndk", 43 "android.hardware.radio.messaging-V3-ndk", 44 "android.hardware.radio.modem-V3-ndk", 45 "android.hardware.radio.network-V3-ndk", 46 "android.hardware.radio.sap-V1-ndk", 47 "android.hardware.radio.sim-V3-ndk", 48 "android.hardware.radio.voice-V3-ndk", 49 "android.hardware.radio@1.0", 50 "android.hardware.radio@1.1", 51 "android.hardware.radio@1.2", 52 "android.hardware.radio@1.3", 53 "android.hardware.radio@1.4", 54 "android.hardware.radio@1.5", 55 "android.hardware.radio@1.6", 56 "libbase", 57 "libbinder_ndk", 58 "libhidlbase", 59 "libutils", 60 ], 61 srcs: [ 62 "CallbackManager.cpp", 63 "DriverContext.cpp", 64 "RadioCompatBase.cpp", 65 "RadioIndication.cpp", 66 "RadioResponse.cpp", 67 "commonStructs.cpp", 68 "config/RadioConfig.cpp", 69 "config/RadioConfigIndication.cpp", 70 "config/RadioConfigResponse.cpp", 71 "config/structs.cpp", 72 "data/RadioIndication-data.cpp", 73 "data/RadioResponse-data.cpp", 74 "data/RadioData.cpp", 75 "data/structs.cpp", 76 "ims/RadioIndication-ims.cpp", 77 "ims/RadioResponse-ims.cpp", 78 "ims/RadioIms.cpp", 79 "ims/media/RadioImsMediaSession.cpp", 80 "ims/media/RadioImsMedia.cpp", 81 "messaging/RadioIndication-messaging.cpp", 82 "messaging/RadioMessaging.cpp", 83 "messaging/RadioResponse-messaging.cpp", 84 "messaging/structs.cpp", 85 "modem/RadioIndication-modem.cpp", 86 "modem/RadioResponse-modem.cpp", 87 "modem/RadioModem.cpp", 88 "modem/structs.cpp", 89 "network/RadioIndication-network.cpp", 90 "network/RadioNetwork.cpp", 91 "network/RadioResponse-network.cpp", 92 "network/structs.cpp", 93 "network/utils.cpp", 94 "sap/Sap.cpp", 95 "sap/SapCallback.cpp", 96 "sap/structs.cpp", 97 "sim/RadioIndication-sim.cpp", 98 "sim/RadioResponse-sim.cpp", 99 "sim/RadioSim.cpp", 100 "sim/structs.cpp", 101 "voice/RadioIndication-voice.cpp", 102 "voice/RadioResponse-voice.cpp", 103 "voice/RadioVoice.cpp", 104 "voice/structs.cpp", 105 ], 106 export_include_dirs: ["include"], 107} 108