xref: /aosp_15_r20/external/hyphenation-patterns/TeX/la/Android.bp (revision 92a653552b93b47109930ab8dfdbe79e1a46ab29)
1// Copyright 2015 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
15// TODO: we have data for Liturgical Latin, but there is no standard BCP 47 tag
16// for it, so we don't build it.
17
18package {
19    default_applicable_licenses: [
20        "external_hyphenation_patterns_TeX_la_license",
21    ],
22}
23
24// See: http://go/android-license-faq
25license {
26    name: "external_hyphenation_patterns_TeX_la_license",
27    visibility: [":__subpackages__"],
28    license_kinds: [
29        "SPDX-license-identifier-MIT",
30    ],
31    license_text: [
32        "NOTICE",
33    ],
34}
35
36genrule {
37    name: "hyph-la-hyb",
38    srcs: [
39        "hyph-la.pat.txt",
40        "hyph-la.chr.txt",
41        "hyph-la.hyp.txt",
42    ],
43    cmd: "$(location mk_hyb_file) $(location hyph-la.pat.txt) $(out)",
44    tools: ["mk_hyb_file"],
45    out: ["hyph-la.hyb"],
46}
47
48prebuilt_usr_hyphendata {
49    name: "hyph-la",
50    srcs: [
51        ":hyph-la-hyb",
52        "hyph-la.lic.txt",
53    ],
54}
55