feat: L0 新增DM配置项

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: Ic49a5680d80395e5780464835685f561a8cf522c
This commit is contained in:
zhushengle
2022-02-12 15:35:30 +08:00
parent a3725c3946
commit e7b1329f7d
@@ -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