summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-07 15:05:29 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-07 15:05:29 +0000
commit02494ec2e31ee6f69898e560ab3f7812fbbda1cc (patch)
treef5e13d18320e36ac769dc861b82767bc206ef59e /build
parent182561f042ab34e010e498299b1e6354bc0a44e9 (diff)
downloadchromium_src-02494ec2e31ee6f69898e560ab3f7812fbbda1cc.zip
chromium_src-02494ec2e31ee6f69898e560ab3f7812fbbda1cc.tar.gz
chromium_src-02494ec2e31ee6f69898e560ab3f7812fbbda1cc.tar.bz2
Make it so net/ can be built without file:// support.
This is a step towards making it possible to build net/ without ICU. ICU is used by directory_lister.cc, which is used for creating file directory listings. BUG=362608 R=mef@chromium.org Review URL: https://codereview.chromium.org/253603004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 16a4607..efb8063 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -482,6 +482,9 @@
# Enables used resource whitelist generation; disabled by default.
'enable_resource_whitelist_generation%': 0,
+ # Enable FILE support by default.
+ 'disable_file_support%': 0,
+
# Enable FTP support by default.
'disable_ftp_support%': 0,
@@ -1044,6 +1047,7 @@
'cld2_dynamic%': '<(cld2_dynamic)',
'cld2_is_component%': '<(cld2_is_component)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
+ 'disable_file_support%': '<(disable_file_support)',
'disable_ftp_support%': '<(disable_ftp_support)',
'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)',
'enable_task_manager%': '<(enable_task_manager)',
@@ -2623,6 +2627,9 @@
['enable_settings_app==1', {
'defines': ['ENABLE_SETTINGS_APP=1'],
}],
+ ['disable_file_support==1', {
+ 'defines': ['DISABLE_FILE_SUPPORT=1'],
+ }],
['disable_ftp_support==1', {
'defines': ['DISABLE_FTP_SUPPORT=1'],
}],