$OpenBSD: patch-components_crash_content_app_BUILD_gn,v 1.18 2019/09/23 07:18:04 robert Exp $

Index: components/crash/content/app/BUILD.gn
--- components/crash/content/app/BUILD.gn.orig
+++ components/crash/content/app/BUILD.gn
@@ -54,7 +54,7 @@ static_library("app") {
     sources += [ "crashpad.cc" ]
   }
 
-  if (is_linux) {
+  if (is_linux && !is_openbsd) {
     sources += [
       "breakpad_linux.cc",
       "breakpad_linux.h",
@@ -87,7 +87,7 @@ static_library("app") {
     ]
   }
 
-  if (is_android || is_linux) {
+  if (is_android || (is_linux && !is_openbsd)) {
     deps += [
       "//base:base_static",
       "//components/crash/core/common",
@@ -96,7 +96,7 @@ static_library("app") {
       "//sandbox",
     ]
 
-    if (is_linux) {
+    if (is_linux && !is_openbsd) {
       deps += [
         "//content/public/common",
         "//third_party/breakpad:client",
