1# Copyright (c) 2021 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. 13import("//build/ohos.gni") 14 15ohos_prebuilt_etc("HarmonyOS_Sans_Black") { 16 source = "fonts/HarmonyOS_Sans_Black.ttf" 17 module_install_dir = "fonts" 18 part_name = "ace_engine_standard" 19} 20 21ohos_prebuilt_etc("HarmonyOS_Sans_Black_Italic") { 22 source = "fonts/HarmonyOS_Sans_Black_Italic.ttf" 23 module_install_dir = "fonts" 24 part_name = "ace_engine_standard" 25} 26 27ohos_prebuilt_etc("HarmonyOS_Sans_Bold") { 28 source = "fonts/HarmonyOS_Sans_Bold.ttf" 29 module_install_dir = "fonts" 30 part_name = "ace_engine_standard" 31} 32 33ohos_prebuilt_etc("HarmonyOS_Sans_Bold_Italic") { 34 source = "fonts/HarmonyOS_Sans_Bold_Italic.ttf" 35 module_install_dir = "fonts" 36 part_name = "ace_engine_standard" 37} 38 39ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Black") { 40 source = "fonts/HarmonyOS_Sans_Condensed_Black.ttf" 41 module_install_dir = "fonts" 42 part_name = "ace_engine_standard" 43} 44 45ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Black_Italic") { 46 source = "fonts/HarmonyOS_Sans_Condensed_Black_Italic.ttf" 47 module_install_dir = "fonts" 48 part_name = "ace_engine_standard" 49} 50 51ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Bold") { 52 source = "fonts/HarmonyOS_Sans_Condensed_Bold.ttf" 53 module_install_dir = "fonts" 54 part_name = "ace_engine_standard" 55} 56 57ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Bold_Italic") { 58 source = "fonts/HarmonyOS_Sans_Condensed_Bold_Italic.ttf" 59 module_install_dir = "fonts" 60 part_name = "ace_engine_standard" 61} 62 63ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Light") { 64 source = "fonts/HarmonyOS_Sans_Condensed_Light.ttf" 65 module_install_dir = "fonts" 66 part_name = "ace_engine_standard" 67} 68 69ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Light_Italic") { 70 source = "fonts/HarmonyOS_Sans_Condensed_Light_Italic.ttf" 71 module_install_dir = "fonts" 72 part_name = "ace_engine_standard" 73} 74 75ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Medium") { 76 source = "fonts/HarmonyOS_Sans_Condensed_Medium.ttf" 77 module_install_dir = "fonts" 78 part_name = "ace_engine_standard" 79} 80 81ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Medium_Italic") { 82 source = "fonts/HarmonyOS_Sans_Condensed_Medium_Italic.ttf" 83 module_install_dir = "fonts" 84 part_name = "ace_engine_standard" 85} 86 87ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Regular") { 88 source = "fonts/HarmonyOS_Sans_Condensed_Regular.ttf" 89 module_install_dir = "fonts" 90 part_name = "ace_engine_standard" 91} 92 93ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Regular_Italic") { 94 source = "fonts/HarmonyOS_Sans_Condensed_Regular_Italic.ttf" 95 module_install_dir = "fonts" 96 part_name = "ace_engine_standard" 97} 98 99ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Thin") { 100 source = "fonts/HarmonyOS_Sans_Condensed_Thin.ttf" 101 module_install_dir = "fonts" 102 part_name = "ace_engine_standard" 103} 104 105ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Thin_Italic") { 106 source = "fonts/HarmonyOS_Sans_Condensed_Thin_Italic.ttf" 107 module_install_dir = "fonts" 108 part_name = "ace_engine_standard" 109} 110 111ohos_prebuilt_etc("HarmonyOS_Sans_Light") { 112 source = "fonts/HarmonyOS_Sans_Light.ttf" 113 module_install_dir = "fonts" 114 part_name = "ace_engine_standard" 115} 116 117ohos_prebuilt_etc("HarmonyOS_Sans_Light_Italic") { 118 source = "fonts/HarmonyOS_Sans_Light_Italic.ttf" 119 module_install_dir = "fonts" 120 part_name = "ace_engine_standard" 121} 122 123ohos_prebuilt_etc("HarmonyOS_Sans_Medium") { 124 source = "fonts/HarmonyOS_Sans_Medium.ttf" 125 module_install_dir = "fonts" 126 part_name = "ace_engine_standard" 127} 128 129ohos_prebuilt_etc("HarmonyOS_Sans_Medium_Italic") { 130 source = "fonts/HarmonyOS_Sans_Medium_Italic.ttf" 131 module_install_dir = "fonts" 132 part_name = "ace_engine_standard" 133} 134 135ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Black") { 136 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Black.ttf" 137 module_install_dir = "fonts" 138 part_name = "ace_engine_standard" 139} 140 141ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Black") { 142 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Black.ttf" 143 module_install_dir = "fonts" 144 part_name = "ace_engine_standard" 145} 146 147ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Bold") { 148 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Bold.ttf" 149 module_install_dir = "fonts" 150 part_name = "ace_engine_standard" 151} 152 153ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Bold") { 154 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Bold.ttf" 155 module_install_dir = "fonts" 156 part_name = "ace_engine_standard" 157} 158 159ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Light") { 160 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Light.ttf" 161 module_install_dir = "fonts" 162 part_name = "ace_engine_standard" 163} 164 165ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Light") { 166 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Light.ttf" 167 module_install_dir = "fonts" 168 part_name = "ace_engine_standard" 169} 170 171ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Medium") { 172 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Medium.ttf" 173 module_install_dir = "fonts" 174 part_name = "ace_engine_standard" 175} 176 177ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Medium") { 178 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Medium.ttf" 179 module_install_dir = "fonts" 180 part_name = "ace_engine_standard" 181} 182 183ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Regular") { 184 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Regular.ttf" 185 module_install_dir = "fonts" 186 part_name = "ace_engine_standard" 187} 188 189ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Regular") { 190 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Regular.ttf" 191 module_install_dir = "fonts" 192 part_name = "ace_engine_standard" 193} 194 195ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Thin") { 196 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Thin.ttf" 197 module_install_dir = "fonts" 198 part_name = "ace_engine_standard" 199} 200 201ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Thin") { 202 source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Thin.ttf" 203 module_install_dir = "fonts" 204 part_name = "ace_engine_standard" 205} 206 207ohos_prebuilt_etc("HarmonyOS_Sans_Regular") { 208 source = "fonts/HarmonyOS_Sans_Regular.ttf" 209 module_install_dir = "fonts" 210 part_name = "ace_engine_standard" 211} 212 213ohos_prebuilt_etc("HarmonyOS_Sans_Regular_Italic") { 214 source = "fonts/HarmonyOS_Sans_Regular_Italic.ttf" 215 module_install_dir = "fonts" 216 part_name = "ace_engine_standard" 217} 218 219ohos_prebuilt_etc("HarmonyOS_Sans_SC_Black") { 220 source = "fonts/HarmonyOS_Sans_SC_Black.ttf" 221 module_install_dir = "fonts" 222 part_name = "ace_engine_standard" 223} 224 225ohos_prebuilt_etc("HarmonyOS_Sans_SC_Bold") { 226 source = "fonts/HarmonyOS_Sans_SC_Bold.ttf" 227 module_install_dir = "fonts" 228 part_name = "ace_engine_standard" 229} 230 231ohos_prebuilt_etc("HarmonyOS_Sans_SC_Light") { 232 source = "fonts/HarmonyOS_Sans_SC_Light.ttf" 233 module_install_dir = "fonts" 234 part_name = "ace_engine_standard" 235} 236 237ohos_prebuilt_etc("HarmonyOS_Sans_SC_Medium") { 238 source = "fonts/HarmonyOS_Sans_SC_Medium.ttf" 239 module_install_dir = "fonts" 240 part_name = "ace_engine_standard" 241} 242 243ohos_prebuilt_etc("HarmonyOS_Sans_SC_Regular") { 244 source = "fonts/HarmonyOS_Sans_SC_Regular.ttf" 245 module_install_dir = "fonts" 246 part_name = "ace_engine_standard" 247} 248 249ohos_prebuilt_etc("HarmonyOS_Sans_SC_Thin") { 250 source = "fonts/HarmonyOS_Sans_SC_Thin.ttf" 251 module_install_dir = "fonts" 252 part_name = "ace_engine_standard" 253} 254 255ohos_prebuilt_etc("HarmonyOS_Sans_TC_Black") { 256 source = "fonts/HarmonyOS_Sans_TC_Black.ttf" 257 module_install_dir = "fonts" 258 part_name = "ace_engine_standard" 259} 260 261ohos_prebuilt_etc("HarmonyOS_Sans_TC_Bold") { 262 source = "fonts/HarmonyOS_Sans_TC_Bold.ttf" 263 module_install_dir = "fonts" 264 part_name = "ace_engine_standard" 265} 266 267ohos_prebuilt_etc("HarmonyOS_Sans_TC_Light") { 268 source = "fonts/HarmonyOS_Sans_TC_Light.ttf" 269 module_install_dir = "fonts" 270 part_name = "ace_engine_standard" 271} 272 273ohos_prebuilt_etc("HarmonyOS_Sans_TC_Medium") { 274 source = "fonts/HarmonyOS_Sans_TC_Medium.ttf" 275 module_install_dir = "fonts" 276 part_name = "ace_engine_standard" 277} 278 279ohos_prebuilt_etc("HarmonyOS_Sans_TC_Regular") { 280 source = "fonts/HarmonyOS_Sans_TC_Regular.ttf" 281 module_install_dir = "fonts" 282 part_name = "ace_engine_standard" 283} 284 285ohos_prebuilt_etc("HarmonyOS_Sans_TC_Thin") { 286 source = "fonts/HarmonyOS_Sans_TC_Thin.ttf" 287 module_install_dir = "fonts" 288 part_name = "ace_engine_standard" 289} 290 291ohos_prebuilt_etc("HarmonyOS_Sans_Thin") { 292 source = "fonts/HarmonyOS_Sans_Thin.ttf" 293 module_install_dir = "fonts" 294 part_name = "ace_engine_standard" 295} 296 297ohos_prebuilt_etc("HarmonyOS_Sans_Thin_Italic") { 298 source = "fonts/HarmonyOS_Sans_Thin_Italic.ttf" 299 module_install_dir = "fonts" 300 part_name = "ace_engine_standard" 301} 302 303group("ohos_fonts") { 304 deps = [ 305 ":HarmonyOS_Sans_Black", 306 ":HarmonyOS_Sans_Black_Italic", 307 ":HarmonyOS_Sans_Bold", 308 ":HarmonyOS_Sans_Bold_Italic", 309 ":HarmonyOS_Sans_Condensed_Black", 310 ":HarmonyOS_Sans_Condensed_Black_Italic", 311 ":HarmonyOS_Sans_Condensed_Bold", 312 ":HarmonyOS_Sans_Condensed_Bold_Italic", 313 ":HarmonyOS_Sans_Condensed_Light", 314 ":HarmonyOS_Sans_Condensed_Light_Italic", 315 ":HarmonyOS_Sans_Condensed_Medium", 316 ":HarmonyOS_Sans_Condensed_Medium_Italic", 317 ":HarmonyOS_Sans_Condensed_Regular", 318 ":HarmonyOS_Sans_Condensed_Regular_Italic", 319 ":HarmonyOS_Sans_Condensed_Thin", 320 ":HarmonyOS_Sans_Condensed_Thin_Italic", 321 ":HarmonyOS_Sans_Light", 322 ":HarmonyOS_Sans_Light_Italic", 323 ":HarmonyOS_Sans_Medium", 324 ":HarmonyOS_Sans_Medium_Italic", 325 ":HarmonyOS_Sans_Naskh_Arabic_Black", 326 ":HarmonyOS_Sans_Naskh_Arabic_Bold", 327 ":HarmonyOS_Sans_Naskh_Arabic_Light", 328 ":HarmonyOS_Sans_Naskh_Arabic_Medium", 329 ":HarmonyOS_Sans_Naskh_Arabic_Regular", 330 ":HarmonyOS_Sans_Naskh_Arabic_Thin", 331 ":HarmonyOS_Sans_Naskh_Arabic_UI_Black", 332 ":HarmonyOS_Sans_Naskh_Arabic_UI_Bold", 333 ":HarmonyOS_Sans_Naskh_Arabic_UI_Light", 334 ":HarmonyOS_Sans_Naskh_Arabic_UI_Medium", 335 ":HarmonyOS_Sans_Naskh_Arabic_UI_Regular", 336 ":HarmonyOS_Sans_Naskh_Arabic_UI_Thin", 337 ":HarmonyOS_Sans_Regular", 338 ":HarmonyOS_Sans_Regular_Italic", 339 ":HarmonyOS_Sans_SC_Black", 340 ":HarmonyOS_Sans_SC_Bold", 341 ":HarmonyOS_Sans_SC_Light", 342 ":HarmonyOS_Sans_SC_Medium", 343 ":HarmonyOS_Sans_SC_Regular", 344 ":HarmonyOS_Sans_SC_Thin", 345 ":HarmonyOS_Sans_TC_Black", 346 ":HarmonyOS_Sans_TC_Bold", 347 ":HarmonyOS_Sans_TC_Light", 348 ":HarmonyOS_Sans_TC_Medium", 349 ":HarmonyOS_Sans_TC_Regular", 350 ":HarmonyOS_Sans_TC_Thin", 351 ":HarmonyOS_Sans_Thin", 352 ":HarmonyOS_Sans_Thin_Italic", 353 ] 354}