diff --git a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn index e511a3fa..f4f13ed0 100644 --- a/content/gpu/BUILD.gn +++ b/content/gpu/BUILD.gn @@ -119,14 +119,6 @@ target(link_target_type, "gpu_sources") { deps += [ "//components/metal_util" ] } - if (use_x11) { - deps += [ - "//ui/events/platform/x11", - "//ui/gfx/linux:gpu_memory_buffer_support_x11", - "//ui/gfx/x", - ] - } - if (use_ozone) { deps += [ "//ui/ozone" ] } @@ -140,7 +132,7 @@ target(link_target_type, "gpu_sources") { (!is_chromecast || is_cast_desktop_build)) { configs += [ "//build/config/linux/dri" ] } - + if (is_linux && use_vaapi) { public_configs = [ "//build/config/linux/libva" ] }