// // Copyright (C) 2021 The Proton AOSP 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. // runtime_resource_overlay { name: "fonts-fucek", theme: "FontFucek", product_specific: true, // Selecting this RRO alone is enough: its font file and the merged // fonts_customization.xml it needs come along automatically. required: [ "Fucek.ttf", "fonts_customization.xml", ], } // fonts_customization.xml fragment, merged by // vendor/addons/prebuilt/product/etc's genrule. filegroup { name: "fonts-fucek-fragment", srcs: ["fonts.xml"], } prebuilt_etc { name: "Fucek.ttf", src: "fonts/Fucek.ttf", sub_dir: "fonts", product_specific: true, }