mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-19 13:31:06 -04:00
feat: L0 新增DM配置项
Signed-off-by: zhushengle <zhushengle@huawei.com> Change-Id: Ic49a5680d80395e5780464835685f561a8cf522c
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user