diff --git a/BUILD.gn b/BUILD.gn index 3fa90f167e785a514fbfe1608fc622c542e803fc..b4efc636808935641cfd7b2f10efb238bb645703 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -47,13 +47,13 @@ if (defined(ohos_lite)) { ohos_static_library("cjson_static") { sources = [ "cJSON.c" ] public_configs = [ ":cJSON_config" ] - part_name = "cJSON" + part_name = "cjson" subsystem_name = "thirdparty" } ohos_shared_library("cjson") { 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 7954644bc0abeef9b3713e4a56cb03ee66983424..1f717466d042ee2a6d958e9cd7675b178be78d97 100644 --- a/bundle.json +++ b/bundle.json @@ -10,7 +10,7 @@ "dirs": {}, "scripts": {}, "component": { - "name": "cJSON", + "name": "cjson", "subsystem": "thirdparty", "syscap": [], "features": [],