mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
Approved by: rene (mentor, implicit) Security: https://vuxml.freebsd.org/freebsd/246174d3-e979-11ed-8290-a8a1599412c6.html
20 lines
896 B
C++
20 lines
896 B
C++
--- chrome/common/channel_info_posix.cc.orig 2023-04-28 17:01:32 UTC
|
|
+++ chrome/common/channel_info_posix.cc
|
|
@@ -92,7 +92,7 @@ std::string GetChannelSuffixForDataDir() {
|
|
}
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
std::string GetChannelSuffixForExtraFlagsEnvVarName() {
|
|
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
|
const auto channel_state = GetChannelImpl();
|
|
@@ -118,7 +118,7 @@ std::string GetChannelSuffixForExtraFlagsEnvVarName()
|
|
|
|
// 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)
|
|
std::string GetDesktopName(base::Environment* env) {
|
|
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
|
// Google Chrome packaged as a snap is a special case: the application name
|