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

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: review Created 4 years, 1 month 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 0610605cb321e451040984683f688e30b642770a..18b5b22de3d199805dc7a37009be1d158667e669 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -16,7 +16,10 @@ import("//third_party/WebKit/Source/build/scripts/scripts.gni")
import("//third_party/WebKit/Source/modules/modules_idl_files.gni")
import("//third_party/WebKit/Source/platform/platform_generated.gni")
-visibility = [ "//third_party/WebKit/Source/*" ]
+visibility = [
+ "//third_party/WebKit/Source/*",
+ "//third_party/WebKit/public/*",
+]
rel_blink_core_gen_dir = rebase_path(blink_core_output_dir, root_build_dir)
@@ -697,6 +700,26 @@ 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.
visibility = [ ":*" ]
« no previous file with comments | « third_party/WebKit/Source/build/scripts/minimize_css_unittest.py ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698