mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-27 09:11:40 +00:00
!570 安全配置合规编译选项
Merge pull request !570 from zhangdd_ewan/cherry-pick-231229
This commit is contained in:
commit
7e733549f0
@ -32,6 +32,7 @@ config("preferred_language_config") {
|
||||
]
|
||||
}
|
||||
ohos_shared_library("preferred_language") {
|
||||
stack_protector_ret = true
|
||||
public_configs = [ ":preferred_language_config" ]
|
||||
include_dirs = [ "include" ]
|
||||
sources = [ "src/preferred_language.cpp" ]
|
||||
@ -76,6 +77,7 @@ config("intl_util_config") {
|
||||
}
|
||||
}
|
||||
ohos_shared_library("intl_util") {
|
||||
stack_protector_ret = true
|
||||
public_configs = [ ":intl_util_config" ]
|
||||
include_dirs = [
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
|
@ -26,6 +26,7 @@ config("zone_util_public_configs") {
|
||||
}
|
||||
|
||||
ohos_shared_library("zone_util") {
|
||||
stack_protector_ret = true
|
||||
public_configs = [ ":zone_util_public_configs" ]
|
||||
sources = [ "src/zone_util.cpp" ]
|
||||
cflags_cc = [
|
||||
|
@ -22,6 +22,7 @@ group("build_module") {
|
||||
}
|
||||
|
||||
ohos_shared_library("intl") {
|
||||
stack_protector_ret = true
|
||||
include_dirs = [
|
||||
"//base/global/i18n/frameworks/intl/include",
|
||||
"//base/global/i18n/interfaces/js/kits/include",
|
||||
@ -48,6 +49,7 @@ ohos_shared_library("intl") {
|
||||
}
|
||||
|
||||
ohos_shared_library("i18n") {
|
||||
stack_protector_ret = true
|
||||
include_dirs = [
|
||||
"//base/global/i18n/frameworks/intl/include",
|
||||
"//base/global/i18n/interfaces/js/kits/include",
|
||||
|
@ -22,6 +22,7 @@ group("i18n_service_ability") {
|
||||
}
|
||||
|
||||
ohos_shared_library("i18n_sa_client") {
|
||||
stack_protector_ret = true
|
||||
sources = [
|
||||
"./src/i18n_service_ability_client.cpp",
|
||||
"./src/i18n_service_ability_load_callback.cpp",
|
||||
@ -45,6 +46,7 @@ ohos_shared_library("i18n_sa_client") {
|
||||
}
|
||||
|
||||
ohos_shared_library("i18n_sa") {
|
||||
stack_protector_ret = true
|
||||
sources = [
|
||||
"./src/i18n_service_ability.cpp",
|
||||
"./src/i18n_service_ability_stub.cpp",
|
||||
|
Loading…
Reference in New Issue
Block a user