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

Unified Diff: third_party/WebKit/public/BUILD.gn

Issue 2088123002: Minimize bundled user-agent CSS: html.css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add unittest Created 4 years, 5 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: third_party/WebKit/public/BUILD.gn
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
index 03a0089b3b687159e7b6f214fe98e422040d1e6c..9a8abc4df0ebac1c99528956847ec98d442704ac 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//mojo/public/tools/bindings/mojom.gni")
+import("//third_party/WebKit/Source/bindings/core/core.gni")
import("//third_party/WebKit/Source/config.gni")
import("//tools/grit/grit_rule.gni")
@@ -142,6 +143,14 @@ grit("resources") {
"use_concatenated_impulse_responses",
]
}
+ html_min_css = "$blink_core_output_dir/html.css"
+ grit_flags += [
+ "-E",
+ "html_min_css=" + rebase_path(html_min_css),
+ ]
+ deps = [
+ "//third_party/WebKit/Source/core:make_minimized_css",
+ ]
}
# GYP version: WebKit/public/blink_resources.gyp:blink_image_resources

Powered by Google App Engine
This is Rietveld 408576698