1# Copyright (C) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13import("//build/ohos.gni") 14 15SUBSYSTEM_DIR = "../../.." 16 17config("public_config_satellite_call_api") { 18 # header file path 19 include_dirs = [ 20 "${SUBSYSTEM_DIR}/interfaces/innerkits/satellite", 21 "${SUBSYSTEM_DIR}/services/common/include", 22 ] 23} 24 25ohos_shared_library("tel_satellite_call_api") { 26 sanitize = { 27 cfi = true 28 cfi_cross_dso = true 29 debug = false 30 } 31 branch_protector_ret = "pac_ret" 32 version_script = "tel_satellite_call_api.versionscript" 33 sources = [ "${SUBSYSTEM_DIR}/services/satellite_service_interaction/src/satellite_call_callback_proxy.cpp" ] 34 35 public_configs = [ ":public_config_satellite_call_api" ] 36 37 external_deps = [ 38 "c_utils:utils", 39 "call_manager:tel_call_manager_api", 40 "core_service:libtel_common", 41 "core_service:tel_core_service_api", 42 "hilog:libhilog", 43 "init:libbegetutil", 44 "ipc:ipc_single", 45 ] 46 47 defines = [ 48 "TELEPHONY_LOG_TAG = \"SatelliteCallApi\"", 49 "LOG_DOMAIN = 0xD001F09", 50 ] 51 52 innerapi_tags = [ "platformsdk" ] 53 54 part_name = "cellular_call" 55 subsystem_name = "telephony" 56} 57