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