Build hyphens-data.zip
This patch creates "hyphens-data.zip" in $OUT directory.
Bug: 1093555
Change-Id: I5b5e71165c40ebd187284038b796941898b29bed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391020
Reviewed-by: Michael Moss <mmoss@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804658}
This commit is contained in:
1
BUILD.gn
1
BUILD.gn
@ -887,6 +887,7 @@ if (is_win) {
|
||||
"//components/zucchini",
|
||||
"//courgette",
|
||||
"//courgette:copy_courgette_binaries",
|
||||
"//third_party/hyphenation-patterns",
|
||||
"//tools/metrics:metrics_metadata",
|
||||
]
|
||||
|
||||
|
@ -1009,4 +1009,10 @@ FILES = [
|
||||
'buildtype': ['dev', 'official'],
|
||||
'archive': 'chrome-win32-syms.zip',
|
||||
},
|
||||
# Hyphenation dictionaries:
|
||||
{
|
||||
'filename': 'hyphens-data.zip',
|
||||
'buildtype': ['official'],
|
||||
'archive': 'hyphens-data.zip',
|
||||
},
|
||||
]
|
||||
|
49
third_party/hyphenation-patterns/BUILD.gn
vendored
Normal file
49
third_party/hyphenation-patterns/BUILD.gn
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//build/config/zip.gni")
|
||||
|
||||
zip("hyphenation-patterns") {
|
||||
inputs = [
|
||||
"hyb/hyph-as.hyb",
|
||||
"hyb/hyph-be.hyb",
|
||||
"hyb/hyph-bg.hyb",
|
||||
"hyb/hyph-bn.hyb",
|
||||
"hyb/hyph-cu.hyb",
|
||||
"hyb/hyph-cy.hyb",
|
||||
"hyb/hyph-da.hyb",
|
||||
"hyb/hyph-de-1901.hyb",
|
||||
"hyb/hyph-de-1996.hyb",
|
||||
"hyb/hyph-de-ch-1901.hyb",
|
||||
"hyb/hyph-en-gb.hyb",
|
||||
"hyb/hyph-en-us.hyb",
|
||||
"hyb/hyph-es.hyb",
|
||||
"hyb/hyph-et.hyb",
|
||||
"hyb/hyph-eu.hyb",
|
||||
"hyb/hyph-fr.hyb",
|
||||
"hyb/hyph-ga.hyb",
|
||||
"hyb/hyph-gu.hyb",
|
||||
"hyb/hyph-hi.hyb",
|
||||
"hyb/hyph-hr.hyb",
|
||||
"hyb/hyph-hu.hyb",
|
||||
"hyb/hyph-hy.hyb",
|
||||
"hyb/hyph-kn.hyb",
|
||||
"hyb/hyph-la.hyb",
|
||||
"hyb/hyph-ml.hyb",
|
||||
"hyb/hyph-mn-cyrl.hyb",
|
||||
"hyb/hyph-mr.hyb",
|
||||
"hyb/hyph-nb.hyb",
|
||||
"hyb/hyph-nn.hyb",
|
||||
"hyb/hyph-or.hyb",
|
||||
"hyb/hyph-pa.hyb",
|
||||
"hyb/hyph-pt.hyb",
|
||||
"hyb/hyph-sl.hyb",
|
||||
"hyb/hyph-ta.hyb",
|
||||
"hyb/hyph-te.hyb",
|
||||
"hyb/hyph-tk.hyb",
|
||||
"hyb/hyph-und-ethi.hyb",
|
||||
]
|
||||
output = "$root_build_dir/hyphens-data.zip"
|
||||
base_dir = "hyb"
|
||||
}
|
@ -15,6 +15,7 @@ originated from TeX hyphenation patterns project at http://www.hyphenation.org,
|
||||
modified by Android engineers. See src/README.android.
|
||||
|
||||
Local Modifications:
|
||||
* Added BUILD.gn.
|
||||
* The script `build_hyb.sh` was added to generate binary data files
|
||||
for the minikin library. Also the `hyb` directory contains the
|
||||
binary data files generated by the script.
|
||||
|
Reference in New Issue
Block a user