diff --git a/BUILD.gn b/BUILD.gn index 869604c8..c86a5ad6 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,6 +1,5 @@ import("//build/ohos.gni") import("//build/ohos_var.gni") -import("//developtools/profiler/build/config.gni") import("e2fsprogs.gni") group("e2fsprogs") { @@ -68,7 +67,6 @@ ohos_executable("e2fsdroid") { "//third_party/e2fsprogs/e2fsprogs/lib", "//third_party/e2fsprogs/e2fsprogs/lib/ext2fs", "//third_party/e2fsprogs/e2fsprogs/misc", - "//third_party/selinux/libselinux/include", ] deps = [ @@ -76,9 +74,10 @@ ohos_executable("e2fsdroid") { ":libext2_com_err", ":libext2_misc", ":libext2fs", - "//third_party/selinux:libselinux", ] + external_deps = [ "selinux:libselinux" ] + install_enable = true subsystem_name = "thirdparty" part_name = "e2fsprogs" @@ -135,7 +134,6 @@ ohos_executable("e2fsck") { "//third_party/e2fsprogs/e2fsprogs/e2fsck", "//third_party/e2fsprogs/e2fsprogs/lib", "//third_party/e2fsprogs/e2fsprogs/lib/ext2fs", - "//third_party/mtd-utils/lib", ] deps = [ diff --git a/bundle.json b/bundle.json index bfec25a2..72dfe02e 100644 --- a/bundle.json +++ b/bundle.json @@ -24,10 +24,10 @@ "rom": "", "ram": "", "deps": { - "components": [], - "third_party": [ + "components": [ "selinux" - ] + ], + "third_party": [] }, "build": { "sub_component": [], @@ -67,6 +67,9 @@ }, { "name": "//third_party/e2fsprogs:e2fsdroid" + }, + { + "name": "//third_party/e2fsprogs:libdacconfig" } ], "test": []