From 2b7c00cfa59a26ad377759442296a3b7a1b508d0 Mon Sep 17 00:00:00 2001 From: "zhangyafei.echo" Date: Sat, 10 Dec 2022 16:42:10 +0800 Subject: [PATCH] IssueNo:#I65M0O Description:Change the dependency on cjson_static to cjson in standard system. Sig:SIG_ApplicationFramework Feature or BugFix: Feature Binary Source: No Signed-off-by: zhangyafei.echo Change-Id: I60c56b8dba9b1c85be5324b4fe22a0f5c7c5ba62 --- BUILD.gn | 4 ++-- napi/BUILD.gn | 2 +- test/unittest/common/BUILD.gn | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index b01dff9..7326ea9 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -70,7 +70,7 @@ ohos_executable("syscap_tool_bin") { if (defined(ohos_lite)) { deps += [ "//build/lite/config/component/cJSON:cjson_static" ] } else { - deps += [ "//third_party/cJSON:cjson_static" ] + deps += [ "//third_party/cJSON:cjson" ] } subsystem_name = "developtools" @@ -118,7 +118,7 @@ if (defined(ohos_lite)) { ] deps = [ "//third_party/bounds_checking_function:libsec_static", - "//third_party/cJSON:cjson_static", + "//third_party/cJSON:cjson", ] subsystem_name = "developtools" diff --git a/napi/BUILD.gn b/napi/BUILD.gn index d49937b..20d4994 100644 --- a/napi/BUILD.gn +++ b/napi/BUILD.gn @@ -52,7 +52,7 @@ ohos_shared_library("systemcapability") { if (defined(ohos_lite)) { deps += [ "//build/lite/config/component/cJSON:cjson_static" ] } else { - deps += [ "//third_party/cJSON:cjson_static" ] + deps += [ "//third_party/cJSON:cjson" ] } relative_install_dir = "module" diff --git a/test/unittest/common/BUILD.gn b/test/unittest/common/BUILD.gn index 4c431f5..5ea1b86 100644 --- a/test/unittest/common/BUILD.gn +++ b/test/unittest/common/BUILD.gn @@ -88,7 +88,7 @@ if (defined(ohos_lite)) { "//third_party/googletest:gtest_main", ] - deps += [ "//third_party/cJSON:cjson_static" ] + deps += [ "//third_party/cJSON:cjson" ] } group("unittest") { -- Gitee