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

Unified Diff: build/common.gypi

Issue 7033018: Handler settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove in_unit_test_ Created 9 years, 7 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 | build/features_override.gypi » ('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 fbfd20b7418c45ec13f0199dac32ea7e219a5ad2..43a1433abf57bdd1de990a60def2fc17bb6b2eca 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -129,6 +129,9 @@
# currently only works on Linux.
'use_third_party_translations%': 0,
+ # Enable the Manage Handlers section in the settings page.
+ 'enable_register_protocol_handler%': 0,
+
# Remoting compilation is enabled by default. Set to 0 to disable.
'remoting%': 1,
@@ -228,6 +231,7 @@
'remoting%': '<(remoting)',
'p2p_apis%': '<(p2p_apis)',
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
+ 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
# The release channel that this build targets. This is used to restrict
# channel-specific build options, like which installer packages to create.
@@ -575,7 +579,11 @@
'use_ibus%': 1,
}, {
'use_ibus%': 0,
- }]
+ }],
+
+ ['enable_register_protocol_handler==1', {
+ 'grit_defines': ['-D', 'enable_register_protocol_handler'],
+ }],
],
},
'target_defaults': {
@@ -760,6 +768,11 @@
'<(DEPTH)/third_party/wtl/include',
],
}], # OS==win
+ ['enable_register_protocol_handler==1', {
+ 'defines': [
+ 'ENABLE_REGISTER_PROTOCOL_HANDLER',
+ ],
+ }],
], # conditions for 'target_defaults'
'target_conditions': [
['chromium_code==0', {
« no previous file with comments | « no previous file | build/features_override.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698