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

Unified 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: Workaround hardlink related spuroius rebuild issue by using a stamp file (not ideal). Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/third_party/chromevox/BUILD.gn ('k') | third_party/liblouis/copy_tables.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/liblouis/BUILD.gn
diff --git a/third_party/liblouis/BUILD.gn b/third_party/liblouis/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..85e452c2d3c60fc4c579c07ef1d6dd84acbe72b7
--- /dev/null
+++ b/third_party/liblouis/BUILD.gn
@@ -0,0 +1,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}}",
+ ]
+}
« no previous file with comments | « chrome/third_party/chromevox/BUILD.gn ('k') | third_party/liblouis/copy_tables.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698