mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-23 06:59:59 +00:00
ICSL排查:二进制文件FS和SP整改
Signed-off-by: lixiyuan <lixiyuan7@huawei.com>
This commit is contained in:
parent
e22b2fa71e
commit
7ba4d4b37c
@ -52,6 +52,11 @@ ohos_shared_library("storage_manager_acl") {
|
||||
configs = [ ":private_config" ]
|
||||
public_configs = [ ":public_config" ]
|
||||
|
||||
cflags = [
|
||||
"-D_FORTIFY_SOURCE=2",
|
||||
"-fstack-protector-strong",
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
|
@ -56,6 +56,11 @@ ohos_shared_library("storage_manager_sa_proxy") {
|
||||
configs = [ ":private_config" ]
|
||||
public_configs = [ ":public_config" ]
|
||||
|
||||
cflags = [
|
||||
"-D_FORTIFY_SOURCE=2",
|
||||
"-fstack-protector-strong",
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
|
@ -41,6 +41,11 @@ ohos_shared_library("storagestatistics") {
|
||||
"${storage_service_path}/services/common/include",
|
||||
]
|
||||
|
||||
cflags = [
|
||||
"-D_FORTIFY_SOURCE=2",
|
||||
"-fstack-protector-strong",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"${storage_service_path}/services/storage_manager/kits_impl/src/storage_manager_connect.cpp",
|
||||
"${storage_service_path}/services/storage_manager/kits_impl/src/storage_statistics_n_exporter.cpp",
|
||||
@ -84,6 +89,11 @@ ohos_shared_library("volumemanager") {
|
||||
"${storage_service_path}/services/common/include",
|
||||
]
|
||||
|
||||
cflags = [
|
||||
"-D_FORTIFY_SOURCE=2",
|
||||
"-fstack-protector-strong",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"${storage_service_path}/services/storage_manager/kits_impl/src/storage_manager_connect.cpp",
|
||||
"${storage_service_path}/services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp",
|
||||
|
@ -257,6 +257,11 @@ ohos_shared_library("storage_common_utils") {
|
||||
"LOG_DOMAIN = 0xD004301",
|
||||
]
|
||||
|
||||
cflags = [
|
||||
"-D_FORTIFY_SOURCE=2",
|
||||
"-fstack-protector-strong",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"./utils/disk_utils.cpp",
|
||||
"./utils/file_utils.cpp",
|
||||
|
@ -22,6 +22,11 @@ config("storage_manager_config") {
|
||||
"../storage_daemon/include",
|
||||
"../common/include",
|
||||
]
|
||||
|
||||
cflags = [
|
||||
"-D_FORTIFY_SOURCE=2",
|
||||
"-fstack-protector-strong",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_shared_library("storage_manager") {
|
||||
|
Loading…
Reference in New Issue
Block a user