diff --git a/services/BUILD.gn b/services/BUILD.gn index 87e82bbed..7f2b0271b 100755 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -32,7 +32,13 @@ group("startup_init") { deps = [ "etc:etc_files", "init/standard:init", + "//third_party/e2fsprogs:e2fsprogs", ] + + if (use_musl) { + deps += [ "//third_party/f2fs-tools:f2fs-tools" ] + } + if (enable_ohos_startup_init_feature_watcher) { deps += [ "//base/startup/init/services/param/watcher:param_watcher", diff --git a/services/init/standard/BUILD.gn b/services/init/standard/BUILD.gn index 25dfebfc0..9430b4c60 100644 --- a/services/init/standard/BUILD.gn +++ b/services/init/standard/BUILD.gn @@ -81,7 +81,6 @@ ohos_executable("init") { "//base/startup/init/ueventd:libueventd_ramdisk_static", "//third_party/bounds_checking_function:libsec_static", "//third_party/cJSON:cjson_static", - "//third_party/e2fsprogs:e2fsprogs", ] deps += [ "//base/startup/init/interfaces/innerkits/init_module_engine:libinit_stub_versionscript" ] @@ -93,7 +92,6 @@ ohos_executable("init") { if (use_musl) { deps += [ - "//third_party/f2fs-tools:f2fs-tools", "//third_party/mksh:sh", "//third_party/toybox:toybox", ]