summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-content_test_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-content_test_BUILD.gn')
-rw-r--r--devel/electron13/files/patch-content_test_BUILD.gn37
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-content_test_BUILD.gn b/devel/electron13/files/patch-content_test_BUILD.gn
new file mode 100644
index 000000000000..8987b56b399c
--- /dev/null
+++ b/devel/electron13/files/patch-content_test_BUILD.gn
@@ -0,0 +1,37 @@
+--- content/test/BUILD.gn.orig 2021-07-15 19:13:39 UTC
++++ content/test/BUILD.gn
+@@ -1502,10 +1502,12 @@ test("content_browsertests") {
+ }
+
+ if (is_linux || is_chromeos) {
+- sources += [
+- "../browser/utility_process_sandbox_browsertest.cc",
+- "../browser/zygote_host/zygote_browsertest.cc",
+- ]
++ if (!is_bsd) {
++ sources += [
++ "../browser/utility_process_sandbox_browsertest.cc",
++ "../browser/zygote_host/zygote_browsertest.cc",
++ ]
++ }
+ deps += [ "//ui/gfx:test_support" ]
+
+ if (use_atk) {
+@@ -1754,7 +1756,7 @@ static_library("run_all_unittests") {
+ ":test_support",
+ "//base/test:test_support",
+ ]
+- if (is_linux || is_chromeos) {
++ if ((is_linux || is_chromeos) && !is_bsd) {
+ deps += [ "//content/common:set_process_title_linux" ]
+ }
+ }
+@@ -2613,7 +2615,7 @@ test("content_unittests") {
+ deps += [ "//ui/gfx/x" ]
+ }
+
+- if (is_linux || is_chromeos) {
++ if ((is_linux || is_chromeos) && !is_bsd) {
+ sources += [ "../common/set_process_title_linux_unittest.cc" ]
+ deps += [ "//content/common:set_process_title_linux" ]
+ }