1 Star 0 Fork 18

zhouwenzhi/utils_system_resources

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 15.52 KB
一键复制 编辑 原始数据 按行查看 历史
张婷 提交于 2023-12-28 16:11 . 更新symbol数据
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
# 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" ]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Handsome_Afraican_Man/utils_system_resources.git
git@gitee.com:Handsome_Afraican_Man/utils_system_resources.git
Handsome_Afraican_Man
utils_system_resources
utils_system_resources
master

搜索帮助