macOS: Disable toolchain prompt for tests (see issue #2692)

This commit is contained in:
Marshall Greenblatt 2020-01-25 01:47:06 +01:00
parent a12c2ab3e1
commit 492c6c6843
1 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,11 @@ void ClientAppBrowser::OnBeforeCommandLineProcessing(
command_line->AppendSwitch("disable-gpu-shader-disk-cache");
}
#if defined(OS_MACOSX)
// Disable the toolchain prompt on macOS.
command_line->AppendSwitch("use-mock-keychain");
#endif
DelegateSet::iterator it = delegates_.begin();
for (; it != delegates_.end(); ++it)
(*it)->OnBeforeCommandLineProcessing(this, command_line);