| Index: chrome/browser/resources/vulcanize.gni
|
| diff --git a/chrome/browser/resources/vulcanize.gni b/chrome/browser/resources/vulcanize.gni
|
| index 69db5294cc8fa73b74f5f1ad3bb0a197ffcf512c..ca9bd1efba5ee2ea07face64810db2ab91d608d4 100644
|
| --- a/chrome/browser/resources/vulcanize.gni
|
| +++ b/chrome/browser/resources/vulcanize.gni
|
| @@ -74,6 +74,34 @@ template("vulcanize") {
|
| }
|
| }
|
|
|
| +template("uglify") {
|
| + node(target_name) {
|
| + script = "//chrome/browser/resources/uglify_gn.py"
|
| +
|
| + # Input and outputs files must be in the same order.
|
| + inputs = []
|
| +
|
| + #foreach(_input, invoker.input_files) {
|
| + # inputs += [ "$target_gen_dir/$_input" ]
|
| + #}
|
| + outputs = [
|
| + "$target_gen_dir/${invoker.output_file}",
|
| + ]
|
| +
|
| + args = [
|
| + "--base_folder",
|
| + invoker.base_folder,
|
| + "--out_folder",
|
| + rebase_path(target_gen_dir, root_build_dir),
|
| + "--input_files",
|
| + ] + invoker.input_files +
|
| + [
|
| + "--output_file",
|
| + invoker.output_file,
|
| + ]
|
| + }
|
| +}
|
| +
|
| template("polymer_css_build") {
|
| node(target_name) {
|
| script = "//chrome/browser/resources/polymer_css_build_gn.py"
|
|
|