!570 安全配置合规编译选项

Merge pull request !570 from zhangdd_ewan/cherry-pick-231229
This commit is contained in:
openharmony_ci 2024-03-05 13:02:13 +00:00 committed by Gitee
commit 7e733549f0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 0 deletions

View File

@ -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",

View File

@ -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 = [

View File

@ -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",

View File

@ -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",