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: third_party/WebKit/Source/core/BUILD.gn

Issue 2088123002: Minimize bundled user-agent CSS: html.css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: perf try Created 4 years, 6 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/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index 0d89983f4d3f66acf9341f872eae59cb6e18152a..0d3505fef968812c710a6fab0b13ffe602201f21 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -14,7 +14,10 @@ import("//third_party/WebKit/Source/core/core.gni")
import("//third_party/WebKit/Source/build/scripts/scripts.gni")
import("//third_party/WebKit/Source/platform/platform_generated.gni")
-visibility = [ "//third_party/WebKit/Source/*" ]
+visibility = [
+ "//third_party/WebKit/Source/*",
+ "//third_party/WebKit/public/*",
esprehn 2016/06/27 05:17:31 Hmm this makes public capable of including core he
kouhei (in TOK) 2016/06/27 05:39:22 Agreed, but I'm not sure about the alternatives. T
+]
rel_blink_core_gen_dir = rebase_path(blink_core_output_dir, root_build_dir)
@@ -957,6 +960,25 @@ action("make_core_generated_private_script_for_testing") {
deps = make_core_generated_deps
}
+action("make_minimized_css") {
+ script = "../build/scripts/minimize_css.py"
+
+ inputs = [
+ "css/html.css",
+ ]
+ outputs = [
+ "$blink_core_output_dir/html.css",
+ ]
+
+ args = [
+ "--output_dir",
+ rel_blink_core_gen_dir,
+ ]
+ args += rebase_path(inputs, root_build_dir)
+
+ deps = make_core_generated_deps
+}
+
# "HTMLEntityTable" in make_core_generated from GYP.
action("make_core_generated_html_entity_table") {
visibility = [] # Allow re-assignment of list.

Powered by Google App Engine
This is Rietveld 408576698