diff options
author | Seigo Nonaka <nona@google.com> | 2023-05-29 17:47:55 +0900 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2023-05-29 17:47:55 +0900 |
commit | be793852ed7c883ad59abd25a6acae72e70e5351 (patch) | |
tree | 6b59143ff6291aeea2fd23c78f8797e37dc9efd2 | |
parent | a0a167874cdb9c6d7d238b326d509e270a58b0e5 (diff) | |
download | roboto-flex-fonts-be793852ed7c883ad59abd25a6acae72e70e5351.tar.gz |
Include RobotoFlex font into AOSP system image
Bug: 235303866
Test: Manually done
Change-Id: I32af22fd2399fdc438a3aa20b2429ac09b1b08e5
-rw-r--r-- | Android.bp | 36 | ||||
-rw-r--r-- | fonts.mk | 16 |
2 files changed, 52 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..30f0448 --- /dev/null +++ b/Android.bp @@ -0,0 +1,36 @@ +// +// Copyright (C) 2023 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + default_applicable_licenses: ["external_roboto-flex-fonts_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "external_roboto-flex-fonts_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-OFL", // by exception only + ], + license_text: [ + "LICENSE", + ], +} + +prebuilt_font { + name: "RobotoFlex-Regular.ttf", + src: "RobotoFlex-Regular.ttf", +} diff --git a/fonts.mk b/fonts.mk new file mode 100644 index 0000000..066005b --- /dev/null +++ b/fonts.mk @@ -0,0 +1,16 @@ +# Copyright (C) 2023 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +PRODUCT_PACKAGES := \ + RobotoFlex-Regular.ttf |