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, |
+ }], |
], |
}, |