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

Unified Diff: build/common.gypi

Issue 7024043: Disable RegisterProtocolHandler on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | no next file » | 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 6664afd475c26abe1bb48961227bc502f498a83f..ba758021a36f671a4da696359a28f6f2eb136d8b 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -129,9 +129,6 @@
# currently only works on Linux.
'use_third_party_translations%': 0,
- # Enable navigator.registerProtocolHandler and supporting UI.
- 'enable_register_protocol_handler%': 1,
-
# Remoting compilation is enabled by default. Set to 0 to disable.
'remoting%': 1,
@@ -201,6 +198,15 @@
}, {
'file_manager_extension%': 0,
}],
+
+ # Enable navigator.registerProtocolHandler and supporting UI.
+ # We disable on Linux because the OS-level component of RPH isn't
+ # implemented.
+ ['OS=="linux"', {
+ 'enable_register_protocol_handler%': 0,
+ }, {
+ 'enable_register_protocol_handler%': 1,
+ }],
],
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698