# 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("//build/ohos.gni") RIL_ADAPTER = "../.." RIL_VENDOR = "$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 = [ "$RIL_ADAPTER/interfaces/innerkits:hril_innerkits" ] external_deps = [ "bounds_checking_function:libsec_shared", "c_utils:utils", "hilog:libhilog", "init:libbegetutil", ] install_images = [ chipset_base_dir ] part_name = "ril_adapter" subsystem_name = "telephony" }