Index: components/exo/wayland/BUILD.gn |
diff --git a/components/exo/wayland/BUILD.gn b/components/exo/wayland/BUILD.gn |
index 7b8e434e723d95ca52144676a0bfb058435d7705..67d6d63db713f4f0a002f5c222263d48e693a857 100644 |
--- a/components/exo/wayland/BUILD.gn |
+++ b/components/exo/wayland/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/ui.gni") |
+ |
source_set("wayland") { |
sources = [ |
"scoped_wl_types.cc", |
@@ -18,6 +20,10 @@ source_set("wayland") { |
"//skia", |
"//third_party/wayland:wayland_server", |
] |
+ |
+ if (use_ozone) { |
+ deps += [ "//third_party/mesa:wayland_drm_protocol" ] |
+ } |
} |
source_set("unit_tests") { |