1 Star 0 Fork 280

fudandan9605/telephony_cellular_call_1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 4.19 KB
一键复制 编辑 原始数据 按行查看 历史
lidapeng8314 提交于 2024-11-19 16:15 . 修改依赖库加载条件
# Copyright (C) 2021-2022 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")
ohos_shared_library("tel_cellular_call") {
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
branch_protector_ret = "pac_ret"
sources = [
"services/common/src/base_request.cpp",
"services/common/src/cellular_call_hisysevent.cpp",
"services/common/src/cellular_call_rdb_helper.cpp",
"services/common/src/mmi_code_message.cpp",
"services/common/src/supplement_request_cs.cpp",
"services/common/src/supplement_request_ims.cpp",
"services/connection/src/base_connection.cpp",
"services/connection/src/cellular_call_connection_cs.cpp",
"services/connection/src/cellular_call_connection_ims.cpp",
"services/connection/src/cellular_call_connection_satellite.cpp",
"services/control/src/control_base.cpp",
"services/control/src/cs_control.cpp",
"services/control/src/ims_control.cpp",
"services/control/src/ims_video_call_control.cpp",
"services/control/src/satellite_control.cpp",
"services/ims_service_interaction/src/ims_call_callback_stub.cpp",
"services/ims_service_interaction/src/ims_call_client.cpp",
"services/ims_service_interaction/src/ims_call_proxy.cpp",
"services/manager/src/cellular_call_callback.cpp",
"services/manager/src/cellular_call_handler.cpp",
"services/manager/src/cellular_call_register.cpp",
"services/manager/src/cellular_call_service.cpp",
"services/manager/src/cellular_call_stub.cpp",
"services/satellite_service_interaction/src/satellite_call_callback_stub.cpp",
"services/satellite_service_interaction/src/satellite_call_client.cpp",
"services/satellite_service_interaction/src/satellite_call_proxy.cpp",
"services/utils/src/cellular_call_config.cpp",
"services/utils/src/cellular_call_dump_helper.cpp",
"services/utils/src/cellular_call_supplement.cpp",
"services/utils/src/config_request.cpp",
"services/utils/src/emergency_utils.cpp",
"services/utils/src/mmi_code_utils.cpp",
"services/utils/src/module_service_utils.cpp",
"services/utils/src/standardize_utils.cpp",
]
include_dirs = [
"interfaces/innerkits/ims",
"interfaces/innerkits/ims_common",
"interfaces/innerkits/satellite",
"services/common/include",
"services/manager/include",
"services/control/include",
"services/connection/include",
"services/utils/include",
]
defines = [
"TELEPHONY_LOG_TAG = \"CellularCall\"",
"LOG_DOMAIN = 0xD001F11",
]
external_deps = [
"ability_base:want",
"ability_base:zuri",
"ability_runtime:dataobs_manager",
"cJSON:cjson",
"c_utils:utils",
"call_manager:tel_call_manager_api",
"common_event_service:cesfwk_innerkits",
"core_service:libtel_common",
"core_service:tel_core_service_api",
"data_share:datashare_common",
"data_share:datashare_consumer",
"eventhandler:libeventhandler",
"graphic_surface:surface",
"hilog:libhilog",
"hisysevent:libhisysevent",
"hitrace:hitrace_meter",
"init:libbegetutil",
"ipc:ipc_single",
"libphonenumber:phonenumber_standard",
"resource_management:global_resmgr",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"telephony_data:tel_telephony_data",
]
cflags_cc = [
"-fstack-protector-all",
"-O2",
"-D_FORTIFY_SOURCE=2",
]
if (device_name == "rk3568") {
defines += [ "CALL_MANAGER_AUTO_START_OPTIMIZE" ]
}
if (defined(global_parts_info) &&
defined(global_parts_info.security_security_guard)) {
external_deps += [ "security_guard:libsg_collect_sdk" ]
defines += [ "SECURITY_GUARDE_ENABLE" ]
}
part_name = "cellular_call"
subsystem_name = "telephony"
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fudandan9605/telephony_cellular_call_1.git
git@gitee.com:fudandan9605/telephony_cellular_call_1.git
fudandan9605
telephony_cellular_call_1
telephony_cellular_call_1
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385