diff --git a/BUILD.gn b/BUILD.gn index b01dff91d825bf693415e9d51a946e852233d396..7326ea9f028dafa1b213b1ac37418c135f7c6dfb 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 d49937b744888b8d3806b3486acf7ec0a982e122..20d4994112887dcf41248d85a1c7de9fc34809ad 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 4c431f591b40e0a632a58d0fce3379d73854704a..5ea1b863c020727d1cd6c51a69f6c7088a0a200e 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") {