1 Star 0 Fork 80

武江波/third_party_harfbuzz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 3.44 KB
一键复制 编辑 原始数据 按行查看 历史
YueBiang 提交于 2021-03-27 16:23 . modify gn for ide
# 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-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-thai.cc",
"//third_party/harfbuzz/src/hb-ot-shape-complex-use-table.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") {
target_type = "shared_library"
sources = harfbuzz_source
public_configs = [ ":harfbuzz_config" ]
}
} else {
ohos_static_library("harfbuzz_static") {
sources = harfbuzz_source
include_dirs = [ "src\base" ]
public_configs = [ ":harfbuzz_config" ]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wujiangbo2/third_party_harfbuzz.git
git@gitee.com:wujiangbo2/third_party_harfbuzz.git
wujiangbo2
third_party_harfbuzz
third_party_harfbuzz
master

搜索帮助