diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-03-13 09:40:00 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-03-13 09:40:00 +0000 |
commit | 074009c945cc68a322e2a4bc11a6f982bc720011 (patch) | |
tree | 1c67356e9f5d127a8e483d1ac9e3aa265cdceb62 /devel/electron7/files/patch-sandbox_linux_BUILD.gn | |
parent | - Update WWW (diff) |
Add electron7 7.1.14, build cross-platform desktop apps with JavaScript,
HTML, and CSS.
Notes
Notes:
svn path=/head/; revision=528341
Diffstat (limited to 'devel/electron7/files/patch-sandbox_linux_BUILD.gn')
-rw-r--r-- | devel/electron7/files/patch-sandbox_linux_BUILD.gn | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-sandbox_linux_BUILD.gn b/devel/electron7/files/patch-sandbox_linux_BUILD.gn new file mode 100644 index 000000000000..d77f26457b0d --- /dev/null +++ b/devel/electron7/files/patch-sandbox_linux_BUILD.gn @@ -0,0 +1,47 @@ +--- sandbox/linux/BUILD.gn.orig 2019-12-12 12:39:56 UTC ++++ sandbox/linux/BUILD.gn +@@ -12,12 +12,12 @@ if (is_android) { + } + + declare_args() { +- compile_suid_client = is_linux ++ compile_suid_client = is_linux && !is_bsd + +- compile_credentials = is_linux ++ compile_credentials = is_linux && !is_bsd + + # On Android, use plain GTest. +- use_base_test_suite = is_linux ++ use_base_test_suite = is_linux && !is_bsd + } + + if (is_nacl_nonsfi) { +@@ -379,7 +379,7 @@ component("sandbox_services") { + public_deps += [ ":sandbox_services_headers" ] + } + +- if (is_nacl_nonsfi) { ++ if (is_nacl_nonsfi || is_bsd) { + cflags = [ "-fgnu-inline-asm" ] + + sources -= [ +@@ -387,6 +387,8 @@ component("sandbox_services") { + "services/init_process_reaper.h", + "services/scoped_process.cc", + "services/scoped_process.h", ++ "services/syscall_wrappers.cc", ++ "services/syscall_wrappers.h", + "services/yama.cc", + "services/yama.h", + "syscall_broker/broker_channel.cc", +@@ -405,6 +407,10 @@ component("sandbox_services") { + "syscall_broker/broker_process.h", + "syscall_broker/broker_simple_message.cc", + "syscall_broker/broker_simple_message.h", ++ ] ++ sources += [ ++ "services/libc_interceptor.cc", ++ "services/libc_interceptor.h", + ] + } else if (!is_android) { + sources += [ |