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

Unified Diff: build/common.gypi

Issue 10880071: Disable FTP on iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: After rebasing Created 8 years, 4 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 | « no previous file | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »
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 8be3bd70d2adc913f8b6cec5bdfb1f87a8eed900..767916dd2eb54256613c04573e3a3bc5a4798e08 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -308,6 +308,9 @@
# Enable the task manager by default.
'enable_task_manager%': 1,
+ # Enable FTP support by default.
+ 'disable_ftp_support%': 0,
+
# XInput2 multitouch support is disabled by default (use_xi2_mt=0).
# Setting to non-zero value enables XI2 MT. When XI2 MT is enabled,
# the input value also defines the required XI2 minor minimum version.
@@ -466,6 +469,7 @@
['OS=="ios"', {
'enable_automation%': 0,
+ 'disable_ftp_support%': 1,
'remoting%': 0,
}],
@@ -605,6 +609,7 @@
'enable_automation%': '<(enable_automation)',
'enable_printing%': '<(enable_printing)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
+ 'disable_ftp_support%': '<(disable_ftp_support)',
'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)',
'enable_task_manager%': '<(enable_task_manager)',
'sas_dll_path%': '<(sas_dll_path)',
@@ -1622,6 +1627,9 @@
['enable_captive_portal_detection==1', {
'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'],
}],
+ ['disable_ftp_support==1', {
+ 'defines': ['DISABLE_FTP_SUPPORT=1'],
+ }],
], # conditions for 'target_defaults'
'target_conditions': [
['enable_wexit_time_destructors==1', {
« no previous file with comments | « no previous file | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698