f2fs_tools部件化

Signed-off-by: 张文迪 <zhangwendi3@huawei.com>
This commit is contained in:
张文迪 2022-08-18 15:57:49 +08:00
parent 4278e853b7
commit f8224a8bdc
6 changed files with 20 additions and 15 deletions

View File

@ -9,9 +9,14 @@ import("//build/ohos.gni")
group("f2fs-tools") { group("f2fs-tools") {
deps = [ deps = [
"//third_party/f2fs-tools/fsck:fsck.f2fs", "//third_party/f2fs-tools/fsck:fsck.f2fs",
"//third_party/f2fs-tools/fsck:fsck.f2fs($host_toolchain)",
"//third_party/f2fs-tools/lib:libf2fs", "//third_party/f2fs-tools/lib:libf2fs",
"//third_party/f2fs-tools/mkfs:mkfs.f2fs", "//third_party/f2fs-tools/mkfs:mkfs.f2fs",
]
}
group("f2fs-tools_host_toolchain") {
deps = [
"//third_party/f2fs-tools/fsck:fsck.f2fs($host_toolchain)",
"//third_party/f2fs-tools/mkfs:mkfs.f2fs($host_toolchain)", "//third_party/f2fs-tools/mkfs:mkfs.f2fs($host_toolchain)",
] ]
} }

View File

@ -14,8 +14,8 @@
"en": "README" "en": "README"
}, },
"component": { "component": {
"name": "thirdparty_f2fs_tools", "name": "f2fs_tools",
"subsystem": "", "subsystem": "thirdparty",
"syscap": [], "syscap": [],
"features": [], "features": [],
"adapted_system_type": [], "adapted_system_type": [],

View File

@ -61,8 +61,8 @@ ohos_executable("fsck.f2fs") {
] ]
install_enable = true install_enable = true
subsystem_name = "filemanagement" subsystem_name = "thirdparty"
part_name = "storage_service" part_name = "f2fs_tools"
install_images = [ install_images = [
"system", "system",
"updater", "updater",

View File

@ -40,8 +40,8 @@ ohos_shared_library("libf2fs") {
defines = [ "HAVE_CONFIG_H" ] defines = [ "HAVE_CONFIG_H" ]
install_enable = true install_enable = true
subsystem_name = "filemanagement" subsystem_name = "thirdparty"
part_name = "storage_service" part_name = "f2fs_tools"
install_images = [ install_images = [
"system", "system",
"updater", "updater",

View File

@ -40,8 +40,8 @@ ohos_executable("mkfs.f2fs") {
defines = [ "HAVE_CONFIG_H" ] defines = [ "HAVE_CONFIG_H" ]
install_enable = true install_enable = true
subsystem_name = "filemanagement" subsystem_name = "thirdparty"
part_name = "storage_service" part_name = "f2fs_tools"
install_images = [ install_images = [
"system", "system",
"updater", "updater",

View File

@ -32,8 +32,8 @@ ohos_executable("f2fscrypt") {
deps = [ "//third_party/e2fsprogs/lib/uuid:libext2_uuid" ] deps = [ "//third_party/e2fsprogs/lib/uuid:libext2_uuid" ]
install_enable = true install_enable = true
subsystem_name = "filemanagement" subsystem_name = "thirdparty"
part_name = "storage_service" part_name = "f2fs_tools"
install_images = [ "system" ] install_images = [ "system" ]
} }
@ -53,8 +53,8 @@ ohos_executable("f2fstat") {
deps = [] deps = []
install_enable = true install_enable = true
subsystem_name = "filemanagement" subsystem_name = "thirdparty"
part_name = "storage_service" part_name = "f2fs_tools"
install_images = [ "system" ] install_images = [ "system" ]
} }
@ -82,7 +82,7 @@ ohos_executable("fibmap.f2fs") {
defines = [ "HAVE_CONFIG_H" ] defines = [ "HAVE_CONFIG_H" ]
install_enable = true install_enable = true
subsystem_name = "filemanagement" subsystem_name = "thirdparty"
part_name = "storage_service" part_name = "f2fs_tools"
install_images = [ "system" ] install_images = [ "system" ]
} }