diff options
Diffstat (limited to 'devel/electron13/files/patch-base_base__switches.cc')
-rw-r--r-- | devel/electron13/files/patch-base_base__switches.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-base_base__switches.cc b/devel/electron13/files/patch-base_base__switches.cc new file mode 100644 index 000000000000..74078a7b158a --- /dev/null +++ b/devel/electron13/files/patch-base_base__switches.cc @@ -0,0 +1,22 @@ +--- base/base_switches.cc.orig 2021-07-15 19:13:29 UTC ++++ base/base_switches.cc +@@ -125,8 +125,8 @@ const char kDisableUsbKeyboardDetect[] = "disable + + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ +- !BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_BSD) || (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ ++ !BUILDFLAG(IS_CHROMEOS_LACROS)) + // The /dev/shm partition is too small in certain VM environments, causing + // Chrome to fail or crash (see http://crbug.com/715363). Use this flag to + // work-around this issue (a temporary directory will always be used to create +@@ -161,7 +161,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria + + #endif + +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) + // Controls whether or not retired instruction counts are surfaced for threads + // in trace events on Linux. + // |