部件依赖f2fs-tools整改

Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
tongkai0808fh 2024-02-29 08:38:08 +00:00 committed by Gitee
parent 3786904d85
commit 3fa3a7277a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 16 additions and 2 deletions

View File

@ -57,7 +57,8 @@
"third_party": [
"bounds_checking_function",
"e2fsprogs",
"openssl"
"openssl",
"f2fs-tools"
]
},
"build": {

View File

@ -297,11 +297,12 @@ group("storage_daemon_third_party") {
"//third_party/FreeBSD/sbin/newfs_msdos:newfs_msdos",
"//third_party/e2fsprogs:blkid",
"//third_party/exfatprogs:exfatprogs",
"//third_party/f2fs-tools:f2fs-tools",
# "//third_party/f2fs-tools:f2fs-tools",
"//third_party/gptfdisk:sgdisk",
"//third_party/ntfs-3g:ntfsprogs",
]
}
external_deps = [ "f2fs-tools:libf2fs" ]
}
group("storage_daemon_unit_test") {

View File

@ -32,6 +32,17 @@ config("fscrypt_utils_config") {
]
}
config("fscrypt_utils_public_config") {
visibility = [ ":*" ]
include_dirs = [ "../include/libfscrypt" ]
cflags = [
"-g3",
"-Wall",
]
}
ohos_static_library("libfscryptutils") {
stack_protector_ret = true
sanitize = {
@ -91,6 +102,7 @@ ohos_static_library("libfscryptutils_static") {
}
configs = [ ":fscrypt_utils_config" ]
public_configs = [ ":fscrypt_utils_public_config" ]
external_deps = [
"c_utils:utils",