Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index df6ba204018a6218c24d28bfb36fa1fdc3984efb..c4bd5edbf4ef56537a01911741254feda05402a0 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, |
@@ -848,6 +851,7 @@ |
}], |
['OS=="ios"', { |
+ 'disable_brotli_support%': 1, |
'disable_ftp_support%': 1, |
'enable_extensions%': 0, |
'enable_google_now%': 0, |
@@ -1207,6 +1211,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)', |
@@ -3006,6 +3011,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'], |
}], |