Debian Codegraph @

config/external/icu/data/convert_icudata.py

raw
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 import os
6 import subprocess
7
8 import buildconfig
9
10
11 def main(output, data_file):
12 output.close()
13 subprocess.run(
14 [
15 os.path.join(buildconfig.topobjdir, "dist", "host", "bin", "icupkg"),
16 "-tb",
17 data_file,
18 output.name,
19 ]
20 )