summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_gl_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-ui_gl_BUILD.gn')
-rw-r--r--www/iridium/files/patch-ui_gl_BUILD.gn35
1 files changed, 35 insertions, 0 deletions
diff --git a/www/iridium/files/patch-ui_gl_BUILD.gn b/www/iridium/files/patch-ui_gl_BUILD.gn
new file mode 100644
index 000000000000..12be9cfec96c
--- /dev/null
+++ b/www/iridium/files/patch-ui_gl_BUILD.gn
@@ -0,0 +1,35 @@
+--- ui/gl/BUILD.gn.orig 2022-03-28 18:11:04 UTC
++++ ui/gl/BUILD.gn
+@@ -162,8 +162,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" ]
+@@ -180,7 +178,6 @@ component("gl") {
+ ]
+ public_deps = [
+ "//base",
+- "//third_party/mesa_headers",
+ "//ui/events/platform",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+@@ -409,7 +406,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" ]
+@@ -639,7 +635,6 @@ test("gl_unittests") {
+
+ data_deps = [
+ "//testing/buildbot/filters:gl_unittests_filters",
+- "//third_party/mesa_headers",
+ ]
+
+ # TODO(https://crbug.com/789065): this must be moved to Ozone.