OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 if (is_chromeos) { | 5 assert(is_chromeos) |
6 import("//chrome/browser/resources/chromeos/chromevox/chromevox.gni") | |
7 | 6 |
8 chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox" | 7 chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox" |
9 | 8 |
10 group("chromevox_third_party_resources") { | 9 group("chromevox_third_party_resources") { |
11 deps = [ | 10 deps = [ |
12 ":chromevox_third_party_background_resources", | 11 ":chromevox_third_party_background_resources", |
13 ":chromevox_third_party_injected_resources", | 12 ":chromevox_third_party_injected_resources", |
14 ] | 13 ] |
15 } | 14 } |
16 | 15 |
17 copy("chromevox_third_party_background_resources") { | 16 copy("chromevox_third_party_background_resources") { |
18 sources = [ | 17 sources = [ |
19 "chromevox/background/chrome_shared2.css", | 18 "chromevox/background/chrome_shared2.css", |
20 "chromevox/background/options.css", | 19 "chromevox/background/options.css", |
21 "chromevox/background/options_widgets.css", | 20 "chromevox/background/options_widgets.css", |
22 ] | 21 ] |
23 outputs = [ | 22 outputs = [ |
24 "$chromevox_out_dir/chromevox/background/{{source_file_part}}", | 23 "$chromevox_out_dir/chromevox/background/{{source_file_part}}", |
25 ] | 24 ] |
26 } | 25 } |
27 | 26 |
28 copy("chromevox_third_party_injected_resources") { | 27 copy("chromevox_third_party_injected_resources") { |
29 sources = [ | 28 sources = [ |
30 "chromevox/injected/mathjax.js", | 29 "chromevox/injected/mathjax.js", |
31 "chromevox/injected/mathjax_external_util.js", | 30 "chromevox/injected/mathjax_external_util.js", |
32 ] | 31 ] |
33 outputs = [ | 32 outputs = [ |
34 "$chromevox_out_dir/chromevox/injected/{{source_file_part}}", | 33 "$chromevox_out_dir/chromevox/injected/{{source_file_part}}", |
35 ] | 34 ] |
36 } | |
37 } | 35 } |
OLD | NEW |