SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
35
www/iridium/patches/patch-chrome_app_chrome_main_cc
Normal file
35
www/iridium/patches/patch-chrome_app_chrome_main_cc
Normal file
|
@ -0,0 +1,35 @@
|
|||
Index: chrome/app/chrome_main.cc
|
||||
--- chrome/app/chrome_main.cc.orig
|
||||
+++ chrome/app/chrome_main.cc
|
||||
@@ -27,11 +27,11 @@
|
||||
#include "chrome/app/notification_metrics.h"
|
||||
#endif
|
||||
|
||||
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
#include "base/base_switches.h"
|
||||
#endif
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
#include "chrome/app/chrome_main_linux.h"
|
||||
#endif
|
||||
|
||||
@@ -136,7 +136,7 @@ int ChromeMain(int argc, const char** argv) {
|
||||
SetUpBundleOverrides();
|
||||
#endif
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
AppendExtraArgumentsToCommandLine(command_line);
|
||||
#endif
|
||||
|
||||
@@ -164,7 +164,7 @@ int ChromeMain(int argc, const char** argv) {
|
||||
headless::SetUpCommandLine(command_line);
|
||||
} else {
|
||||
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
|
||||
- BUILDFLAG(IS_WIN)
|
||||
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
|
||||
if (headless::IsOldHeadlessMode()) {
|
||||
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
command_line->AppendSwitch(::headless::switches::kEnableCrashReporter);
|
Loading…
Add table
Add a link
Reference in a new issue