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 [email protected] BEFORE 17// DEPENDING ON IT IN YOUR PROJECT. *** 18package { 19 default_applicable_licenses: [ 20 "external_google-fonts_source-sans-pro_license", 21 ], 22} 23 24// Added automatically by a large-scale-change that took the approach of 25// 'apply every license found to every target'. While this makes sure we respect 26// every license restriction, it may not be entirely correct. 27// 28// e.g. GPL in an MIT project might only apply to the contrib/ directory. 29// 30// Please consider splitting the single license below into multiple licenses, 31// taking care not to lose any license_kind information, and overriding the 32// default license using the 'licenses: [...]' property on targets as needed. 33// 34// For unused files, consider creating a 'fileGroup' with "//visibility:private" 35// to attach the license to, and including a comment whether the files may be 36// used in the current project. 37// See: http://go/android-license-faq 38license { 39 name: "external_google-fonts_source-sans-pro_license", 40 visibility: [":__subpackages__"], 41 license_kinds: [ 42 "SPDX-license-identifier-MIT", 43 "SPDX-license-identifier-OFL", // by exception only 44 "legacy_by_exception_only", // by exception only 45 ], 46 license_text: [ 47 "LICENSE", 48 ], 49} 50 51prebuilt_font { 52 name: "SourceSansPro-Regular.ttf", 53 src: "SourceSansPro-Regular.ttf", 54} 55 56prebuilt_font { 57 name: "SourceSansPro-Italic.ttf", 58 src: "SourceSansPro-Italic.ttf", 59} 60 61prebuilt_font { 62 name: "SourceSansPro-SemiBold.ttf", 63 src: "SourceSansPro-SemiBold.ttf", 64} 65 66prebuilt_font { 67 name: "SourceSansPro-SemiBoldItalic.ttf", 68 src: "SourceSansPro-SemiBoldItalic.ttf", 69} 70 71prebuilt_font { 72 name: "SourceSansPro-Bold.ttf", 73 src: "SourceSansPro-Bold.ttf", 74} 75 76prebuilt_font { 77 name: "SourceSansPro-BoldItalic.ttf", 78 src: "SourceSansPro-BoldItalic.ttf", 79} 80 81filegroup { 82 name: "SourceSansPro", 83 srcs: ["font_config.json"], 84 required: [ 85 "SourceSansPro-Bold.ttf", 86 "SourceSansPro-Regular.ttf", 87 "SourceSansPro-SemiBold.ttf", 88 "SourceSansPro-SemiBoldItalic.ttf", 89 "SourceSansPro-Italic.ttf", 90 "SourceSansPro-BoldItalic.ttf", 91 ], 92} 93