diff --git a/bundle.json b/bundle.json index e3b350c6422f58da7ae1861e92f0bf12992f6e7e..63bff0fb994f595511d1fa0d485fff48b5e5e81a 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 bcf50a56dafc66dcd5c35577fb39d7877ee1f147..6ca6cd5f7ceb1d524734b5edc820c03f3e91b115 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 c5ccb5b95836f52e55a86cf668663dba236a11ec..b963e9a3c9896a2a016d36f99a96dcfbd0863480 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 948822b532218fe8b2a2d0ec5c4f73e49b3b3ac9..73296d1aa2fd20f8f26754702e579552db073d4b 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"