Chromium Code Reviews| Index: chrome/browser/resources/vulcanize.gni |
| diff --git a/chrome/browser/resources/vulcanize.gni b/chrome/browser/resources/vulcanize.gni |
| index d782bc3195b1ccc23f3b50dbb012e9f7d2fd83d9..825240bf9e74e99e34596306ceccf1934f39233d 100644 |
| --- a/chrome/browser/resources/vulcanize.gni |
| +++ b/chrome/browser/resources/vulcanize.gni |
| @@ -47,12 +47,26 @@ template("vulcanize") { |
| invoker.input_type, |
| "--input", |
| invoker.input, |
| - "--insert_in_head", |
| - invoker.insert_in_head, |
| "--out_folder", |
| rebase_path(target_gen_dir, root_build_dir), |
| "--depfile", |
| rebase_path(depfile, root_build_dir), |
| ] |
| + |
| + if (defined(invoker.insert_in_head)) { |
| + args += [ |
| + "--insert_in_head", |
| + invoker.insert_in_head, |
| + ] |
| + } |
| + |
| + if (defined(invoker.excludes)) { |
| + foreach(_exclude, invoker.excludes) { |
| + args += [ |
| + "--exclude", |
|
dpapad
2017/02/08 23:04:18
Can we not just pass all the excludes with a singl
calamity
2017/02/09 03:07:35
Done.
|
| + "$_exclude", |
| + ] |
| + } |
| + } |
| } |
| } |