ports/www/chromium/patches/patch-chrome_common_channel_info_h

20 lines
753 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: chrome/common/channel_info.h
--- chrome/common/channel_info.h.orig
+++ chrome/common/channel_info.h
@@ -104,13 +104,13 @@ void ClearChannelForTesting();
std::string GetChannelSuffixForDataDir();
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::string GetChannelSuffixForExtraFlagsEnvVarName();
#endif
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
// Returns the channel-specific filename of the desktop shortcut used to launch
// the browser.
std::string GetDesktopName(base::Environment* env);