代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/telephony_sms_mms 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (C) 2021-2023 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.
# GLIB - Library of useful routines for C programming
import("//build/ohos.gni")
config("tel_sms_mms_config") {
visibility = [ "./*" ]
include_dirs = [
"utils",
"services/sms/include",
"services/sms/include/cdma",
"services/sms/include/gsm",
"services/sms/include/satellite",
"services/mms/include",
"services/telephony_ext_wrapper/include",
]
}
ohos_shared_library("tel_sms_mms") {
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
branch_protector_ret = "pac_ret"
sources = [
"frameworks/native/sms/src/short_message.cpp",
"services/mms/data_request.cpp",
"services/mms/mms_apn_info.cpp",
"services/mms/mms_conn_callback_stub.cpp",
"services/mms/mms_network_client.cpp",
"services/mms/mms_network_manager.cpp",
"services/mms/mms_persist_helper.cpp",
"services/mms/mms_receive.cpp",
"services/mms/mms_receive_manager.cpp",
"services/mms/mms_send_manager.cpp",
"services/mms/mms_sender.cpp",
"services/sms/cdma/cdma_sms_message.cpp",
"services/sms/cdma/cdma_sms_parameter_record.cpp",
"services/sms/cdma/cdma_sms_receive_handler.cpp",
"services/sms/cdma/cdma_sms_sender.cpp",
"services/sms/cdma/cdma_sms_sub_parameter.cpp",
"services/sms/cdma/cdma_sms_teleservice_message.cpp",
"services/sms/cdma/cdma_sms_transport_message.cpp",
"services/sms/gsm/cb_start_ability.cpp",
"services/sms/gsm/gsm_sms_cb_handler.cpp",
"services/sms/gsm/gsm_sms_common_utils.cpp",
"services/sms/gsm/gsm_sms_message.cpp",
"services/sms/gsm/gsm_sms_param_codec.cpp",
"services/sms/gsm/gsm_sms_param_decode.cpp",
"services/sms/gsm/gsm_sms_param_encode.cpp",
"services/sms/gsm/gsm_sms_receive_handler.cpp",
"services/sms/gsm/gsm_sms_sender.cpp",
"services/sms/gsm/gsm_sms_tpdu_codec.cpp",
"services/sms/gsm/gsm_sms_tpdu_decode.cpp",
"services/sms/gsm/gsm_sms_tpdu_encode.cpp",
"services/sms/gsm/gsm_user_data_decode.cpp",
"services/sms/gsm/gsm_user_data_encode.cpp",
"services/sms/gsm/gsm_user_data_pdu.cpp",
"services/sms/gsm_cb_codec.cpp",
"services/sms/gsm_cb_gsm_codec.cpp",
"services/sms/gsm_cb_pdu_decode_buffer.cpp",
"services/sms/gsm_cb_umts_codec.cpp",
"services/sms/ims_reg_state_callback_stub.cpp",
"services/sms/ims_service_interaction/src/ims_sms_callback_stub.cpp",
"services/sms/ims_service_interaction/src/ims_sms_client.cpp",
"services/sms/ims_service_interaction/src/ims_sms_proxy.cpp",
"services/sms/proxy/sms_delivery_short_message_proxy.cpp",
"services/sms/proxy/sms_send_short_message_proxy.cpp",
"services/sms/satellite_service_interaction/src/satellite_sms_callback.cpp",
"services/sms/satellite_service_interaction/src/satellite_sms_callback_stub.cpp",
"services/sms/satellite_service_interaction/src/satellite_sms_client.cpp",
"services/sms/satellite_service_interaction/src/satellite_sms_proxy.cpp",
"services/sms/sms_base_message.cpp",
"services/sms/sms_broadcast_subscriber_receiver.cpp",
"services/sms/sms_dump_helper.cpp",
"services/sms/sms_interface_manager.cpp",
"services/sms/sms_interface_stub.cpp",
"services/sms/sms_misc_manager.cpp",
"services/sms/sms_mms_common.cpp",
"services/sms/sms_network_policy_manager.cpp",
"services/sms/sms_pdu_buffer.cpp",
"services/sms/sms_persist_helper.cpp",
"services/sms/sms_receive_handler.cpp",
"services/sms/sms_receive_indexer.cpp",
"services/sms/sms_receive_manager.cpp",
"services/sms/sms_receive_reliability_handler.cpp",
"services/sms/sms_send_indexer.cpp",
"services/sms/sms_send_manager.cpp",
"services/sms/sms_sender.cpp",
"services/sms/sms_service.cpp",
"services/sms/sms_state_handler.cpp",
"services/sms/sms_state_observer.cpp",
"services/sms/sms_wap_push_buffer.cpp",
"services/sms/sms_wap_push_content_type.cpp",
"services/sms/sms_wap_push_handler.cpp",
"services/telephony_ext_wrapper/src/telephony_ext_wrapper.cpp",
"utils/sms_common_utils.cpp",
"utils/sms_hisysevent.cpp",
"utils/string_utils.cpp",
"utils/text_coder.cpp",
]
include_dirs = [
":tel_sms_mms_config",
"interfaces/innerkits/",
"frameworks/native/sms/include",
"interfaces/innerkits/ims",
]
deps = [
"frameworks/native:tel_sms_mms_api",
"frameworks/native/mms:mms_native_source",
]
external_deps = [
"ability_base:want",
"ability_base:zuri",
"ability_runtime:ability_manager",
"c_utils:utils",
"common_event_service:cesfwk_innerkits",
"core_service:libtel_common",
"core_service:tel_core_service_api",
"curl:curl_shared",
"data_share:datashare_consumer",
"eventhandler:libeventhandler",
"glib:glib",
"hilog:libhilog",
"hisysevent:libhisysevent",
"icu:shared_icui18n",
"icu:shared_icuuc",
"ipc:ipc_single",
"libphonenumber:geocoding",
"libphonenumber:phonenumber_standard",
"netmanager_base:net_conn_manager_if",
"netstack:http_client",
"os_account:os_account_innerkits",
"power_manager:power_ffrt",
"protobuf:protobuf",
"resource_management:global_resmgr",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"telephony_data:tel_telephony_data",
]
defines = [
"TELEPHONY_LOG_TAG = \"SmsMms\"",
"LOG_DOMAIN = 0xD001F06",
]
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" ]
}
public_configs = [ ":tel_sms_mms_config" ]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
if (is_standard_system) {
external_deps += [ "init:libbegetutil" ]
}
if (defined(global_parts_info) &&
defined(global_parts_info.telephony_telephony_enhanced) &&
global_parts_info.telephony_telephony_enhanced) {
print(
"telephony_telephony_enhanced = ${global_parts_info.telephony_telephony_enhanced}")
defines += [ "OHOS_BUILD_ENABLE_TELEPHONY_EXT" ]
}
part_name = "sms_mms"
subsystem_name = "telephony"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。