From 0c6b55edcdccfd543921abb8639c9b7d607778f1 Mon Sep 17 00:00:00 2001 From: zhanghanwu Date: Fri, 18 Apr 2025 17:10:57 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E9=9C=80=E6=B1=82]:=20[=E9=83=A8?= =?UTF-8?q?=E4=BB=B6=E5=8C=96=E6=B2=BB=E7=90=86]=E7=A6=81=E6=AD=A2?= =?UTF-8?q?=E7=BB=9D=E5=AF=B9=E8=B7=AF=E5=BE=84=E4=BE=9D=E8=B5=96=E5=85=B6?= =?UTF-8?q?=E5=AE=83=E9=83=A8=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bundle.json | 1 + frameworks/js/napi/src/reminder/BUILD.gn | 4 ++-- services/ans/BUILD.gn | 2 +- services/ans/src/slot_manager/slot_manager.cpp | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bundle.json b/bundle.json index e3b350c64..63bff0fb9 100644 --- a/bundle.json +++ b/bundle.json @@ -105,6 +105,7 @@ "zlib", "libuv", "json", + "libxml2", "node" ], "third_party": [ diff --git a/frameworks/js/napi/src/reminder/BUILD.gn b/frameworks/js/napi/src/reminder/BUILD.gn index bcf50a56d..6ca6cd5f7 100644 --- a/frameworks/js/napi/src/reminder/BUILD.gn +++ b/frameworks/js/napi/src/reminder/BUILD.gn @@ -98,8 +98,6 @@ ohos_shared_library("reminderagentmanager") { include_dirs = [ "../../include", "../../include/manager", - "//third_party/node/src", - "//third_party/libuv/include", ] configs = [ ":native_module_config" ] @@ -134,6 +132,8 @@ ohos_shared_library("reminderagentmanager") { "ipc:ipc_single", "napi:ace_napi", "relational_store:native_rdb", + "libuv:uv", + "node:node_header_notice", ] relative_install_dir = "module" diff --git a/services/ans/BUILD.gn b/services/ans/BUILD.gn index c5ccb5b95..b963e9a3c 100644 --- a/services/ans/BUILD.gn +++ b/services/ans/BUILD.gn @@ -299,7 +299,6 @@ ohos_shared_library("libans") { "../ans:ans.para.dac", "../ans:external.json", "//third_party/icu/icu4c:shared_icuuc", - "//third_party/libxml2:libxml2", ] if (distributed_notification_supported) { @@ -335,6 +334,7 @@ ohos_shared_library("libans") { "relational_store:native_rdb", "resource_management:global_resmgr", "time_service:time_client", + "libxml2:libxml2", ] external_deps += component_external_deps diff --git a/services/ans/src/slot_manager/slot_manager.cpp b/services/ans/src/slot_manager/slot_manager.cpp index 948822b53..73296d1aa 100644 --- a/services/ans/src/slot_manager/slot_manager.cpp +++ b/services/ans/src/slot_manager/slot_manager.cpp @@ -33,7 +33,7 @@ #include "smart_reminder_center.h" #endif -#include "../advanced_notification_inline.cpp" +#include "advanced_notification_inline.cpp" #include "notification_config_parse.h" #include "notification_extension_wrapper.h" #include "notification_analytics_util.h" -- Gitee