• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14declare_args() {
15  system_resources_support_ext = false
16  system_resources_font_feature_product = "default"
17}
18
19certificate_profile_path =
20    "//vendor/tools/hap_sign_conf/global/system_resources/SystemResources.p7b"
21
22systemres_ext_path = "//vendor/${product_company}/base/global/system_resources"
23fontconfig_path =
24    "//third_party/skia/src/ports/skia_ohos/config/fontconfig.json"
25fontconfig_ohos_path =
26    "//third_party/skia/src/ports/skia_ohos/config/fontconfig_ohos.json"
27
28sys_fonts_list = [
29  {
30    font_name = "HarmonyOS_Sans"
31    font_path = "fonts/HarmonyOS_Sans.ttf"
32    support_devices = [
33      "default",
34      "watch",
35    ]
36    alias_name = ""
37  },
38  {
39    font_name = "HarmonyOS_Sans_Italic"
40    font_path = "fonts/HarmonyOS_Sans_Italic.ttf"
41    support_devices = [
42      "default",
43      "watch",
44    ]
45    alias_name = ""
46  },
47  {
48    font_name = "HarmonyOS_Sans_Condensed"
49    font_path = "fonts/HarmonyOS_Sans_Condensed.ttf"
50    support_devices = [
51      "default",
52      "watch",
53    ]
54    alias_name = ""
55  },
56  {
57    font_name = "HarmonyOS_Sans_Condensed_Italic"
58    font_path = "fonts/HarmonyOS_Sans_Condensed_Italic.ttf"
59    support_devices = [
60      "default",
61      "watch",
62    ]
63    alias_name = ""
64  },
65  {
66    font_name = "HarmonyOS_Sans_Naskh_Arabic"
67    font_path = "fonts/HarmonyOS_Sans_Naskh_Arabic.ttf"
68    support_devices = [
69      "default",
70      "watch",
71    ]
72    alias_name = ""
73  },
74  {
75    font_name = "HarmonyOS_Sans_Naskh_Arabic_UI"
76    font_path = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI.ttf"
77    support_devices = [
78      "default",
79      "watch",
80    ]
81    alias_name = ""
82  },
83  {
84    font_name = "HarmonyOS_Sans_SC"
85    font_path = "fonts/HarmonyOS_Sans_SC.ttf"
86    support_devices = [
87      "default",
88      "watch",
89    ]
90    alias_name = ""
91  },
92  {
93    font_name = "HarmonyOS_Sans_TC"
94    font_path = "fonts/HarmonyOS_Sans_TC.ttf"
95    support_devices = [
96      "default",
97      "watch",
98    ]
99    alias_name = ""
100  },
101  {
102    font_name = "HarmonyOS_Sans_Digit"
103    font_path = "fonts/HarmonyOS_Sans_Digit.ttf"
104    support_devices = [
105      "default",
106      "watch",
107    ]
108    alias_name = ""
109  },
110  {
111    font_name = "HarmonyOS_Sans_Digit_Medium"
112    font_path = "fonts/HarmonyOS_Sans_Digit_Medium.ttf"
113    support_devices = [
114      "default",
115      "watch",
116    ]
117    alias_name = ""
118  },
119  {
120    font_name = "HMOSColorEmojiCompat"
121    font_path = "fonts/HMOSColorEmojiCompat.ttf"
122    support_devices = [
123      "default",
124      "watch",
125    ]
126    alias_name = ""
127  },
128  {
129    font_name = "HMOSColorEmojiFlags"
130    font_path = "fonts/HMOSColorEmojiFlags.ttf"
131    support_devices = [
132      "default",
133      "watch",
134    ]
135    alias_name = ""
136  },
137  {
138    font_name = "HMSymbolVF"
139    font_path = "fonts/HMSymbolVF.ttf"
140    support_devices = [ "default" ]
141    alias_name = ""
142  },
143  {
144    font_name = "hm_symbol_config"
145    font_path = "fonts/hm_symbol_config.json"
146    support_devices = [ "default" ]
147    alias_name = ""
148  },
149  {
150    font_name = "hm_symbol_config_next"
151    font_path = "fonts/hm_symbol_config_next.json"
152    support_devices = [ "default" ]
153    alias_name = ""
154  },
155  {
156    font_name = "HMSymbolVF_watch"
157    font_path = "fonts/HMSymbolVF_watch.ttf"
158    support_devices = [ "watch" ]
159    alias_name = "HMSymbolVF.ttf"
160  },
161  {
162    font_name = "hm_symbol_config_next_watch"
163    font_path = "fonts/hm_symbol_config_next_watch.json"
164    support_devices = [ "watch" ]
165    alias_name = "hm_symbol_config_next.json"
166  },
167  {
168    font_name = "HarmonyOS_Sans_Notdef"
169    font_path = "fonts/HarmonyOS_Sans_Notdef.ttf"
170    support_devices = [ "default" ]
171    alias_name = ""
172  },
173]
174