OLD | NEW |
(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 } |
OLD | NEW |