xref: /aosp_15_r20/frameworks/base/data/fonts/script/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15python_library_host {
16    name: "generate_fonts_xml_lib",
17    srcs: [
18        "alias_builder.py",
19        "commandline.py",
20        "custom_json.py",
21        "fallback_builder.py",
22        "family_builder.py",
23        "font_builder.py",
24        "validators.py",
25        "xml_builder.py",
26    ],
27}
28
29python_binary_host {
30    name: "generate_fonts_xml",
31    main: "generate_fonts_xml_main.py",
32    srcs: ["generate_fonts_xml_main.py"],
33    libs: [
34        "generate_fonts_xml_lib",
35    ],
36}
37