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

Unified Diff: chrome/common/features.gni

Issue 2654723002: WebUI: disable optimizations (vulcanize) in debug builds (Closed)
Patch Set: add comment 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/features.gni
diff --git a/chrome/common/features.gni b/chrome/common/features.gni
index 337732a3525f267e8b36d0bec6891dfa6fef8821..68410be48637136840c5215385ecc5a2225684de 100644
--- a/chrome/common/features.gni
+++ b/chrome/common/features.gni
@@ -65,9 +65,11 @@ declare_args() {
# Indicates if the build is using PGO.
pgo_build = chrome_pgo_phase > 0
- # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
- # pages. https://github.com/polymer/vulcanize
- use_vulcanize = true
+ # Optimize parts of Chrome's UI written with web technologies (HTML/CSS/JS)
+ # for runtime performance purposes. This does more work at compile time for
+ # speed benefits at runtime (so we skip in debug builds). TODO(dbeam): rename
+ # this flag "optimize_web_uis" because we run more than vulcanize these days.
+ use_vulcanize = !is_debug
}
# Use brlapi from brltty for braille display support.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698