summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-content_common_BUILD.gn
blob: 84a62375963487201659734ddf0f6b83b3299785 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- content/common/BUILD.gn.orig	2019-04-08 08:32:54 UTC
+++ content/common/BUILD.gn
@@ -382,6 +382,12 @@ source_set("common") {
     libs += [ "android" ]
   }
 
+  if (is_bsd) {
+    sources -= [
+      "sandbox_init_linux.cc",
+    ]
+  }
+
   if (is_debug && !is_component_build && enable_plugins) {
     # Content depends on the PPAPI message logging stuff; if this isn't here,
     # some unit test binaries won't compile. This only worked in release mode