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

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

Issue 2670723002: [MD History] Vulcanize as part of GN build. (Closed)
Patch Set: address nits 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 87d708a810766179e8b78a3be60c3f9ffc922d2a..bbb64101e912380e2bf59e7f9e8097cdb5741f9c 100644
--- a/chrome/browser/resources/vulcanize.gni
+++ b/chrome/browser/resources/vulcanize.gni
@@ -45,12 +45,21 @@ template("vulcanize") {
invoker.js_out_file,
"--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.excludes)) {
+ args += [ "--exclude" ] + invoker.excludes
+ }
+
+ if (defined(invoker.insert_in_head)) {
+ args += [
+ "--insert_in_head",
+ invoker.insert_in_head,
+ ]
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698