summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-08-27 10:16:25 -0700
committerXin Li <delphij@google.com>2020-08-27 10:16:25 -0700
commit58f1f69a0ed6978af5e93eaa76af24dcca17772f (patch)
treec4a7d03d044f6c95bcb19780adda0bf3d57ed7b6
parent69e476290ceb1a490635253a6c406ca04077e731 (diff)
parenta025d830e6953bd17ad85f4ca7df7948cb95845e (diff)
downloadarvo-58f1f69a0ed6978af5e93eaa76af24dcca17772f.tar.gz
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)temp_sam_168057903
Bug: 166295507 Merged-In: Ia2bf7669ab40996c26e2b0db5fec9387efa1a91b Change-Id: Idbf8064b452046180970762ee90d6539336fd54a
-rw-r--r--Android.bp33
-rw-r--r--Android.mk54
2 files changed, 33 insertions, 54 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..b18cc6d
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,33 @@
+// Copyright (C) 2018 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.
+
+prebuilt_font {
+ name: "Arvo-Regular.ttf",
+ src: "Arvo-Regular.ttf",
+}
+
+prebuilt_font {
+ name: "Arvo-Italic.ttf",
+ src: "Arvo-Italic.ttf",
+}
+
+prebuilt_font {
+ name: "Arvo-Bold.ttf",
+ src: "Arvo-Bold.ttf",
+}
+
+prebuilt_font {
+ name: "Arvo-BoldItalic.ttf",
+ src: "Arvo-BoldItalic.ttf",
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 4fdd5b6..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright (C) 2018 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.
-
-# We have to use BUILD_PREBUILT instead of PRODUCT_COPY_FIES,
-# to copy over the NOTICE file.
-
-LOCAL_PATH := $(call my-dir)
-
-ifneq ($(SMALLER_FONT_FOOTPRINT),true)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := Arvo-Regular.ttf
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
-LOCAL_MODULE_CLASS := ETC
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := Arvo-Italic.ttf
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
-LOCAL_MODULE_CLASS := ETC
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := Arvo-Bold.ttf
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
-LOCAL_MODULE_CLASS := ETC
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := Arvo-BoldItalic.ttf
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
-LOCAL_MODULE_CLASS := ETC
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
-include $(BUILD_PREBUILT)
-
-endif