$OpenBSD: patch-ui_gl_BUILD_gn,v 1.41 2021/11/16 11:28:47 robert Exp $

Index: ui/gl/BUILD.gn
--- ui/gl/BUILD.gn.orig
+++ ui/gl/BUILD.gn
@@ -161,8 +161,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" ]
@@ -179,7 +177,6 @@ component("gl") {
   ]
   public_deps = [
     "//base",
-    "//third_party/mesa_headers",
     "//ui/events/platform",
     "//ui/gfx",
     "//ui/gfx/geometry",
@@ -398,7 +395,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" ]
@@ -632,8 +628,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) {
