# Copyright (C) 2021 Huawei Device Co., Ltd. # 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. import("//base/telephony/core_service/telephony.gni") import("//build/ohos.gni") RIL_ADAPTER = "//base/telephony/ril_adapter" RIL_VENDOR = "//base/telephony/ril_adapter/services/vendor/src" ohos_shared_library("ril_vendor") { sources = [ "$RIL_VENDOR/at_call.c", "$RIL_VENDOR/at_data.c", "$RIL_VENDOR/at_modem.c", "$RIL_VENDOR/at_network.c", "$RIL_VENDOR/at_sim.c", "$RIL_VENDOR/at_sms.c", "$RIL_VENDOR/at_support.c", "$RIL_VENDOR/vendor_adapter.c", "$RIL_VENDOR/vendor_channel.c", "$RIL_VENDOR/vendor_report.c", "$RIL_VENDOR/vendor_util.c", ] include_dirs = [ "$RIL_ADAPTER/services/vendor/include" ] configs = [ "$RIL_ADAPTER/utils:utils_config" ] defines += [ "LOG_TAG = \"RilVendor\"", "LOG_DOMAIN = 0xD001F08", ] deps = [ "//base/telephony/ril_adapter/interfaces/innerkits:hril_innerkits" ] external_deps = [ "c_utils:utils", "init:libbegetutil", ] if (is_standard_system) { external_deps += [ "hiviewdfx_hilog_native:libhilog" ] } else { external_deps += [ "hilog:libhilog" ] } install_images = [ chipset_base_dir ] part_name = "ril_adapter" subsystem_name = "telephony" }