$OpenBSD: patch-ui_gl_BUILD_gn,v 1.15 2021/04/01 10:24:46 robert Exp $

Index: ui/gl/BUILD.gn
--- ui/gl/BUILD.gn.orig
+++ ui/gl/BUILD.gn
@@ -156,8 +156,6 @@ component("gl") {
     defines += [ "GPU_ENABLE_SERVICE_LOGGING" ]
   }
 
-  include_dirs = [ "//third_party/mesa_headers" ]
-
   all_dependent_configs = [ ":gl_config" ]
 
   public_configs = [ "//third_party/khronos:khronos_headers" ]
@@ -171,7 +169,6 @@ component("gl") {
   ]
   public_deps = [
     "//base",
-    "//third_party/mesa_headers",
     "//ui/events/platform",
     "//ui/gfx",
     "//ui/gfx/geometry",
@@ -371,7 +368,6 @@ component("gl") {
       data_deps += [
         "//third_party/angle:libEGL",
         "//third_party/angle:libGLESv2",
-        "//third_party/mesa_headers",
       ]
       if (enable_swiftshader) {
         data_deps += [ "//third_party/swiftshader" ]
@@ -601,8 +597,6 @@ test("gl_unittests") {
     "//ui/platform_window",
     "//ui/platform_window:platform_impls",
   ]
-
-  data_deps = [ "//third_party/mesa_headers" ]
 
   # TODO(https://crbug.com/789065): this must be moved to Ozone.
   if (use_x11) {
