Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: third_party/liblouis/BUILD.gn

Issue 1145243006: Port chromevox build to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@externs
Patch Set: Unshare some vars, add TODO for the rest. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 chromevox_braille_out_dir = "$root_out_dir/resources/chromeos/chromevox/braille"
6
7 group("liblouis") {
8 data_deps = [
9 ":liblouis_tables",
10 ":liblouis_tables_json",
11 ]
12 }
13
14 action("liblouis_tables") {
15 script = "copy_tables.py"
16 inputs = [
17 "liblouis_list_tables.py",
18 ]
19 depfile = "$target_gen_dir/tables.d"
20 sources = [
21 "tables.json",
22 ]
23 outputs = [
24 "$depfile.stamp",
25 ]
26 args = [
27 "-D",
28 rebase_path(".", root_build_dir),
29 "-D",
30 rebase_path("src/tables", root_build_dir),
31 "-d",
32 rebase_path("$chromevox_braille_out_dir/tables", root_build_dir),
33 "-e",
34 rebase_path("cvox-common.cti", root_build_dir),
35 "--depfile",
36 rebase_path(depfile, root_build_dir),
37 ] + rebase_path(sources, root_build_dir)
38 }
39
40 copy("liblouis_tables_json") {
41 sources = [
42 "tables.json",
43 ]
44 outputs = [
45 "$chromevox_braille_out_dir/{{source_file_part}}",
46 ]
47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698