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

Unified Diff: chrome/browser/resources/BUILD.gn

Issue 2573943002: WebUI: Vulcanize MD Settings at compile time. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/BUILD.gn
diff --git a/chrome/browser/resources/BUILD.gn b/chrome/browser/resources/BUILD.gn
index c8edb250ebac5dc12eb76b18b214a977d52139fe..b7bb0893baaeab686518a2ac31d94f3eeef86e89 100644
--- a/chrome/browser/resources/BUILD.gn
+++ b/chrome/browser/resources/BUILD.gn
@@ -94,7 +94,18 @@ if (!is_ios) {
}
grit("settings_resources") {
- source = "settings/settings_resources.grd"
+ if (use_vulcanize) {
+ source = "settings/settings_resources_vulcanized.grd"
+ deps = [
+ "//chrome/browser/resources/settings:build",
+ ]
+ grit_flags = [
+ "-E",
+ "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
+ ]
+ } else {
+ source = "settings/settings_resources.grd"
+ }
# TODO(thestig): use_qualified_include = true
defines = chrome_grit_defines
« no previous file with comments | « no previous file | chrome/browser/resources/settings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698