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

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

Issue 2569283002: WebUI: Add GN rules for Vulcanize. (Closed)
Patch Set: Update after node/node_modules renaming. Created 3 years, 11 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 2017 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 template("vulcanize") {
6 action(target_name) {
7 script = "//chrome/browser/resources/vulcanize_gn.py"
8
9 depfile = "${target_gen_dir}/${target_name}.d"
10
11 outputs = [
12 "$target_gen_dir/${invoker.html_out_file}",
13 "$target_gen_dir/${invoker.js_out_file}",
14 ]
15 deps = invoker.deps
16
17 # Note that we have to manually pass the sources to our script if the
18 # script needs them as inputs.
19 args = [
20 "--host",
21 invoker.host,
22 "--html_in_file",
23 invoker.html_in_file,
24 "--html_out_file",
25 invoker.html_out_file,
26 "--js_out_file",
27 invoker.js_out_file,
28 "--input_type",
29 invoker.input_type,
30 "--input",
31 invoker.input,
32 "--out_folder",
33 rebase_path(target_gen_dir, root_build_dir),
34 "--depfile",
35 rebase_path(depfile, root_build_dir),
36 ]
37 }
38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698