mirror of
https://gitee.com/openharmony/filemanagement_app_file_service
synced 2024-11-23 08:00:16 +00:00
rom优化
Signed-off-by: 张晟钰 <zhangshengyu5@huawei.com>
This commit is contained in:
parent
ed0576db56
commit
ecbfc5e98a
@ -77,6 +77,14 @@ ohos_shared_library("backup_extension_ability_native") {
|
||||
"napi:ace_napi",
|
||||
]
|
||||
|
||||
cflags_cc = [
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-fno-unwind-tables",
|
||||
"-fno-asynchronous-unwind-tables",
|
||||
"-Os",
|
||||
]
|
||||
|
||||
use_exceptions = true
|
||||
relative_install_dir = "extensionability"
|
||||
part_name = "app_file_service"
|
||||
|
@ -78,6 +78,14 @@ ohos_shared_library("backup_kit_inner") {
|
||||
|
||||
deps = [ "${path_backup}/utils:backup_utils" ]
|
||||
|
||||
cflags_cc = [
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-fno-unwind-tables",
|
||||
"-fno-asynchronous-unwind-tables",
|
||||
"-Os",
|
||||
]
|
||||
|
||||
use_exceptions = true
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "app_file_service"
|
||||
|
@ -159,6 +159,14 @@ ohos_shared_library("backup") {
|
||||
"${path_jsoncpp}:jsoncpp",
|
||||
]
|
||||
|
||||
cflags_cc = [
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-fno-unwind-tables",
|
||||
"-fno-asynchronous-unwind-tables",
|
||||
"-Os",
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libtokenid_sdk",
|
||||
|
@ -82,6 +82,14 @@ ohos_shared_library("backup_sa") {
|
||||
"storage_service:storage_manager_sa_proxy",
|
||||
]
|
||||
|
||||
cflags_cc = [
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-fno-unwind-tables",
|
||||
"-fno-asynchronous-unwind-tables",
|
||||
"-Os",
|
||||
]
|
||||
|
||||
use_exceptions = true
|
||||
part_name = "app_file_service"
|
||||
subsystem_name = "filemanagement"
|
||||
|
@ -114,6 +114,14 @@ ohos_shared_library("backup_utils") {
|
||||
"//third_party/openssl:libcrypto_shared",
|
||||
]
|
||||
|
||||
cflags_cc = [
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-fno-unwind-tables",
|
||||
"-fno-asynchronous-unwind-tables",
|
||||
"-Os",
|
||||
]
|
||||
|
||||
use_exceptions = true
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "app_file_service"
|
||||
|
Loading…
Reference in New Issue
Block a user