mirror of
https://gitee.com/openharmony/third_party_freetype
synced 2024-11-23 09:39:47 +00:00
!73 zlib组件的依赖方式整改:外部依赖由deps改为external_deps
Merge pull request !73 from langerange/master
This commit is contained in:
commit
542a86b282
8
BUILD.gn
8
BUILD.gn
@ -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"
|
||||
|
@ -23,10 +23,10 @@
|
||||
"ram": "",
|
||||
"deps": {
|
||||
"components": [
|
||||
"libpng"
|
||||
"libpng",
|
||||
"zlib"
|
||||
],
|
||||
"third_party": [
|
||||
"zlib"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
|
Loading…
Reference in New Issue
Block a user