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

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: Add depfile_dir to grit_rule 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 import("//chrome/browser/resources/chromeos/chromevox/chromevox.gni")
6
7 chromevox_braille_out_dir = "$chromevox_out_dir/braille"
8
9 group("liblouis") {
10 data_deps = [
11 ":liblouis_tables",
12 ":liblouis_tables_json",
13 ]
14 }
15
16 action("liblouis_tables") {
17 script = "copy_tables.py"
18 inputs = [
19 "liblouis_list_tables.py",
20 ]
21 depfile = "$target_gen_dir/tables.d"
22 sources = [
23 "tables.json",
24 ]
25 outputs = [
26 "$depfile.stamp",
27 ]
28 args = [
29 "-D",
30 rebase_path(".", root_build_dir),
31 "-D",
32 rebase_path("src/tables", root_build_dir),
33 "-d",
34 rebase_path("$chromevox_braille_out_dir/tables", root_build_dir),
35 "-e",
36 rebase_path("cvox-common.cti", root_build_dir),
37 "--depfile",
38 rebase_path(depfile, root_build_dir),
39 ] + rebase_path(sources, root_build_dir)
40 }
41
42 copy("liblouis_tables_json") {
43 sources = [
44 "tables.json",
45 ]
46 outputs = [
47 "$chromevox_braille_out_dir/{{source_file_part}}",
48 ]
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698