mac: ceftests: Fix helper app linker errors (see issue #2969)

This commit is contained in:
Marshall Greenblatt 2021-04-11 19:13:35 -04:00
parent a4603c6f1a
commit 6d25033822
3 changed files with 3 additions and 3 deletions

View File

@ -563,6 +563,7 @@
'tests/ceftests/audio_output_unittest.cc',
'tests/ceftests/client_app_delegates.cc',
'tests/ceftests/cookie_unittest.cc',
'tests/ceftests/cors_unittest.cc',
'tests/ceftests/dom_unittest.cc',
'tests/ceftests/frame_unittest.cc',
'tests/ceftests/message_router_unittest.cc',

View File

@ -169,6 +169,8 @@ int main(int argc, char* argv[]) {
settings.no_sandbox = true;
#endif
client::ClientAppBrowser::PopulateSettings(test_suite.command_line(),
settings);
test_suite.GetSettings(settings);
#if defined(OS_MAC)

View File

@ -7,7 +7,6 @@
#include "include/cef_file_util.h"
#include "include/wrapper/cef_scoped_temp_dir.h"
#include "tests/gtest/include/gtest/gtest.h"
#include "tests/shared/browser/client_app_browser.h"
#include "tests/shared/common/client_switches.h"
namespace {
@ -133,8 +132,6 @@ int CefTestSuite::Run() {
}
void CefTestSuite::GetSettings(CefSettings& settings) const {
client::ClientAppBrowser::PopulateSettings(command_line_, settings);
// Enable the experimental Chrome runtime. See issue #2969 for details.
settings.chrome_runtime =
command_line_->HasSwitch(client::switches::kEnableChromeRuntime);