提交 765f82f3 编写于 作者: Z zhong_ning

modify init

Signed-off-by: Nzhong_ning <zhong_ning@hoperun.com>
上级 6f23a4ca
......@@ -144,7 +144,6 @@ if (defined(ohos_lite)) {
"//third_party/toybox:toybox",
]
}
module_install_dir = "bin"
install_images = [
"system",
"updater",
......
......@@ -129,6 +129,7 @@ static int GetServiceName(const cJSON* curArrItem, Service* curServ)
return SERVICE_SUCCESS;
}
#ifdef OHOS_LITE
static int IsForbidden(const char* fieldStr)
{
size_t fieldLen = strlen(fieldStr);
......@@ -150,6 +151,12 @@ static int IsForbidden(const char* fieldStr)
return 0;
}
}
#else
static int IsForbidden(const char* fieldStr)
{
return 0;
}
#endif
// TODO: move this function to common files
static cJSON* GetArrItem(const cJSON* fileRoot, int* arrSize, const char* arrName)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册