diff options
Diffstat (limited to 'www/chromium/files/patch-ui_gl_BUILD.gn')
-rw-r--r-- | www/chromium/files/patch-ui_gl_BUILD.gn | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/www/chromium/files/patch-ui_gl_BUILD.gn b/www/chromium/files/patch-ui_gl_BUILD.gn index 77cd3bde206c..4628783b179c 100644 --- a/www/chromium/files/patch-ui_gl_BUILD.gn +++ b/www/chromium/files/patch-ui_gl_BUILD.gn @@ -1,11 +1,35 @@ ---- ui/gl/BUILD.gn.orig 2021-04-14 18:41:39 UTC +--- ui/gl/BUILD.gn.orig 2024-04-19 13:02:56 UTC +++ ui/gl/BUILD.gn -@@ -224,7 +224,7 @@ component("gl") { - ] - } - -- if (is_posix && !is_fuchsia && !is_mac) { -+ if (is_posix && !is_fuchsia && !is_mac && !is_bsd) { - # Windows has USE_EGL but doesn't support base::FileDescriptor. - # libsync isn't supported or needed on MacOSX. - # Fuchsia is excluded due to a libsync dependency and because it's +@@ -153,8 +153,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" ] +@@ -172,7 +170,6 @@ component("gl") { + ] + public_deps = [ + "//base", +- "//third_party/mesa_headers", + "//ui/events/platform", + "//ui/gfx", + "//ui/gfx/geometry", +@@ -379,7 +376,6 @@ component("gl") { + data_deps += [ + "//third_party/angle:libEGL", + "//third_party/angle:libGLESv2", +- "//third_party/mesa_headers", + ] + if (enable_swiftshader) { + data_deps += [ +@@ -579,7 +575,6 @@ test("gl_unittests") { + + data_deps = [ + "//testing/buildbot/filters:gl_unittests_filters", +- "//third_party/mesa_headers", + ] + + if (is_win) { |