diff --git a/BUILD.gn b/BUILD.gn index 09eaed6147fa38faceafc9a5d0f2ce91314acd3a..c1c23edf65564f130146f8edd8365ab156ca1bbb 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -49,6 +49,9 @@ ohos_static_library("libz") { ] configs = [ ":zlib_config" ] public_configs = [ ":zlib_public_config" ] + + part_name = "zlib" + subsystem_name = "thirdparty" } ohos_ndk_headers("zlib_header") { diff --git a/bundle.json b/bundle.json index d77beaad1c5fb92e4b6fc113c58dfe38b74fa0bf..aa60bf732b547d3f5230527f4c0759f55b6e3f05 100644 --- a/bundle.json +++ b/bundle.json @@ -13,11 +13,11 @@ "en": "README" }, "component": { - "name": "thirdparty_zlib", - "subsystem": "", + "name": "zlib", + "subsystem": "thirdparty", "syscap": [], "features": [], - "adapted_system_type": [], + "adapted_system_type": ["standard","appexecfwk_lite"], "rom": "", "ram": "", "deps": {