代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_harfbuzz 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2020-2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni")
} else {
import("//build/ohos.gni")
}
config("harfbuzz_config") {
include_dirs = [ "//third_party/harfbuzz/src" ]
}
harfbuzz_source = [
"//third_party/harfbuzz/src/hb-aat-layout.cc",
"//third_party/harfbuzz/src/hb-aat-map.cc",
"//third_party/harfbuzz/src/hb-blob.cc",
"//third_party/harfbuzz/src/hb-buffer-serialize.cc",
"//third_party/harfbuzz/src/hb-buffer.cc",
"//third_party/harfbuzz/src/hb-common.cc",
"//third_party/harfbuzz/src/hb-face.cc",
"//third_party/harfbuzz/src/hb-fallback-shape.cc",
"//third_party/harfbuzz/src/hb-font.cc",
"//third_party/harfbuzz/src/hb-map.cc",
"//third_party/harfbuzz/src/hb-number.cc",
"//third_party/harfbuzz/src/hb-ot-cff1-table.cc",
"//third_party/harfbuzz/src/hb-ot-cff2-table.cc",
"//third_party/harfbuzz/src/hb-ot-face.cc",
"//third_party/harfbuzz/src/hb-ot-font.cc",
"//third_party/harfbuzz/src/hb-ot-layout.cc",
"//third_party/harfbuzz/src/hb-ot-map.cc",
"//third_party/harfbuzz/src/hb-ot-math.cc",
"//third_party/harfbuzz/src/hb-ot-meta.cc",
"//third_party/harfbuzz/src/hb-ot-metrics.cc",
"//third_party/harfbuzz/src/hb-ot-name.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-arabic.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-default.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-hangul.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-hebrew.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-indic-table.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-indic.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-khmer.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-myanmar.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-syllabic.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-thai.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-use.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-vowel-constraints.cc",
"//third_party/harfbuzz/src/hb-ot-shape-fallback.cc",
"//third_party/harfbuzz/src/hb-ot-shape-normalize.cc",
"//third_party/harfbuzz/src/hb-ot-shape.cc",
"//third_party/harfbuzz/src/hb-ot-tag.cc",
"//third_party/harfbuzz/src/hb-ot-var.cc",
"//third_party/harfbuzz/src/hb-set.cc",
"//third_party/harfbuzz/src/hb-shape-plan.cc",
"//third_party/harfbuzz/src/hb-shape.cc",
"//third_party/harfbuzz/src/hb-shaper.cc",
"//third_party/harfbuzz/src/hb-static.cc",
"//third_party/harfbuzz/src/hb-subset-cff2.cc",
"//third_party/harfbuzz/src/hb-subset-cff-common.cc",
"//third_party/harfbuzz/src/hb-ucd.cc",
"//third_party/harfbuzz/src/hb-unicode.cc",
]
if (defined(ohos_lite)) {
lite_library("harfbuzz") {
output_dir = "${root_out_dir}/thirdparty/harfbuzz"
output_name = "harfbuzz"
target_type = "shared_library"
sources = harfbuzz_source
defines = [ "HAVE_PTHREAD = 1" ]
public_configs = [ ":harfbuzz_config" ]
}
} else {
ohos_static_library("harfbuzz_static") {
output_dir = "${root_out_dir}/thirdparty/harfbuzz"
output_name = "harfbuzz"
sources = harfbuzz_source
include_dirs = [ "src\base" ]
defines = [ "HAVE_PTHREAD = 1" ]
public_configs = [ ":harfbuzz_config" ]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。