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

Unified Diff: chrome/browser/resources/vulcanize_readme.md

Issue 2235593002: Vulcanize MD History (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « chrome/browser/resources/md_history/vulcanized.html ('k') | chrome/browser/ui/webui/md_history_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/vulcanize_readme.md
diff --git a/chrome/browser/resources/md_downloads/vulcanize_readme.md b/chrome/browser/resources/vulcanize_readme.md
similarity index 62%
rename from chrome/browser/resources/md_downloads/vulcanize_readme.md
rename to chrome/browser/resources/vulcanize_readme.md
index 2be2248ada9519cdbea8f3a6e47bdcd474ada76f..903b09e572dfb50c96b7650afba43615a2a83ad3 100644
--- a/chrome/browser/resources/md_downloads/vulcanize_readme.md
+++ b/chrome/browser/resources/vulcanize_readme.md
@@ -1,8 +1,8 @@
-# Vulcanizing Material Design downloads
+# Vulcanizing Material Design WebUI
`vulcanize` is an npm module used to combine resources. In order to make the
-Material Design downloads page sufficiently fast, we run vulcanize on the source
-files to combine them and reduce blocking load/parse time.
+Material Design downloads and history pages sufficiently fast, we run vulcanize
+on the source files to combine them and reduce blocking load/parse time.
## Required software
@@ -35,11 +35,12 @@ Ultimately, all that is required to run this script is that `crisper` and
## Combining resources with vulcanize
-To combine all the CSS/HTML/JS for the downloads page to make it production
-fast, you can run the commands:
+To combine all the CSS/HTML/JS for the Material Design downloads and history
+pages to make them production fast, you can run the commands:
```bash
$ chrome/browser/resources/md_downloads/vulcanize.py # from src/
+$ chrome/browser/resources/md_history/vulcanize.py # from src/
```
This should overwrite the following files:
@@ -47,8 +48,11 @@ This should overwrite the following files:
- chrome/browser/resources/md_downloads/
- vulcanized.html (all <link rel=import> and stylesheets inlined)
- crisper.js (all JavaScript, extracted from vulcanized.html)
+- chrome/browser/resources/md_history/
+ - vulcanized.html (all <link rel=import> and stylesheets inlined)
+ - crisper.js (all JavaScript, extracted from vulcanized.html)
-## Testing downloads without vulcanizing
+## Testing pages without vulcanizing
-Build with "use_vulcanize=0" in your GYP_DEFINES to build downloads without
-vulcanizing.
+Build with the gn arg "use_vulcanize = false" to build downloads and history
+without vulcanizing.
« no previous file with comments | « chrome/browser/resources/md_history/vulcanized.html ('k') | chrome/browser/ui/webui/md_history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698