mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -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/
29 lines
1.2 KiB
C++
29 lines
1.2 KiB
C++
--- content/child/child_process.cc.orig 2024-08-14 20:54:59 UTC
|
|
+++ content/child/child_process.cc
|
|
@@ -35,7 +35,7 @@
|
|
#include "content/common/android/cpu_time_metrics.h"
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
#include "content/child/sandboxed_process_thread_type_handler.h"
|
|
#endif
|
|
|
|
@@ -70,7 +70,7 @@ ChildProcess::ChildProcess(base::ThreadType io_thread_
|
|
thread_pool_init_params)
|
|
: resetter_(&child_process, this, nullptr),
|
|
io_thread_(std::make_unique<ChildIOThread>()) {
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
const base::CommandLine& command_line =
|
|
*base::CommandLine::ForCurrentProcess();
|
|
const bool is_embedded_in_browser_process =
|
|
@@ -199,7 +199,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th
|
|
main_thread_.reset(thread);
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
void ChildProcess::SetIOThreadType(base::ThreadType thread_type) {
|
|
if (!io_thread_) {
|
|
return;
|