blob: f8629f9bd0b82af782351b233edba596c8d0ccec [file] [log] [blame]
Anton Hansson9f9f90b2021-04-12 17:15:11 +01001// Copyright (C) 2021 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
Bob Badour1cdaca92021-04-21 14:42:18 -070015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_base_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_base_license"],
22}
23
Anton Hansson9f9f90b2021-04-12 17:15:11 +010024python_defaults {
25 name: "fonts_python_defaults",
26 version: {
Anton Hansson9f9f90b2021-04-12 17:15:11 +010027 py3: {
Anton Hansson9f9f90b2021-04-12 17:15:11 +010028 embedded_launcher: true,
29 },
30 },
31}
32
33python_binary_host {
34 name: "fontchain_linter",
35 defaults: ["fonts_python_defaults"],
36 main: "fontchain_linter.py",
37 srcs: [
38 "fontchain_linter.py",
39 ],
40 libs: [
41 "fontTools",
42 ],
43}
44
45python_binary_host {
46 name: "update_font_metadata",
47 defaults: ["fonts_python_defaults"],
48 main: "update_font_metadata.py",
49 srcs: [
50 "update_font_metadata.py",
51 ],
52 libs: [
53 "fontTools",
54 ],
55}