// // Copyright (C) 2025 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "device_generic_goldfish_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["device_generic_goldfish_license"], } cc_binary { name: "android.hardware.radio-service.ranchu", relative_install_path: "hw", vendor: true, cpp_std: "c++20", srcs: [ "AtChannel.cpp", "AtResponse.cpp", "hexbin.cpp", "IdAllocator.cpp", "ImsMedia.cpp", "main.cpp", "makeRadioResponseInfo.cpp", "Parser.cpp", "ratUtils.cpp", "RadioConfig.cpp", "RadioData.cpp", "RadioIms.cpp", "RadioMessaging.cpp", "RadioModem.cpp", "RadioNetwork.cpp", "RadioSim.cpp", "RadioVoice.cpp", "Sap.cpp", ], init_rc: ["android.hardware.radio.ranchu.rc"], vintf_fragments: ["android.hardware.radio.ranchu.xml"], shared_libs: [ "android.hardware.radio.config-V3-ndk", "android.hardware.radio.data-V3-ndk", "android.hardware.radio.ims-V2-ndk", "android.hardware.radio.ims.media-V2-ndk", "android.hardware.radio.messaging-V3-ndk", "android.hardware.radio.modem-V3-ndk", "android.hardware.radio.network-V3-ndk", "android.hardware.radio.sap-V1-ndk", "android.hardware.radio.sim-V3-ndk", "android.hardware.radio.voice-V3-ndk", "libbase", "libbinder_ndk", "libcrypto", "libcutils", "liblog", "libutils", ], cflags: [ "-DLOG_TAG=\"radio-service.ranchu\"", "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION", ], required: [ "EmulatorRadioConfig", "EmulatorTetheringConfigOverlay", ], }