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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/copy_js.gypi

Issue 299703003: Build ChromeVox using gyp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Address nits from Dominic. Created 6 years, 7 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 2014 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 # Include this file in a target to copy all necessary files to satisfy
6 # the transitive dependencies of a set of top-level JavaScript files
7 # using closure-style dependency declarations. The following variables
8 # must be available when this file is included:
9 # js_root_flags: List of '-r' flags to jsbundler.py for locating the
10 # .js files.
11 # path_rewrite_flags: '-w' flags to jsbundler.py to replace source path
12 # prefixes at the destination.
13 # dest_dir: Destination directory for all copied files.
14
15 {
16 'actions': [
17 {
18 'action_name': 'copy_js',
19 'message': 'Copy JS for <(_target_name)',
20 'variables': {
21 'js_files': [
22 '<!@(python tools/jsbundler.py <(js_root_flags) <(_sources))'
23 ],
24 },
25 'inputs': [
26 'tools/jsbundler.py',
27 '<@(js_files)',
28 ],
29 'outputs': [
30 '<!@(python tools/jsbundler.py <@(path_rewrite_flags) -d <(dest_dir) <@( js_files))'
31 ],
32 'action': [
33 'python',
34 'tools/jsbundler.py',
35 '-m', 'copy',
36 '-d', '<(dest_dir)',
37 '<@(path_rewrite_flags)',
38 '<@(js_files)',
39 ],
40 },
41 ]
42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698