forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
47 lines (43 loc) · 1.12 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 2015 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.
chromevox_braille_out_dir = "$root_out_dir/resources/chromeos/chromevox/braille"
group("liblouis") {
data_deps = [
":liblouis_tables",
":liblouis_tables_json",
]
}
action("liblouis_tables") {
script = "copy_tables.py"
inputs = [
"liblouis_list_tables.py",
]
depfile = "$target_gen_dir/tables.d"
sources = [
"tables.json",
]
outputs = [
"$depfile.stamp",
]
args = [
"-D",
rebase_path(".", root_build_dir),
"-D",
rebase_path("src/tables", root_build_dir),
"-d",
rebase_path("$chromevox_braille_out_dir/tables", root_build_dir),
"-e",
rebase_path("cvox-common.cti", root_build_dir),
"--depfile",
rebase_path(depfile, root_build_dir),
] + rebase_path(sources, root_build_dir)
}
copy("liblouis_tables_json") {
sources = [
"tables.json",
]
outputs = [
"$chromevox_braille_out_dir/{{source_file_part}}",
]
}