xref: /aosp_15_r20/external/roboto-flex-fonts/Android.bp (revision 501683e14af8e2c163dd2374f4d395dcb620be86)
1*501683e1SAndroid Build Coastguard Worker//
2*501683e1SAndroid Build Coastguard Worker// Copyright (C) 2023 The Android Open Source Project
3*501683e1SAndroid Build Coastguard Worker//
4*501683e1SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
5*501683e1SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
6*501683e1SAndroid Build Coastguard Worker// You may obtain a copy of the License at
7*501683e1SAndroid Build Coastguard Worker//
8*501683e1SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
9*501683e1SAndroid Build Coastguard Worker//
10*501683e1SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
11*501683e1SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
12*501683e1SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*501683e1SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
14*501683e1SAndroid Build Coastguard Worker// limitations under the License.
15*501683e1SAndroid Build Coastguard Worker
16*501683e1SAndroid Build Coastguard Workerpackage {
17*501683e1SAndroid Build Coastguard Worker    default_applicable_licenses: ["external_roboto-flex-fonts_license"],
18*501683e1SAndroid Build Coastguard Worker}
19*501683e1SAndroid Build Coastguard Worker
20*501683e1SAndroid Build Coastguard Worker// Added automatically by a large-scale-change
21*501683e1SAndroid Build Coastguard Worker// See: http://go/android-license-faq
22*501683e1SAndroid Build Coastguard Workerlicense {
23*501683e1SAndroid Build Coastguard Worker    name: "external_roboto-flex-fonts_license",
24*501683e1SAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
25*501683e1SAndroid Build Coastguard Worker    license_kinds: [
26*501683e1SAndroid Build Coastguard Worker        "SPDX-license-identifier-OFL", // by exception only
27*501683e1SAndroid Build Coastguard Worker    ],
28*501683e1SAndroid Build Coastguard Worker    license_text: [
29*501683e1SAndroid Build Coastguard Worker        "LICENSE",
30*501683e1SAndroid Build Coastguard Worker    ],
31*501683e1SAndroid Build Coastguard Worker}
32*501683e1SAndroid Build Coastguard Worker
33*501683e1SAndroid Build Coastguard Workerprebuilt_font {
34*501683e1SAndroid Build Coastguard Worker    name: "RobotoFlex-Regular.ttf",
35*501683e1SAndroid Build Coastguard Worker    src: "RobotoFlex-Regular.ttf",
36*501683e1SAndroid Build Coastguard Worker}
37*501683e1SAndroid Build Coastguard Worker
38*501683e1SAndroid Build Coastguard Workerfilegroup {
39*501683e1SAndroid Build Coastguard Worker    name: "RobotoFlex",
40*501683e1SAndroid Build Coastguard Worker    srcs: ["font_config.json"],
41*501683e1SAndroid Build Coastguard Worker    required: [
42*501683e1SAndroid Build Coastguard Worker        "RobotoFlex-Regular.ttf",
43*501683e1SAndroid Build Coastguard Worker    ],
44*501683e1SAndroid Build Coastguard Worker}
45