!73 zlib组件的依赖方式整改:外部依赖由deps改为external_deps

Merge pull request !73 from langerange/master
This commit is contained in:
openharmony_ci 2024-10-31 07:30:27 +00:00 committed by Gitee
commit 542a86b282
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 7 deletions

View File

@ -121,13 +121,11 @@ if (defined(ohos_lite)) {
sources = get_target_outputs(":freetype_action")
include_dirs = [ "${target_gen_dir}/freetype/src/base" ]
public_configs = [ ":freetype_config" ]
deps = [
":freetype_action",
"//third_party/zlib:libz",
]
deps = [ ":freetype_action" ]
external_deps = [ "zlib:libz" ]
defines = [ "FT_CONFIG_OPTION_SYSTEM_ZLIB" ]
if (current_os == "ohos") {
external_deps = [ "libpng:libpng" ]
external_deps += [ "libpng:libpng" ]
defines += [ "FT_CONFIG_OPTION_USE_PNG" ]
}
part_name = "freetype"

View File

@ -23,10 +23,10 @@
"ram": "",
"deps": {
"components": [
"libpng"
"libpng",
"zlib"
],
"third_party": [
"zlib"
]
},
"build": {