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

Unified Diff: build/common.gypi

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years 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 | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/browser/io_thread.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 4cc1ce457f58654091e6d7126042265b5945618c..399bfc18c0d656e571e1aa758f4d148e7c456ec2 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -597,6 +597,9 @@
# Enables used resource whitelist generation; disabled by default.
'enable_resource_whitelist_generation%': 0,
+ # Enable BROTLI support by default.
+ 'disable_brotli_support%': 0,
+
# Enable FILE support by default.
'disable_file_support%': 0,
@@ -865,6 +868,7 @@
['OS=="ios"', {
'configuration_policy%': 0,
+ 'disable_brotli_support%': 1,
'disable_ftp_support%': 1,
'enable_extensions%': 0,
'cld2_table_size%': 0,
@@ -1222,6 +1226,7 @@
'cld_version%': '<(cld_version)',
'cld2_table_size%': '<(cld2_table_size)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
+ 'disable_brotli_support%': '<(disable_brotli_support)',
'disable_file_support%': '<(disable_file_support)',
'disable_ftp_support%': '<(disable_ftp_support)',
'enable_task_manager%': '<(enable_task_manager)',
@@ -3036,6 +3041,9 @@
['enable_settings_app==1', {
'defines': ['ENABLE_SETTINGS_APP=1'],
}],
+ ['disable_brotli_support==1', {
+ 'defines': ['DISABLE_BROTLI_SUPPORT=1'],
+ }],
['disable_file_support==1', {
'defines': ['DISABLE_FILE_SUPPORT=1'],
}],
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/browser/io_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698