Index: components/exo/wayland/BUILD.gn |
diff --git a/components/exo/wayland/BUILD.gn b/components/exo/wayland/BUILD.gn |
index 2041108cb1d2cd5d61af55867f7ea3fb3e38785f..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") { |
@@ -28,8 +34,8 @@ source_set("unit_tests") { |
] |
deps = [ |
+ ":wayland", |
"//testing/gtest", |
"//third_party/wayland:wayland_client", |
- ":wayland", |
] |
} |