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

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

Issue 2726403003: WebUI: Split unpack_pak functionality to its own GN action. (Closed)
Patch Set: Rebase Created 3 years, 9 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("node") { 5 template("node") {
6 action(target_name) { 6 action(target_name) {
7 forward_variables_from(invoker, "*") 7 forward_variables_from(invoker, "*")
8 8
9 # Declare dependencies to all involved tools. 9 # Declare dependencies to all involved tools.
10 inputs += [ 10 inputs += [
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 deps = invoker.deps 92 deps = invoker.deps
93 93
94 args = [ 94 args = [
95 "--out_folder", 95 "--out_folder",
96 rebase_path(target_gen_dir, root_build_dir), 96 rebase_path(target_gen_dir, root_build_dir),
97 "--input_files", 97 "--input_files",
98 ] + invoker.input_files + [ "--output_files" ] + invoker.output_files 98 ] + invoker.input_files + [ "--output_files" ] + invoker.output_files
99 } 99 }
100 } 100 }
101
102 template("unpack_pak") {
103 action(target_name) {
104 script = "//chrome/browser/resources/unpack_pak.py"
105
106 inputs = [
107 "//chrome/browser/resources/unpack_pak.py",
108 ]
109
110 outputs = [
111 "$target_gen_dir/${invoker.out_folder}",
112 ]
113
114 deps = invoker.deps
115
116 args = [
117 "--out_folder",
118 rebase_path("$target_gen_dir/${invoker.out_folder}", root_build_dir),
119 "--pak_file",
120 rebase_path("$target_gen_dir/${invoker.pak_file}", root_build_dir),
121 ]
122 }
123 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698