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 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['chromeos==1', { | 7 ['chromeos==1', { |
8 'variables': { | 8 'variables': { |
9 # Whether to compress the 4 main ChromeVox scripts. | 9 # Whether to compress the 4 main ChromeVox scripts. |
10 'chromevox_compress_js%': '1', | 10 'chromevox_compress_js%': '1', |
(...skipping 26 matching lines...) Expand all Loading... |
37 '../braille_ime/braille_ime.gyp:braille_ime_manifest', | 37 '../braille_ime/braille_ime.gyp:braille_ime_manifest', |
38 ], | 38 ], |
39 'conditions': [ | 39 'conditions': [ |
40 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 40 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
41 'dependencies': [ | 41 'dependencies': [ |
42 '<(DEPTH)/third_party/liblouis/liblouis_nacl.gyp:liblouis_nacl_w
rapper_nacl', | 42 '<(DEPTH)/third_party/liblouis/liblouis_nacl.gyp:liblouis_nacl_w
rapper_nacl', |
43 ], | 43 ], |
44 }], | 44 }], |
45 ['chromevox_compress_js==1', { | 45 ['chromevox_compress_js==1', { |
46 'dependencies': [ | 46 'dependencies': [ |
47 'chromevox1_background_script', | |
48 'chromevox1_content_script', | 47 'chromevox1_content_script', |
49 'chromevox1_kbexplorer_script', | 48 'chromevox1_kbexplorer_script', |
50 'chromevox1_options_script', | 49 'chromevox1_options_script', |
51 'chromevox2_background_script', | 50 'chromevox2_background_script', |
52 ], | 51 ], |
53 }, { # chromevox_compress_js==0 | 52 }, { # chromevox_compress_js==0 |
54 'dependencies': [ | 53 'dependencies': [ |
55 'chromevox_copied_scripts', | 54 'chromevox_copied_scripts', |
56 'chromevox_deps', | 55 'chromevox_deps', |
57 ], | 56 ], |
58 }], | 57 }], |
59 ], | 58 ], |
60 }, | 59 }, |
61 { | 60 { |
62 'target_name': 'chromevox_static_files', | 61 'target_name': 'chromevox_static_files', |
63 'type': 'none', | 62 'type': 'none', |
64 'copies': [ | 63 'copies': [ |
65 { | 64 { |
66 'destination': '<(chromevox_dest_dir)/chromevox/background', | 65 'destination': '<(chromevox_dest_dir)/chromevox/background', |
67 'files': [ | 66 'files': [ |
68 'chromevox/background/background.html', | |
69 'chromevox/background/kbexplorer.html', | 67 'chromevox/background/kbexplorer.html', |
70 'chromevox/background/options.html', | 68 'chromevox/background/options.html', |
71 ], | 69 ], |
72 }, | 70 }, |
73 { | 71 { |
74 'destination': '<(chromevox_dest_dir)/cvox2/background', | 72 'destination': '<(chromevox_dest_dir)/cvox2/background', |
75 'files': [ | 73 'files': [ |
76 'cvox2/background/background.html', | 74 'cvox2/background/background.html', |
77 ], | 75 ], |
78 }, | 76 }, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 }, | 127 }, |
130 ], | 128 ], |
131 }, | 129 }, |
132 { | 130 { |
133 'target_name': 'chromevox_deps', | 131 'target_name': 'chromevox_deps', |
134 'type': 'none', | 132 'type': 'none', |
135 'variables': { | 133 'variables': { |
136 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js', | 134 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js', |
137 }, | 135 }, |
138 'sources': [ | 136 'sources': [ |
139 '<(chromevox1_background_script_loader_file)', | |
140 '<(chromevox1_content_script_loader_file)', | 137 '<(chromevox1_content_script_loader_file)', |
141 '<(chromevox1_kbexplorer_loader_file)', | 138 '<(chromevox1_kbexplorer_loader_file)', |
142 '<(chromevox1_options_script_loader_file)', | 139 '<(chromevox1_options_script_loader_file)', |
143 '<(chromevox2_background_script_loader_file)', | 140 '<(chromevox2_background_script_loader_file)', |
144 ], | 141 ], |
145 'includes': ['generate_deps.gypi'], | 142 'includes': ['generate_deps.gypi'], |
146 }, | 143 }, |
147 { | 144 { |
148 'target_name': 'chromevox_manifest', | 145 'target_name': 'chromevox_manifest', |
149 'type': 'none', | 146 'type': 'none', |
(...skipping 18 matching lines...) Expand all Loading... |
168 { | 165 { |
169 'target_name': 'chromevox1_content_script', | 166 'target_name': 'chromevox1_content_script', |
170 'type': 'none', | 167 'type': 'none', |
171 'variables': { | 168 'variables': { |
172 'output_file': '<(chromevox_dest_dir)/chromeVoxChromePageScript.
js', | 169 'output_file': '<(chromevox_dest_dir)/chromeVoxChromePageScript.
js', |
173 }, | 170 }, |
174 'sources': [ '<(chromevox1_content_script_loader_file)' ], | 171 'sources': [ '<(chromevox1_content_script_loader_file)' ], |
175 'includes': [ 'compress_js.gypi', ], | 172 'includes': [ 'compress_js.gypi', ], |
176 }, | 173 }, |
177 { | 174 { |
178 'target_name': 'chromevox1_background_script', | |
179 'type': 'none', | |
180 'variables': { | |
181 'output_file': '<(chromevox_dest_dir)/chromeVoxChromeBackgroundS
cript.js', | |
182 }, | |
183 'sources': [ '<(chromevox1_background_script_loader_file)' ], | |
184 'includes': [ 'compress_js.gypi', ], | |
185 }, | |
186 { | |
187 'target_name': 'chromevox1_options_script', | 175 'target_name': 'chromevox1_options_script', |
188 'type': 'none', | 176 'type': 'none', |
189 'variables': { | 177 'variables': { |
190 'output_file': '<(chromevox_dest_dir)/chromeVoxChromeOptionsScri
pt.js', | 178 'output_file': '<(chromevox_dest_dir)/chromeVoxChromeOptionsScri
pt.js', |
191 }, | 179 }, |
192 'sources': [ '<(chromevox1_options_script_loader_file)' ], | 180 'sources': [ '<(chromevox1_options_script_loader_file)' ], |
193 'includes': [ 'compress_js.gypi', ], | 181 'includes': [ 'compress_js.gypi', ], |
194 }, | 182 }, |
195 { | 183 { |
196 'target_name': 'chromevox1_kbexplorer_script', | 184 'target_name': 'chromevox1_kbexplorer_script', |
197 'type': 'none', | 185 'type': 'none', |
198 'variables': { | 186 'variables': { |
199 'output_file': '<(chromevox_dest_dir)/chromeVoxKbExplorerScript.
js', | 187 'output_file': '<(chromevox_dest_dir)/chromeVoxKbExplorerScript.
js', |
200 }, | 188 }, |
201 'sources': [ '<(chromevox1_kbexplorer_loader_file)' ], | 189 'sources': [ '<(chromevox1_kbexplorer_loader_file)' ], |
202 'includes': [ 'compress_js.gypi', ], | 190 'includes': [ 'compress_js.gypi', ], |
203 }, | 191 }, |
204 { | 192 { |
205 'target_name': 'chromevox2_background_script', | 193 'target_name': 'chromevox2_background_script', |
206 'type': 'none', | 194 'type': 'none', |
207 'variables': { | 195 'variables': { |
208 'output_file': '<(chromevox_dest_dir)/chromeVox2ChromeBackground
Script.js', | 196 'output_file': '<(chromevox_dest_dir)/chromeVox2ChromeBackground
Script.js', |
209 }, | 197 }, |
210 'sources': [ | 198 'sources': [ |
211 '<(chromevox1_background_script_loader_file)', | |
212 '<(chromevox2_background_script_loader_file)', | 199 '<(chromevox2_background_script_loader_file)', |
213 ], | 200 ], |
214 'includes': [ 'compress_js.gypi', ], | 201 'includes': [ 'compress_js.gypi', ], |
215 }, | 202 }, |
216 ], | 203 ], |
217 }, { # chromevox_compress_js==0 | 204 }, { # chromevox_compress_js==0 |
218 'targets': [ | 205 'targets': [ |
219 { | 206 { |
220 'target_name': 'chromevox_copied_scripts', | 207 'target_name': 'chromevox_copied_scripts', |
221 'type': 'none', | 208 'type': 'none', |
222 'variables': { | 209 'variables': { |
223 'dest_dir': '<(chromevox_dest_dir)', | 210 'dest_dir': '<(chromevox_dest_dir)', |
224 }, | 211 }, |
225 'sources': [ | 212 'sources': [ |
226 '<(chromevox1_background_script_loader_file)', | |
227 '<(chromevox1_content_script_loader_file)', | 213 '<(chromevox1_content_script_loader_file)', |
228 '<(chromevox1_kbexplorer_loader_file)', | 214 '<(chromevox1_kbexplorer_loader_file)', |
229 '<(chromevox1_options_script_loader_file)', | 215 '<(chromevox1_options_script_loader_file)', |
230 '<(chromevox2_background_script_loader_file)', | 216 '<(chromevox2_background_script_loader_file)', |
231 ], | 217 ], |
232 'includes': [ 'copy_js.gypi', ], | 218 'includes': [ 'copy_js.gypi', ], |
233 }, | 219 }, |
234 ], | 220 ], |
235 }], | 221 }], |
236 ], | 222 ], |
237 }], | 223 }], |
238 ], | 224 ], |
239 } | 225 } |
OLD | NEW |