global_i18n/services/BUILD.gn
LY ef2519fc30 libphonenumber upgrade
Signed-off-by: LY <liuyong235@huawei.com>
2024-05-27 15:22:05 +08:00

129 lines
3.2 KiB
Plaintext

# Copyright (c) 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")
group("i18n_service_ability") {
deps = [
":hmos_cust_libphonenumber_mount",
":hmos_cust_timezone_mount",
":i18n_sa",
":i18n_sa_client",
"./etc:i18n_sa_etc",
"./etc:prefabrication_libphonenumber",
"./etc:prefabrication_timezone",
"./etc:version_txt",
]
}
ohos_shared_library("i18n_sa_client") {
stack_protector_ret = true
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
sources = [
"./src/i18n_service_ability_client.cpp",
"./src/i18n_service_ability_load_callback.cpp",
"./src/i18n_service_ability_load_manager.cpp",
"./src/i18n_service_ability_proxy.cpp",
]
include_dirs = [
"./include",
"../frameworks/intl/include",
]
deps = []
external_deps = [
"c_utils:utils",
"hilog:libhilog",
"ipc:ipc_core",
"samgr:samgr_proxy",
]
innerapi_tags = [ "platformsdk" ]
part_name = "i18n"
subsystem_name = "global"
}
ohos_shared_library("i18n_sa") {
stack_protector_ret = true
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
sources = [
"./src/i18n_service_ability.cpp",
"./src/i18n_service_ability_stub.cpp",
]
include_dirs = [
"./include",
"../frameworks/intl/include",
"../interfaces/native/inner_api/preferred_language/include",
]
deps = [
":i18n_sa_client",
"../frameworks/intl:intl_util",
"../frameworks/intl:preferred_language",
]
external_deps = [
"ability_runtime:ability_manager",
"access_token:libaccesstoken_sdk",
"access_token:libtokenid_sdk",
"c_utils:utils",
"eventhandler:libeventhandler",
"hilog:libhilog",
"ipc:ipc_core",
"memmgr:memmgrclient",
"openssl:libcrypto_shared",
"openssl:libssl_shared",
"preferences:native_preferences",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
part_name = "i18n"
subsystem_name = "global"
}
ohos_executable("hmos_cust_timezone_mount") {
sources = [ "src/hmos_timezone_mount.cpp" ]
include_dirs = [ "../frameworks/intl/include" ]
deps = [ "../frameworks/intl:intl_util" ]
external_deps = [
"hilog:libhilog",
"openssl:libcrypto_shared",
"openssl:libssl_shared",
]
install_images = [ "system" ]
part_name = "i18n"
subsystem_name = "global"
}
ohos_executable("hmos_cust_libphonenumber_mount") {
sources = [ "src/hmos_libphonenumber_mount.cpp" ]
include_dirs = [ "../frameworks/intl/include" ]
deps = [ "../frameworks/intl:intl_util" ]
external_deps = [
"hilog:libhilog",
"openssl:libcrypto_shared",
"openssl:libssl_shared",
]
install_images = [ "system" ]
part_name = "i18n"
subsystem_name = "global"
}