1*e1fe3e4aSElliott Hughes// 2*e1fe3e4aSElliott Hughes// Copyright (C) 2021 The Android Open Source Project 3*e1fe3e4aSElliott Hughes// 4*e1fe3e4aSElliott Hughes// Licensed under the Apache License, Version 2.0 (the "License"); 5*e1fe3e4aSElliott Hughes// you may not use this file except in compliance with the License. 6*e1fe3e4aSElliott Hughes// You may obtain a copy of the License at 7*e1fe3e4aSElliott Hughes// 8*e1fe3e4aSElliott Hughes// http://www.apache.org/licenses/LICENSE-2.0 9*e1fe3e4aSElliott Hughes// 10*e1fe3e4aSElliott Hughes// Unless required by applicable law or agreed to in writing, software 11*e1fe3e4aSElliott Hughes// distributed under the License is distributed on an "AS IS" BASIS, 12*e1fe3e4aSElliott Hughes// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*e1fe3e4aSElliott Hughes// See the License for the specific language governing permissions and 14*e1fe3e4aSElliott Hughes// limitations under the License. 15*e1fe3e4aSElliott Hughes 16*e1fe3e4aSElliott Hughes// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE 17*e1fe3e4aSElliott Hughes// CONSULT THE OWNERS AND [email protected] BEFORE 18*e1fe3e4aSElliott Hughes// DEPENDING ON IT IN YOUR PROJECT. *** 19*e1fe3e4aSElliott Hughespackage { 20*e1fe3e4aSElliott Hughes default_applicable_licenses: ["external_fonttools_license"], 21*e1fe3e4aSElliott Hughes} 22*e1fe3e4aSElliott Hughes 23*e1fe3e4aSElliott Hughes// Added automatically by a large-scale-change that took the approach of 24*e1fe3e4aSElliott Hughes// 'apply every license found to every target'. While this makes sure we respect 25*e1fe3e4aSElliott Hughes// every license restriction, it may not be entirely correct. 26*e1fe3e4aSElliott Hughes// 27*e1fe3e4aSElliott Hughes// e.g. GPL in an MIT project might only apply to the contrib/ directory. 28*e1fe3e4aSElliott Hughes// 29*e1fe3e4aSElliott Hughes// Please consider splitting the single license below into multiple licenses, 30*e1fe3e4aSElliott Hughes// taking care not to lose any license_kind information, and overriding the 31*e1fe3e4aSElliott Hughes// default license using the 'licenses: [...]' property on targets as needed. 32*e1fe3e4aSElliott Hughes// 33*e1fe3e4aSElliott Hughes// For unused files, consider creating a 'fileGroup' with "//visibility:private" 34*e1fe3e4aSElliott Hughes// to attach the license to, and including a comment whether the files may be 35*e1fe3e4aSElliott Hughes// used in the current project. 36*e1fe3e4aSElliott Hughes// 37*e1fe3e4aSElliott Hughes// large-scale-change included anything that looked like it might be a license 38*e1fe3e4aSElliott Hughes// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. 39*e1fe3e4aSElliott Hughes// 40*e1fe3e4aSElliott Hughes// Please consider removing redundant or irrelevant files from 'license_text:'. 41*e1fe3e4aSElliott Hughes// See: http://go/android-license-faq 42*e1fe3e4aSElliott Hugheslicense { 43*e1fe3e4aSElliott Hughes name: "external_fonttools_license", 44*e1fe3e4aSElliott Hughes visibility: [":__subpackages__"], 45*e1fe3e4aSElliott Hughes license_kinds: [ 46*e1fe3e4aSElliott Hughes "SPDX-license-identifier-Apache-2.0", 47*e1fe3e4aSElliott Hughes "SPDX-license-identifier-BSD", 48*e1fe3e4aSElliott Hughes "SPDX-license-identifier-MIT", 49*e1fe3e4aSElliott Hughes "SPDX-license-identifier-OFL", // by exception only 50*e1fe3e4aSElliott Hughes "SPDX-license-identifier-Unicode-DFS", 51*e1fe3e4aSElliott Hughes "legacy_unencumbered", 52*e1fe3e4aSElliott Hughes ], 53*e1fe3e4aSElliott Hughes license_text: [ 54*e1fe3e4aSElliott Hughes "LICENSE", 55*e1fe3e4aSElliott Hughes "LICENSE.external", 56*e1fe3e4aSElliott Hughes "NOTICE", 57*e1fe3e4aSElliott Hughes ], 58*e1fe3e4aSElliott Hughes} 59