diff --git a/BUILD.gn b/BUILD.gn index 013b3c7..0b730b8 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -9,9 +9,14 @@ import("//build/ohos.gni") group("f2fs-tools") { deps = [ "//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/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)", ] } diff --git a/bundle.json b/bundle.json index 1f864e6..ead60c8 100644 --- a/bundle.json +++ b/bundle.json @@ -14,8 +14,8 @@ "en": "README" }, "component": { - "name": "thirdparty_f2fs_tools", - "subsystem": "", + "name": "f2fs_tools", + "subsystem": "thirdparty", "syscap": [], "features": [], "adapted_system_type": [], diff --git a/fsck/BUILD.gn b/fsck/BUILD.gn index 9a420bf..5758afa 100644 --- a/fsck/BUILD.gn +++ b/fsck/BUILD.gn @@ -61,8 +61,8 @@ ohos_executable("fsck.f2fs") { ] install_enable = true - subsystem_name = "filemanagement" - part_name = "storage_service" + subsystem_name = "thirdparty" + part_name = "f2fs_tools" install_images = [ "system", "updater", diff --git a/lib/BUILD.gn b/lib/BUILD.gn index a7d09e6..a2ec643 100644 --- a/lib/BUILD.gn +++ b/lib/BUILD.gn @@ -40,8 +40,8 @@ ohos_shared_library("libf2fs") { defines = [ "HAVE_CONFIG_H" ] install_enable = true - subsystem_name = "filemanagement" - part_name = "storage_service" + subsystem_name = "thirdparty" + part_name = "f2fs_tools" install_images = [ "system", "updater", diff --git a/mkfs/BUILD.gn b/mkfs/BUILD.gn index 9a5591d..f87b0f5 100644 --- a/mkfs/BUILD.gn +++ b/mkfs/BUILD.gn @@ -40,8 +40,8 @@ ohos_executable("mkfs.f2fs") { defines = [ "HAVE_CONFIG_H" ] install_enable = true - subsystem_name = "filemanagement" - part_name = "storage_service" + subsystem_name = "thirdparty" + part_name = "f2fs_tools" install_images = [ "system", "updater", diff --git a/tools/BUILD.gn b/tools/BUILD.gn index e48befe..abba093 100644 --- a/tools/BUILD.gn +++ b/tools/BUILD.gn @@ -32,8 +32,8 @@ ohos_executable("f2fscrypt") { deps = [ "//third_party/e2fsprogs/lib/uuid:libext2_uuid" ] install_enable = true - subsystem_name = "filemanagement" - part_name = "storage_service" + subsystem_name = "thirdparty" + part_name = "f2fs_tools" install_images = [ "system" ] } @@ -53,8 +53,8 @@ ohos_executable("f2fstat") { deps = [] install_enable = true - subsystem_name = "filemanagement" - part_name = "storage_service" + subsystem_name = "thirdparty" + part_name = "f2fs_tools" install_images = [ "system" ] } @@ -82,7 +82,7 @@ ohos_executable("fibmap.f2fs") { defines = [ "HAVE_CONFIG_H" ] install_enable = true - subsystem_name = "filemanagement" - part_name = "storage_service" + subsystem_name = "thirdparty" + part_name = "f2fs_tools" install_images = [ "system" ] }