代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/utils_system_resources 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2021-2023 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.
import("//build/ohos.gni")
import("systemres.gni")
ohos_prebuilt_etc("HarmonyOS_Sans_Black") {
source = "fonts/HarmonyOS_Sans_Black.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Black_Italic") {
source = "fonts/HarmonyOS_Sans_Black_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Bold") {
source = "fonts/HarmonyOS_Sans_Bold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Bold_Italic") {
source = "fonts/HarmonyOS_Sans_Bold_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Black") {
source = "fonts/HarmonyOS_Sans_Condensed_Black.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Black_Italic") {
source = "fonts/HarmonyOS_Sans_Condensed_Black_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Bold") {
source = "fonts/HarmonyOS_Sans_Condensed_Bold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Bold_Italic") {
source = "fonts/HarmonyOS_Sans_Condensed_Bold_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Light") {
source = "fonts/HarmonyOS_Sans_Condensed_Light.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Light_Italic") {
source = "fonts/HarmonyOS_Sans_Condensed_Light_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Medium") {
source = "fonts/HarmonyOS_Sans_Condensed_Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Medium_Italic") {
source = "fonts/HarmonyOS_Sans_Condensed_Medium_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Regular") {
source = "fonts/HarmonyOS_Sans_Condensed_Regular.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Regular_Italic") {
source = "fonts/HarmonyOS_Sans_Condensed_Regular_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Thin") {
source = "fonts/HarmonyOS_Sans_Condensed_Thin.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Thin_Italic") {
source = "fonts/HarmonyOS_Sans_Condensed_Thin_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Digit") {
source = "fonts/HarmonyOS_Sans_Digit.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Digit_Medium") {
source = "fonts/HarmonyOS_Sans_Digit_Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Light") {
source = "fonts/HarmonyOS_Sans_Light.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Light_Italic") {
source = "fonts/HarmonyOS_Sans_Light_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Medium") {
source = "fonts/HarmonyOS_Sans_Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Medium_Italic") {
source = "fonts/HarmonyOS_Sans_Medium_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Black") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Black.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Black") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Black.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Bold") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Bold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Bold") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Bold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Light") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Light.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Light") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Light.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Medium") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Medium") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Regular") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Regular.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Regular") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Regular.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Thin") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Thin.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Thin") {
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Thin.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Regular") {
source = "fonts/HarmonyOS_Sans_Regular.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Regular_Italic") {
source = "fonts/HarmonyOS_Sans_Regular_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Black") {
source = "fonts/HarmonyOS_Sans_SC_Black.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Bold") {
source = "fonts/HarmonyOS_Sans_SC_Bold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Light") {
source = "fonts/HarmonyOS_Sans_SC_Light.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Medium") {
source = "fonts/HarmonyOS_Sans_SC_Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Regular") {
source = "fonts/HarmonyOS_Sans_SC_Regular.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Thin") {
source = "fonts/HarmonyOS_Sans_SC_Thin.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Black") {
source = "fonts/HarmonyOS_Sans_TC_Black.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Bold") {
source = "fonts/HarmonyOS_Sans_TC_Bold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Light") {
source = "fonts/HarmonyOS_Sans_TC_Light.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Medium") {
source = "fonts/HarmonyOS_Sans_TC_Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Regular") {
source = "fonts/HarmonyOS_Sans_TC_Regular.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Thin") {
source = "fonts/HarmonyOS_Sans_TC_Thin.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Thin") {
source = "fonts/HarmonyOS_Sans_Thin.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HarmonyOS_Sans_Thin_Italic") {
source = "fonts/HarmonyOS_Sans_Thin_Italic.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("NotoSans_JP_Regular") {
source = "fonts/NotoSans_JP_Regular.otf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("NotoSans_JP_Bold") {
source = "fonts/NotoSans_JP_Bold.otf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("NotoSans_JP_Light") {
source = "fonts/NotoSans_JP_Light.otf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("NotoSans_KR_Regular") {
source = "fonts/NotoSans_KR_Regular.otf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("NotoSans_KR_Bold") {
source = "fonts/NotoSans_KR_Bold.otf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("NotoSans_KR_Light") {
source = "fonts/NotoSans_KR_Light.otf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMOSColorEmojiCompat") {
source = "fonts/HMOSColorEmojiCompat.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMOSColorEmojiFlags") {
source = "fonts/HMOSColorEmojiFlags.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-Black") {
source = "fonts/HMSymbol-Black.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-Bold") {
source = "fonts/HMSymbol-Bold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-ExtraLight") {
source = "fonts/HMSymbol-ExtraLight.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-ExtraBold") {
source = "fonts/HMSymbol-ExtraBold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-Light") {
source = "fonts/HMSymbol-Light.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-Medium") {
source = "fonts/HMSymbol-Medium.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-Regular") {
source = "fonts/HMSymbol-Regular.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-SemiBold") {
source = "fonts/HMSymbol-SemiBold.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("HMSymbol-Thin") {
source = "fonts/HMSymbol-Thin.ttf"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
ohos_prebuilt_etc("hm_symbol_config") {
source = "fonts/hm_symbol_config.json"
module_install_dir = "fonts"
subsystem_name = "global"
part_name = "ace_engine"
}
group("ohos_fonts") {
deps = [
":HMOSColorEmojiCompat",
":HMOSColorEmojiFlags",
":HMSymbol-Black",
":HMSymbol-Bold",
":HMSymbol-ExtraBold",
":HMSymbol-ExtraLight",
":HMSymbol-Light",
":HMSymbol-Medium",
":HMSymbol-Regular",
":HMSymbol-SemiBold",
":HMSymbol-Thin",
":HarmonyOS_Sans_Black",
":HarmonyOS_Sans_Black_Italic",
":HarmonyOS_Sans_Bold",
":HarmonyOS_Sans_Bold_Italic",
":HarmonyOS_Sans_Condensed_Black",
":HarmonyOS_Sans_Condensed_Black_Italic",
":HarmonyOS_Sans_Condensed_Bold",
":HarmonyOS_Sans_Condensed_Bold_Italic",
":HarmonyOS_Sans_Condensed_Light",
":HarmonyOS_Sans_Condensed_Light_Italic",
":HarmonyOS_Sans_Condensed_Medium",
":HarmonyOS_Sans_Condensed_Medium_Italic",
":HarmonyOS_Sans_Condensed_Regular",
":HarmonyOS_Sans_Condensed_Regular_Italic",
":HarmonyOS_Sans_Condensed_Thin",
":HarmonyOS_Sans_Condensed_Thin_Italic",
":HarmonyOS_Sans_Digit",
":HarmonyOS_Sans_Digit_Medium",
":HarmonyOS_Sans_Light",
":HarmonyOS_Sans_Light_Italic",
":HarmonyOS_Sans_Medium",
":HarmonyOS_Sans_Medium_Italic",
":HarmonyOS_Sans_Naskh_Arabic_Black",
":HarmonyOS_Sans_Naskh_Arabic_Bold",
":HarmonyOS_Sans_Naskh_Arabic_Light",
":HarmonyOS_Sans_Naskh_Arabic_Medium",
":HarmonyOS_Sans_Naskh_Arabic_Regular",
":HarmonyOS_Sans_Naskh_Arabic_Thin",
":HarmonyOS_Sans_Naskh_Arabic_UI_Black",
":HarmonyOS_Sans_Naskh_Arabic_UI_Bold",
":HarmonyOS_Sans_Naskh_Arabic_UI_Light",
":HarmonyOS_Sans_Naskh_Arabic_UI_Medium",
":HarmonyOS_Sans_Naskh_Arabic_UI_Regular",
":HarmonyOS_Sans_Naskh_Arabic_UI_Thin",
":HarmonyOS_Sans_Regular",
":HarmonyOS_Sans_Regular_Italic",
":HarmonyOS_Sans_SC_Black",
":HarmonyOS_Sans_SC_Bold",
":HarmonyOS_Sans_SC_Light",
":HarmonyOS_Sans_SC_Medium",
":HarmonyOS_Sans_SC_Regular",
":HarmonyOS_Sans_SC_Thin",
":HarmonyOS_Sans_TC_Black",
":HarmonyOS_Sans_TC_Bold",
":HarmonyOS_Sans_TC_Light",
":HarmonyOS_Sans_TC_Medium",
":HarmonyOS_Sans_TC_Regular",
":HarmonyOS_Sans_TC_Thin",
":HarmonyOS_Sans_Thin",
":HarmonyOS_Sans_Thin_Italic",
":NotoSans_JP_Bold",
":NotoSans_JP_Light",
":NotoSans_JP_Regular",
":NotoSans_KR_Bold",
":NotoSans_KR_Light",
":NotoSans_KR_Regular",
":hm_symbol_config",
]
if (system_resources_support_ext) {
deps += [ "${systemres_ext_path}:ohos_fonts_ext" ]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。