diff --git a/interfaces/kits/napi/BUILD.gn b/interfaces/kits/napi/BUILD.gn index ebe5c1800964205ae79537daf02f07c77c235c2e..4f3a620bf6988d642b4d95b02e7c34c9b9763114 100644 --- a/interfaces/kits/napi/BUILD.gn +++ b/interfaces/kits/napi/BUILD.gn @@ -26,8 +26,8 @@ group("napi_packages") { "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/form_extension:formextension_napi", "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/form_extension_context:formextensioncontext_napi", "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/inner/napi_common:napi_common", + "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/mission_manager:distributedmissionmanager", "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/mission_manager:missionmanager_napi", - "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/mission_manager:missionregistration_napi", "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/particleAbility:particleability", "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/service_extension_context:serviceextensioncontext_napi", "//foundation/aafwk/standard/interfaces/kits/napi/aafwk/serviceextension:serviceextension_napi", diff --git a/interfaces/kits/napi/aafwk/mission_manager/BUILD.gn b/interfaces/kits/napi/aafwk/mission_manager/BUILD.gn index f0acd3349d46a65a576a965fe4856357306da6be..7b26afe1bcb503dfff9dc905c98a0c4f3f15d733 100644 --- a/interfaces/kits/napi/aafwk/mission_manager/BUILD.gn +++ b/interfaces/kits/napi/aafwk/mission_manager/BUILD.gn @@ -55,7 +55,7 @@ ohos_shared_library("missionmanager_napi") { part_name = "aafwk_standard" } -ohos_shared_library("missionregistration_napi") { +ohos_shared_library("distributedmissionmanager") { include_dirs = [ "//third_party/libuv/include", "//third_party/node/src", diff --git a/interfaces/kits/napi/aafwk/mission_manager/napi_mission_registration.cpp b/interfaces/kits/napi/aafwk/mission_manager/napi_mission_registration.cpp index c4e1e70c117635e61a7600a3b3a2448d8b3da843..a4f22de58646c13089ace7fd5404e757efb2ddf6 100644 --- a/interfaces/kits/napi/aafwk/mission_manager/napi_mission_registration.cpp +++ b/interfaces/kits/napi/aafwk/mission_manager/napi_mission_registration.cpp @@ -1395,7 +1395,7 @@ static napi_module missionModule = { .nm_flags = 0, .nm_filename = nullptr, .nm_register_func = DistributedMissionManagerExport, - .nm_modname = "missionRegistration", + .nm_modname = "distributedMissionManager", .nm_priv = ((void*)0), .reserved = {0} };