diff --git a/bundle.json b/bundle.json index 697744b1..9738adb4 100644 --- a/bundle.json +++ b/bundle.json @@ -27,7 +27,10 @@ "ability_base", "ability_runtime", "window_manager", - "ylong_runtime" + "ylong_runtime", + "bounds_checking_function", + "lz4", + "selinux" ], "third_party": [ "libuv", diff --git a/hdc_rust/BUILD.gn b/hdc_rust/BUILD.gn index 984f1ba0..a749694e 100644 --- a/hdc_rust/BUILD.gn +++ b/hdc_rust/BUILD.gn @@ -32,18 +32,11 @@ ohos_static_library("serialize_structs") { ] output_extension = "so" - include_dirs = [ - "//third_party/bounds_checking_function/include", - "//third_party/lz4/lib", - ] - deps = [ - "//third_party/bounds_checking_function:libsec_static", - "//third_party/lz4:liblz4_static", - ] - external_deps = [ "hilog:libhilog", "init:libbegetutil", + "bounds_checking_function:libsec_static", + "lz4:liblz4_static", ] defines = [ "HDC_HILOG" ] @@ -53,8 +46,7 @@ ohos_static_library("serialize_structs") { } if (build_selinux) { - deps += [ "//third_party/selinux:libselinux" ] - include_dirs += [ "//third_party/selinux/libselinux/include" ] + external_deps += [ "selinux:libselinux" ] defines += [ "SURPPORT_SELINUX" ] }