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

Unified Diff: build/common.gypi

Issue 7033018: Handler settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove UNIT_TEST flag, replace with in_unit_test_ variable 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
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 6c8d55e870ad20c3351efeeb664434f7a26c99c2..8954ab43f93566315745efa7ce7ab727a15239da 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -126,6 +126,9 @@
# currently only works on Linux.
'use_third_party_translations%': 0,
+ # Enable the Manage Handlers section in the settings page.
+ 'show_handler_settings%': 1,
+
# Remoting compilation is enabled by default. Set to 0 to disable.
'remoting%': 1,
@@ -224,6 +227,7 @@
'remoting%': '<(remoting)',
'p2p_apis%': '<(p2p_apis)',
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
+ 'show_handler_settings%': '<(show_handler_settings)',
# The release channel that this build targets. This is used to restrict
# channel-specific build options, like which installer packages to create.
@@ -571,7 +575,11 @@
'use_ibus%': 1,
}, {
'use_ibus%': 0,
- }]
+ }],
+
+ ['show_handler_settings==1', {
+ 'grit_defines': ['-D', 'show_handler_settings'],
+ }],
],
},
'target_defaults': {
@@ -752,6 +760,11 @@
'<(DEPTH)/third_party/wtl/include',
],
}], # OS==win
+ ['show_handler_settings==1', {
+ 'defines': [
+ 'SHOW_HANDLER_SETTINGS',
+ ],
+ }],
], # conditions for 'target_defaults'
'target_conditions': [
['chromium_code==0', {
« no previous file with comments | « no previous file | build/features_override.gypi » ('j') | chrome/browser/custom_handlers/protocol_handler_registry.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698