Tianjie Xu | 114e3e9 | 2018-11-09 10:49:25 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
Bob Badour | 09d1969 | 2021-02-12 19:46:29 -0800 | [diff] [blame] | 16 | package { |
| 17 | default_applicable_licenses: ["external_roboto-fonts_license"], |
| 18 | } |
| 19 | |
| 20 | // Added automatically by a large-scale-change |
| 21 | // See: http://go/android-license-faq |
| 22 | license { |
| 23 | name: "external_roboto-fonts_license", |
| 24 | visibility: [":__subpackages__"], |
| 25 | license_kinds: [ |
| 26 | "SPDX-license-identifier-Apache-2.0", |
| 27 | ], |
| 28 | license_text: [ |
| 29 | "NOTICE", |
| 30 | ], |
| 31 | } |
| 32 | |
Tianjie Xu | 114e3e9 | 2018-11-09 10:49:25 -0800 | [diff] [blame] | 33 | filegroup { |
| 34 | name: "recovery_roboto-fonts_dep", |
| 35 | export_to_make_var: "recovery_roboto-fonts_dep", |
| 36 | srcs: [ |
| 37 | "*.otf", |
| 38 | "*.ttf", |
| 39 | ], |
| 40 | } |
Patrice Arruda | 56f8c2b | 2019-05-16 10:39:15 -0700 | [diff] [blame] | 41 | |
| 42 | prebuilt_font { |
| 43 | name: "Roboto-Regular.ttf", |
| 44 | src: "Roboto-Regular.ttf", |
Yo Chiang | cf5f2b2 | 2020-05-27 18:16:35 +0800 | [diff] [blame] | 45 | // These symlinks are for backward compatibility. |
Rod S | 8ee89db | 2020-09-10 16:25:20 -0700 | [diff] [blame] | 46 | symlinks: ["DroidSans.ttf", "DroidSans-Bold.ttf"], |
Patrice Arruda | 56f8c2b | 2019-05-16 10:39:15 -0700 | [diff] [blame] | 47 | } |
Seigo Nonaka | ba6223c | 2021-05-25 14:04:56 -0700 | [diff] [blame] | 48 | |
| 49 | // This static version of fonts are for backward compatibility. |
| 50 | prebuilt_font { |
| 51 | name: "RobotoStatic-Regular.ttf", |
| 52 | src: "RobotoStatic-Regular.ttf", |
| 53 | } |