diff --git a/build/third_party_gn/cJSON/BUILD.gn b/build/third_party_gn/cJSON/BUILD.gn index 851c41528ad502c889a41da1f260c0ff92064a8c..8d37da1d172a8ff66ef9c9ecec1960887ed52966 100644 --- a/build/third_party_gn/cJSON/BUILD.gn +++ b/build/third_party_gn/cJSON/BUILD.gn @@ -20,14 +20,14 @@ ohos_static_library("cjson_static") { stack_protector_ret = false sources = [ "//third_party/cJSON/cJSON.c" ] public_configs = [ ":cJSON_config" ] - part_name = "cjson" + part_name = "cJSON" subsystem_name = "thirdparty" } ohos_shared_library("cjson") { stack_protector_ret = false deps = [ ":cjson_static" ] public_configs = [ ":cJSON_config" ] - part_name = "cjson" + part_name = "cJSON" subsystem_name = "thirdparty" install_images = [ "system", diff --git a/bundle.json b/bundle.json index a4a131f015193147fba9558b78801ac2e3e5adf1..c06d2b95b59fecedd2863de69096078a17140f0a 100644 --- a/bundle.json +++ b/bundle.json @@ -31,7 +31,7 @@ ], "third_party": [ "bounds_checking_function", - "cjson", + "cJSON", "openssl" ] }, diff --git a/test/test_helper.gni b/test/test_helper.gni index 112cc64eba14a9bca3fefb86ae1696c70b12752f..25f967dc74441237a213b8d09c9d90b7bcdf6773 100644 --- a/test/test_helper.gni +++ b/test/test_helper.gni @@ -54,7 +54,7 @@ template("host_unittest_action") { rebase_path(_root_out_dir_) + "/arkcompiler/ets_runtime:" + rebase_path(_root_out_dir_) + "/test/test:" + rebase_path(_root_out_dir_) + "/${_icu_path_}:" + - rebase_path(_root_out_dir_) + "/thirdparty/cjson:" + + rebase_path(_root_out_dir_) + "/thirdparty/cJSON:" + rebase_path(_root_out_dir_) + "/thirdparty/libuv:" + rebase_path(_root_out_dir_) + "/thirdparty/bounds_checking_function:" +