mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-23 16:09:48 +00:00
b79172bef3
Signed-off-by: liuxiyao223 <liuxiyao223@huawei.com>
172 lines
7.1 KiB
Plaintext
172 lines
7.1 KiB
Plaintext
# 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.
|
|
|
|
import("//build/ohos.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"
|
|
|
|
ohos_shared_library("tel_core_service") {
|
|
install_enable = true
|
|
|
|
sources = [
|
|
"$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/operator_name.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_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/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/usim_dialling_numbers_service.cpp",
|
|
"$TELEPHONY_SIM_ROOT/src/usim_file_controller.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",
|
|
"services/core/src/runner_pool.cpp",
|
|
]
|
|
|
|
include_dirs = [
|
|
"$TELEPHONY_SIM_ROOT/include",
|
|
"$TELEPHONY_TEL_RIL_ROOT/include",
|
|
"$TELEPHONY_NETWORK_SEARCH_ROOT/include",
|
|
"services/core/include",
|
|
"utils/log/include",
|
|
]
|
|
|
|
configs = [ "utils:telephony_log_config" ]
|
|
|
|
defines = [
|
|
"TELEPHONY_LOG_TAG = \"CoreService\"",
|
|
"LOG_DOMAIN = 0xD001F04",
|
|
"OPENSSL_SUPPRESS_DEPRECATED",
|
|
]
|
|
|
|
deps = [
|
|
"interfaces/innerkits:tel_core_service_api",
|
|
"utils:libtel_common",
|
|
"//third_party/icu/icu4c:static_icustubdata",
|
|
"//third_party/jsoncpp:jsoncpp",
|
|
"//third_party/libphonenumber/cpp:phonenumber_standard",
|
|
"//third_party/libxml2:libxml2",
|
|
"//third_party/openssl:libcrypto_shared",
|
|
"//third_party/protobuf:protobuf_lite",
|
|
]
|
|
|
|
external_deps = [
|
|
"ability_base:want",
|
|
"ability_base:zuri",
|
|
"ability_runtime:ability_deps_wrapper",
|
|
"ability_runtime:ability_manager",
|
|
"ability_runtime:data_ability_helper",
|
|
"ability_runtime:dataobs_manager",
|
|
"ability_runtime:wantagent_innerkits",
|
|
"battery_manager:batterysrv_client",
|
|
"c_utils:utils",
|
|
"common_event_service:cesfwk_innerkits",
|
|
"config_policy:configpolicy_util",
|
|
"data_share:datashare_common",
|
|
"data_share:datashare_consumer",
|
|
"drivers_interface_ril:hril_innerkits",
|
|
"drivers_interface_ril:libril_proxy_1.1",
|
|
"eventhandler:libeventhandler",
|
|
"hdf_core:libhdi",
|
|
"hdf_core:libpub_utils",
|
|
"hisysevent_native:libhisysevent",
|
|
"i18n:zone_util",
|
|
"init:libbegetutil",
|
|
"ipc:ipc_single",
|
|
"netmanager_base:net_conn_manager_if",
|
|
"netmanager_ext:net_tether_manager_if",
|
|
"power_manager:powermgr_client",
|
|
"safwk:system_ability_fwk",
|
|
"samgr:samgr_proxy",
|
|
"telephony_data:tel_telephony_data",
|
|
"time_service:time_client",
|
|
]
|
|
|
|
if (is_standard_system) {
|
|
external_deps += [ "hiviewdfx_hilog_native:libhilog" ]
|
|
} else {
|
|
external_deps += [ "hilog:libhilog" ]
|
|
}
|
|
part_name = "core_service"
|
|
subsystem_name = "telephony"
|
|
}
|