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

Unified Diff: chrome/browser/resources/vulcanize.gni

Issue 2670723002: [MD History] Vulcanize as part of GN build. (Closed)
Patch Set: revert css_build 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 side-by-side diff with in-line comments
Download patch
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",
+ ]
+ }
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698