From e7b1329f7d2b10e36cf28b70ef2a2018f2dc3c25 Mon Sep 17 00:00:00 2001 From: zhushengle Date: Sat, 12 Feb 2022 15:35:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20L0=20=E6=96=B0=E5=A2=9EDM=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhushengle Change-Id: Ic49a5680d80395e5780464835685f561a8cf522c --- frameworks/module_manager/ohos_module_config.h | 7 +++++++ 1 file changed, 7 insertions(+) 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