diff --git a/container/BUILD.gn b/container/BUILD.gn index 1807d3dc52d2d26cc92c3ecc95e9bb77e2039849..57ea9bfdf1b92a23439f11ec5bd3ebd62072a78e 100644 --- a/container/BUILD.gn +++ b/container/BUILD.gn @@ -114,15 +114,20 @@ template("container_lib") { deps = [ "//base/compileruntime/js_util_module/container/:js_" + name, "//foundation/arkui/napi/:ace_napi", - "//utils/native/base:utils", ] deps += [ dep_abc ] deps += [ dep_js ] if (is_standard_system) { - external_deps = [ "hiviewdfx_hilog_native:libhilog" ] + external_deps = [ + "c_utils:utils", + "hiviewdfx_hilog_native:libhilog", + ] } else { - external_deps = [ "hilog:libhilog" ] + external_deps = [ + "c_utils:utils", + "hilog:libhilog", + ] } subsystem_name = "utils" part_name = "jsapi_util" diff --git a/util/BUILD.gn b/util/BUILD.gn index dffba0e0b67dcd0261b77f7b6e17c6266b5cc16a..c045769d073c66629490ce98bba50e0f39b12226 100755 --- a/util/BUILD.gn +++ b/util/BUILD.gn @@ -101,13 +101,18 @@ ohos_shared_library("util") { "//foundation/arkui/napi/:ace_napi", "//foundation/arkui/napi/:ace_napi_quickjs", "//third_party/icu/icu4c:static_icuuc", - "//utils/native/base:utils", ] if (is_standard_system) { - external_deps = [ "hiviewdfx_hilog_native:libhilog" ] + external_deps = [ + "c_utils:utils", + "hiviewdfx_hilog_native:libhilog", + ] } else { - external_deps = [ "hilog:libhilog" ] + external_deps = [ + "c_utils:utils", + "hilog:libhilog", + ] } subsystem_name = "utils" part_name = "jsapi_util"