Alexander Martinz | 04b39f8 | 2024-08-21 20:09:51 +0200 | [diff] [blame] | 1 | // Copyright (C) 2018 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | // *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE |
| 16 | // CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE |
| 17 | // DEPENDING ON IT IN YOUR PROJECT. *** |
| 18 | package { |
| 19 | default_applicable_licenses: ["external_google-fonts_open-sans_license"], |
| 20 | } |
| 21 | |
| 22 | // Added automatically by a large-scale-change that took the approach of |
| 23 | // 'apply every license found to every target'. While this makes sure we respect |
| 24 | // every license restriction, it may not be entirely correct. |
| 25 | // |
| 26 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 27 | // |
| 28 | // Please consider splitting the single license below into multiple licenses, |
| 29 | // taking care not to lose any license_kind information, and overriding the |
| 30 | // default license using the 'licenses: [...]' property on targets as needed. |
| 31 | // |
| 32 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 33 | // to attach the license to, and including a comment whether the files may be |
| 34 | // used in the current project. |
| 35 | // See: http://go/android-license-faq |
| 36 | license { |
| 37 | name: "external_google-fonts_open-sans_license", |
| 38 | visibility: [":__subpackages__"], |
| 39 | license_kinds: [ |
| 40 | "SPDX-license-identifier-MIT", |
| 41 | "SPDX-license-identifier-OFL", // by exception only |
| 42 | "legacy_by_exception_only", // by exception only |
| 43 | ], |
| 44 | license_text: [ |
| 45 | "LICENSE", |
| 46 | ], |
| 47 | } |
| 48 | |
| 49 | prebuilt_font { |
| 50 | name: "OpenSans-Regular.ttf", |
| 51 | src: "OpenSans-Regular.ttf", |
| 52 | product_specific: true, |
| 53 | } |
| 54 | |
| 55 | prebuilt_font { |
| 56 | name: "OpenSans-Italic.ttf", |
| 57 | src: "OpenSans-Italic.ttf", |
| 58 | product_specific: true, |
| 59 | } |
| 60 | |
| 61 | prebuilt_font { |
| 62 | name: "OpenSans-Medium.ttf", |
| 63 | src: "OpenSans-Medium.ttf", |
| 64 | product_specific: true, |
| 65 | } |
| 66 | |
| 67 | prebuilt_font { |
| 68 | name: "OpenSans-MediumItalic.ttf", |
| 69 | src: "OpenSans-MediumItalic.ttf", |
| 70 | product_specific: true, |
| 71 | } |
| 72 | |
| 73 | prebuilt_font { |
| 74 | name: "OpenSans-Bold.ttf", |
| 75 | src: "OpenSans-Bold.ttf", |
| 76 | product_specific: true, |
| 77 | } |
| 78 | |
| 79 | prebuilt_font { |
| 80 | name: "OpenSans-BoldItalic.ttf", |
| 81 | src: "OpenSans-BoldItalic.ttf", |
| 82 | product_specific: true, |
| 83 | } |