From 2f642616edb6cfd22f574d1a33d42f030b35ba5f Mon Sep 17 00:00:00 2001 From: Zhu Guodong Date: Wed, 28 Jun 2023 20:56:48 +0800 Subject: [PATCH] modify ext_dep as hilog --- mindspore/core/mindrt/BUILD.gn | 1 - mindspore/lite/BUILD.gn | 4 ++-- mindspore/lite/mindir/BUILD.gn | 2 +- mindspore/lite/src/runtime/js_api/BUILD.gn | 3 +-- mindspore/lite/tools/benchmark/BUILD.gn | 1 - 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/mindspore/core/mindrt/BUILD.gn b/mindspore/core/mindrt/BUILD.gn index d773f1f2..2bc0e6cd 100644 --- a/mindspore/core/mindrt/BUILD.gn +++ b/mindspore/core/mindrt/BUILD.gn @@ -31,7 +31,6 @@ ohos_source_set("mindrt_obj") { "src/thread/threadpool.cc", ] include_dirs = [ - "//base/hiviewdfx/hilog/interfaces/native/innerkits/include", "./", "include/", "src/", diff --git a/mindspore/lite/BUILD.gn b/mindspore/lite/BUILD.gn index 773d334e..dd542cfe 100644 --- a/mindspore/lite/BUILD.gn +++ b/mindspore/lite/BUILD.gn @@ -632,7 +632,7 @@ ohos_shared_library("mindspore_lib") { remove_configs = [ "//build/config/compiler:no_rtti" ] - external_deps = [ "hilog_native:libhilog" ] + external_deps = [ "hilog:libhilog" ] output_name = "libmindspore-lite.huawei" output_extension = "so" @@ -867,7 +867,7 @@ ohos_shared_library("mindspore_train_lib") { ] remove_configs = [ "//build/config/compiler:no_rtti" ] - external_deps = [ "hilog_native:libhilog" ] + external_deps = [ "hilog:libhilog" ] output_name = "libmindspore-lite-train" output_extension = "so" defines += [ "SUPPORT_TRAIN" ] diff --git a/mindspore/lite/mindir/BUILD.gn b/mindspore/lite/mindir/BUILD.gn index a046cd76..8da00c2b 100644 --- a/mindspore/lite/mindir/BUILD.gn +++ b/mindspore/lite/mindir/BUILD.gn @@ -43,7 +43,7 @@ ohos_shared_library("mindir_lib") { "drivers_interface_nnrt:libnnrt_proxy_1.0", "drivers_interface_nnrt:libnnrt_proxy_2.0", "hdf_core:libhdi", - "hilog_native:libhilog", + "hilog:libhilog", "ipc:ipc_core", "bounds_checking_function:libsec_shared", "drivers_interface_nnrt:nnrt_idl_headers" diff --git a/mindspore/lite/src/runtime/js_api/BUILD.gn b/mindspore/lite/src/runtime/js_api/BUILD.gn index 3994ad0f..7fb1cff0 100644 --- a/mindspore/lite/src/runtime/js_api/BUILD.gn +++ b/mindspore/lite/src/runtime/js_api/BUILD.gn @@ -27,7 +27,6 @@ ohos_shared_library("mindsporelite_napi") { "//foundation/arkui/napi/interfaces/kits", "//third_party/libuv/include", "//third_party/node/src", - "//base/hiviewdfx/hilog/interfaces/native/innerkits/include", ] sources = [ @@ -44,7 +43,7 @@ ohos_shared_library("mindsporelite_napi") { "ability_runtime:abilitykit_native", "ability_runtime:napi_base_context", "c_utils:utils", - "hiviewdfx_hilog_native:libhilog", + "hilog:libhilog", "napi:ace_napi", "resource_management:global_resmgr", ] diff --git a/mindspore/lite/tools/benchmark/BUILD.gn b/mindspore/lite/tools/benchmark/BUILD.gn index 95bf4e8f..aabf944f 100644 --- a/mindspore/lite/tools/benchmark/BUILD.gn +++ b/mindspore/lite/tools/benchmark/BUILD.gn @@ -31,7 +31,6 @@ ohos_executable("benchmark_bin") { ] include_dirs = [ - "//base/hiviewdfx/hilog/interfaces/native/innerkits/include", "//third_party/flatbuffers/include", "../../", # src "../../../core/", # core -- 2.34.1