summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2023-06-07 05:21:50 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-06-07 05:21:50 +0000
commit9627a2d669326092bd794bb75caa429782b11329 (patch)
tree6b59143ff6291aeea2fd23c78f8797e37dc9efd2
parent9f875d99aa3db9a83a721c6e64ec9497c3219dd8 (diff)
parent449715799fd6819ce1af6ca0f495f6f909712649 (diff)
downloadroboto-flex-fonts-9627a2d669326092bd794bb75caa429782b11329.tar.gz
Include RobotoFlex font into AOSP system image am: be793852ed am: 1c2da57820 am: e699de04cf am: 449715799f
Original change: https://android-review.googlesource.com/c/platform/external/roboto-flex-fonts/+/2606749 Change-Id: Ifea721dbad39cc3051a6edc6a21ed005e61e9c00 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp36
-rw-r--r--fonts.mk16
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