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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/run_jsbundler.gni

Issue 2464463002: Revert of DevTools: clean up scripts folder (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 assert(is_chromeos) 5 assert(is_chromeos)
6 6
7 closure_library_dir = 7 closure_library_dir =
8 "//chrome/third_party/chromevox/third_party/closure-library/closure/goog" 8 "//chrome/third_party/chromevox/third_party/closure-library/closure/goog"
9 9
10 jsbundler_modules = rebase_path([ 10 jsbundler_modules = rebase_path([
11 "depstree.py", 11 "depstree.py",
12 "source.py", 12 "source.py",
13 "treescan.py", 13 "treescan.py",
14 ], 14 ],
15 ".", 15 ".",
16 "$closure_library_dir/../bin/build") 16 "$closure_library_dir/../bin/build")
17 jsbundler_modules += 17 jsbundler_modules +=
18 [ "//third_party/WebKit/Source/devtools/scripts/build/rjsmin.py" ] 18 [ "//third_party/WebKit/Source/devtools/scripts/rjsmin.py" ]
19 19
20 template("run_jsbundler") { 20 template("run_jsbundler") {
21 assert(defined(invoker.mode)) 21 assert(defined(invoker.mode))
22 assert(defined(invoker.sources)) 22 assert(defined(invoker.sources))
23 if (defined(invoker.modules)) { 23 if (defined(invoker.modules)) {
24 modules = invoker.modules 24 modules = invoker.modules
25 } else { 25 } else {
26 modules = [] 26 modules = []
27 } 27 }
28 if (defined(invoker.rewrite_rules)) { 28 if (defined(invoker.rewrite_rules)) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 } 85 }
86 foreach(rule, rewrite_rules) { 86 foreach(rule, rewrite_rules) {
87 args += [ 87 args += [
88 "-w", 88 "-w",
89 rule, 89 rule,
90 ] 90 ]
91 } 91 }
92 args += rebase_path(sources, root_build_dir) 92 args += rebase_path(sources, root_build_dir)
93 } 93 }
94 } 94 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698