Disable RegisterProtocolHandler on Linux.
The OS-level registration isn't implemented on Linux, and so every time the browser starts it will act as though another program has been registered to handle the protocols it knows about and deregister them all internally. Review URL: http://codereview.chromium.org/7024043 git-svn-id: http://src.chromium.org/svn/trunk/src/build@88246 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
34fe3a39a4
Коммит
898ceee92e
12
common.gypi
12
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,
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче