代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/telephony_core_service 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (C) 2021-2024 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")
import("telephony_core_service.gni")
TELEPHONY_NETWORK_SEARCH_ROOT = "services/network_search"
TELEPHONY_SIM_ROOT = "services/sim"
TELEPHONY_TEL_RIL_ROOT = "services/tel_ril"
TELEPHONY_IMS_CORE_SERVICE_SRC_PATH = "services/ims_service_interaction/src"
TELEPHONY_SATELLITE_CORE_SERVICE_SRC_PATH =
"services/satellite_service_interaction/src"
TELEPHONY_EXT_WRAPPER_ROOT = "services/telephony_ext_wrapper"
ohos_shared_library("tel_core_service") {
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
branch_protector_ret = "pac_ret"
install_enable = true
sources = [
"$TELEPHONY_EXT_WRAPPER_ROOT/src/telephony_ext_wrapper.cpp",
"$TELEPHONY_IMS_CORE_SERVICE_SRC_PATH/ims_core_service_callback_stub.cpp",
"$TELEPHONY_IMS_CORE_SERVICE_SRC_PATH/ims_core_service_client.cpp",
"$TELEPHONY_IMS_CORE_SERVICE_SRC_PATH/ims_core_service_proxy.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/cell_info.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/device_state_handler.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/device_state_observer.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/ims_reg_info_callback_proxy.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_register.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_search_callback_proxy.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_search_handler.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_search_manager.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_search_notify.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_search_state.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_selection.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_type.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/network_utils.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/nitz_update.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/nr_ssb_info.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/operator_name.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/operator_name_utils.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/radio_info.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/setting_utils.cpp",
"$TELEPHONY_NETWORK_SEARCH_ROOT/src/signal_info.cpp",
"$TELEPHONY_SATELLITE_CORE_SERVICE_SRC_PATH/satellite_core_callback.cpp",
"$TELEPHONY_SATELLITE_CORE_SERVICE_SRC_PATH/satellite_core_callback_stub.cpp",
"$TELEPHONY_SATELLITE_CORE_SERVICE_SRC_PATH/satellite_service_client.cpp",
"$TELEPHONY_SATELLITE_CORE_SERVICE_SRC_PATH/satellite_service_proxy.cpp",
"$TELEPHONY_SIM_ROOT/src/csim_file_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_dialling_numbers_cache.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_dialling_numbers_handler.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_dialling_numbers_manager.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_file.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_file_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_operator_privilege_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_operator_rule.cpp",
"$TELEPHONY_SIM_ROOT/src/icc_state.cpp",
"$TELEPHONY_SIM_ROOT/src/isim_file.cpp",
"$TELEPHONY_SIM_ROOT/src/isim_file_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/mcc_pool.cpp",
"$TELEPHONY_SIM_ROOT/src/multi_sim_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/multi_sim_monitor.cpp",
"$TELEPHONY_SIM_ROOT/src/operator_config_cache.cpp",
"$TELEPHONY_SIM_ROOT/src/operator_config_loader.cpp",
"$TELEPHONY_SIM_ROOT/src/operator_file_parser.cpp",
"$TELEPHONY_SIM_ROOT/src/operator_matching_rule.cpp",
"$TELEPHONY_SIM_ROOT/src/pdp_profile_rdb_helper.cpp",
"$TELEPHONY_SIM_ROOT/src/plmn_file.cpp",
"$TELEPHONY_SIM_ROOT/src/radio_protocol_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/ruim_file.cpp",
"$TELEPHONY_SIM_ROOT/src/ruim_file_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_account_manager.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_char_decode.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_file.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_file_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_file_manager.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_manager.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_number_decode.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_rdb_helper.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_sms_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_sms_manager.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_state_handle.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_state_manager.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_state_tracker.cpp",
"$TELEPHONY_SIM_ROOT/src/sim_utils.cpp",
"$TELEPHONY_SIM_ROOT/src/stk_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/stk_manager.cpp",
"$TELEPHONY_SIM_ROOT/src/tag_service.cpp",
"$TELEPHONY_SIM_ROOT/src/telephony_data_helper.cpp",
"$TELEPHONY_SIM_ROOT/src/usim_dialling_numbers_service.cpp",
"$TELEPHONY_SIM_ROOT/src/usim_file_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/voice_mail_constants.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/observer_handler.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_base.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_call.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_callback.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_data.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_handler.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_manager.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_modem.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_network.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_sim.cpp",
"$TELEPHONY_TEL_RIL_ROOT/src/tel_ril_sms.cpp",
"services/core/src/core_service.cpp",
"services/core/src/core_service_dump_helper.cpp",
"services/core/src/core_service_hisysevent.cpp",
"services/core/src/core_service_stub.cpp",
]
if (core_service_support_esim) {
sources += [
"$TELEPHONY_SIM_ROOT/src/esim_controller.cpp",
"$TELEPHONY_SIM_ROOT/src/esim_file.cpp",
]
}
include_dirs = [
"$TELEPHONY_SIM_ROOT/include",
"$TELEPHONY_TEL_RIL_ROOT/include",
"$TELEPHONY_NETWORK_SEARCH_ROOT/include",
"$TELEPHONY_EXT_WRAPPER_ROOT/include",
"services/core/include",
"services/satellite_service_interaction/include",
"utils/log/include",
]
if (core_service_support_esim) {
include_dirs += [
"utils/codec/include",
"utils/vcard/include",
]
}
configs = [ "utils:telephony_log_config" ]
defines = [
"TELEPHONY_LOG_TAG = \"CoreService\"",
"LOG_DOMAIN = 0xD001F04",
"OPENSSL_SUPPRESS_DEPRECATED",
]
defines += telephony_extra_defines
deps = [
"interfaces/innerkits:tel_core_service_api",
"utils:libtel_common",
"//third_party/libphonenumber/cpp:phonenumber_standard",
"//third_party/libpng:libpng",
"//third_party/libxml2:libxml2",
"//third_party/openssl:libcrypto_shared",
]
if (core_service_support_esim) {
deps += [ "utils:libtel_vcard" ]
}
external_deps = [
"ability_base:want",
"ability_base:zuri",
"ability_runtime:ability_deps_wrapper",
"ability_runtime:ability_manager",
"ability_runtime:app_manager",
"ability_runtime:data_ability_helper",
"ability_runtime:dataobs_manager",
"ability_runtime:wantagent_innerkits",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"cJSON:cjson",
"c_utils:utils",
"common_event_service:cesfwk_innerkits",
"config_policy:configpolicy_util",
"data_share:datashare_common",
"data_share:datashare_consumer",
"drivers_interface_ril:libril_proxy_1.1",
"drivers_interface_ril:libril_proxy_1.2",
"drivers_interface_ril:libril_proxy_1.3",
"eventhandler:libeventhandler",
"ffrt:libffrt",
"hdf_core:libhdi",
"hdf_core:libpub_utils",
"hilog:libhilog",
"hisysevent:libhisysevent",
"huks:libhukssdk",
"i18n:intl_util",
"i18n:zone_util",
"init:libbegetutil",
"ipc:ipc_single",
"netmanager_base:net_conn_manager_if",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"telephony_data:tel_telephony_data",
"time_service:time_client",
]
if (defined(global_parts_info) &&
defined(global_parts_info.communication_netmanager_ext) &&
global_parts_info.communication_netmanager_ext) {
external_deps += [ "netmanager_ext:net_tether_manager_if" ]
defines += [ "ABILITY_NETMANAGER_EXT_SUPPORT" ]
}
if (defined(global_parts_info) &&
defined(global_parts_info.powermgr_power_manager) &&
global_parts_info.powermgr_power_manager) {
external_deps += [ "power_manager:powermgr_client" ]
defines += [ "ABILITY_POWER_SUPPORT" ]
}
if (defined(global_parts_info) &&
defined(global_parts_info.powermgr_battery_manager) &&
global_parts_info.powermgr_battery_manager) {
external_deps += [ "battery_manager:batterysrv_client" ]
defines += [ "ABILITY_BATTERY_SUPPORT" ]
}
if (defined(global_parts_info) &&
defined(global_parts_info.location_location) &&
global_parts_info.location_location) {
external_deps += [
"location:lbsservice_common",
"location:locator_sdk",
]
defines += [ "ABILITY_LOCATION_SUPPORT" ]
}
if (telephony_hicollie_able) {
external_deps += [ "hicollie:libhicollie" ]
defines += [ "HICOLLIE_ENABLE" ]
}
part_name = "core_service"
subsystem_name = "telephony"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。