mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 11:36:40 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
32 lines
1.7 KiB
C++
32 lines
1.7 KiB
C++
--- content/browser/utility_sandbox_delegate.cc.orig 2023-06-07 04:52:06 UTC
|
|
+++ content/browser/utility_sandbox_delegate.cc
|
|
@@ -66,13 +66,13 @@ UtilitySandboxedProcessLauncherDelegate::
|
|
#if BUILDFLAG(ENABLE_PPAPI)
|
|
sandbox_type_ == sandbox::mojom::Sandbox::kPpapi ||
|
|
#endif
|
|
-#if BUILDFLAG(IS_FUCHSIA)
|
|
+#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
sandbox_type_ == sandbox::mojom::Sandbox::kVideoCapture ||
|
|
#endif
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
@@ -133,10 +133,10 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe
|
|
// unsandboxed zygote and then apply their actual sandboxes in the forked
|
|
// process upon startup.
|
|
if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork ||
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|