Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index b2ab261eebffb98c1c70d9a676dc8b8f00b1a28c..becba78c854a136a7c204a7a910f69ebad823ef0 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, |
@@ -858,6 +861,7 @@ |
['OS=="ios"', { |
'configuration_policy%': 0, |
+ 'disable_brotli_support%': 1, |
'disable_ftp_support%': 1, |
'enable_extensions%': 0, |
'cld2_table_size%': 0, |
@@ -1215,6 +1219,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)', |
@@ -3032,6 +3037,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'], |
}], |