diff --git a/frameworks/module_manager/ohos_module_config.h b/frameworks/module_manager/ohos_module_config.h index f8eb744..e2bfa42 100644 --- a/frameworks/module_manager/ohos_module_config.h +++ b/frameworks/module_manager/ohos_module_config.h @@ -76,6 +76,10 @@ extern void InitLocaleModule(JSIValue exports); extern void InitCapabilityModule(JSIValue exports); #endif +#if (ENABLE_MODULE_DM_LITE == 1) +extern void InitDeviceManagerModule(JSIValue exports); +#endif + // Config information for built-in JS modules of OHOS platform const Module OHOS_MODULES[] = { #if (ENABLE_MODULE_REQUIRE_TEST == 1) @@ -125,6 +129,9 @@ const Module OHOS_MODULES[] = { #if (FEATURE_ACELITE_SYSTEM_CAPABILITY == 1) {"capability", InitCapabilityModule}, #endif +#if (ENABLE_MODULE_DM_LITE == 1) + {"devicemanager", InitDeviceManagerModule}, +#endif }; } // namespace ACELite } // namespace OHOS