- Each font family is now its own themes/fonts/fonts-*/ module carrying its RRO switcher, font files and fonts_customization.xml fragment (merged by the genrule in prebuilt/product/etc/Android.bp) - Drop config.mk: which modules a product ships is now chosen by the product (vendor/pawlet/config/addons_packages.mk) - Add theme overlays: icon packs, UDFPS animations/icons, lockscreen clock fonts, QS tile layouts, icon shapes, charging animations and more - Add NOTICE
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
//
|
|
// 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,
|
|
}
|