提交 4ef277aa 编写于 作者: H handyohos

bugfix: use cJSON_static for init.

1) remove cjson from public_deps from sandbox
Signed-off-by: Nhandyohos <zhangxiaotian@huawei.com>
Change-Id: I390f68548393e5101f784a667d1ea7f8dce0d993

#I5YJEC
上级 51dc509e
......@@ -86,6 +86,7 @@ if (defined(ohos_lite)) {
"//base/startup/init/interfaces/innerkits/control_fd:libcontrolfd",
"//base/startup/init/services/sandbox:sandbox",
"//third_party/bounds_checking_function:libsec_shared",
"//third_party/cJSON:cjson",
]
external_deps = [ "c_utils:utils" ]
......
......@@ -30,10 +30,10 @@ ohos_static_library("sandbox") {
public_configs = [ ":exported_header_files" ]
include_dirs = [
"//third_party/bounds_checking_function/include",
"//third_party/cJSON",
"//base/startup/init/services/include",
"//base/startup/init/interfaces/innerkits/include",
]
public_deps = [ "//third_party/cJSON:cjson" ]
if (target_cpu == "arm64") {
defines = [ "SUPPORT_64BIT" ]
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册