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

Side by Side Diff: chrome/browser/resources/vulcanize.gni

Issue 2670723002: [MD History] Vulcanize as part of GN build. (Closed)
Patch Set: address nits Created 3 years, 10 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
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 template("vulcanize") { 5 template("vulcanize") {
6 action(target_name) { 6 action(target_name) {
7 script = "//chrome/browser/resources/vulcanize_gn.py" 7 script = "//chrome/browser/resources/vulcanize_gn.py"
8 8
9 # Declare dependencies to all involved tools. 9 # Declare dependencies to all involved tools.
10 inputs = [ 10 inputs = [
(...skipping 27 matching lines...) Expand all
38 "--host", 38 "--host",
39 invoker.host, 39 invoker.host,
40 "--html_in_file", 40 "--html_in_file",
41 invoker.html_in_file, 41 invoker.html_in_file,
42 "--html_out_file", 42 "--html_out_file",
43 invoker.html_out_file, 43 invoker.html_out_file,
44 "--js_out_file", 44 "--js_out_file",
45 invoker.js_out_file, 45 invoker.js_out_file,
46 "--input", 46 "--input",
47 invoker.input, 47 invoker.input,
48 "--insert_in_head",
49 invoker.insert_in_head,
50 "--out_folder", 48 "--out_folder",
51 rebase_path(target_gen_dir, root_build_dir), 49 rebase_path(target_gen_dir, root_build_dir),
52 "--depfile", 50 "--depfile",
53 rebase_path(depfile, root_build_dir), 51 rebase_path(depfile, root_build_dir),
54 ] 52 ]
53
54 if (defined(invoker.excludes)) {
55 args += [ "--exclude" ] + invoker.excludes
56 }
57
58 if (defined(invoker.insert_in_head)) {
59 args += [
60 "--insert_in_head",
61 invoker.insert_in_head,
62 ]
63 }
55 } 64 }
56 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698