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

Unified Diff: components/resources/BUILD.gn

Issue 2013493006: Revert of Brotli compression used on about credits html file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « components/components_resources.gyp ('k') | third_party/brotli/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/resources/BUILD.gn
diff --git a/components/resources/BUILD.gn b/components/resources/BUILD.gn
index 3782edde141c3f3358ec3fa60db2f2da3b11ca73..3be6fe9ff482057a1235169bce07a6d5e214e3b2 100644
--- a/components/resources/BUILD.gn
+++ b/components/resources/BUILD.gn
@@ -3,10 +3,8 @@
# found in the LICENSE file.
import("//tools/grit/grit_rule.gni")
-import("//third_party/brotli/brotli.gni")
about_credits_file = "$target_gen_dir/about_credits.html"
-about_credits_file_bro = "$target_gen_dir/about_credits.bro"
# GYP version: components/components_resources.gyp:components_resources
group("resources") {
@@ -31,11 +29,11 @@
grit_flags = [
"-E",
- "about_credits_file=" + rebase_path(about_credits_file_bro, root_build_dir),
+ "about_credits_file=" + rebase_path(about_credits_file, root_build_dir),
]
deps = [
- ":compressed_about_credits",
+ ":about_credits",
]
}
@@ -57,14 +55,6 @@
"components_resources_material_200_percent.pak",
]
output_dir = "$root_gen_dir/components"
-}
-
-compress_file_brotli("compressed_about_credits") {
- input_file = about_credits_file
- output_file = about_credits_file_bro
- deps = [
- ":about_credits",
- ]
}
# GYP version: components/components_resources.gyp:about_credits
« no previous file with comments | « components/components_resources.gyp ('k') | third_party/brotli/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698