Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: components/exo/wayland/BUILD.gn

Issue 1427743004: exo: Add support for wl_drm version 2 to wayland bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wayland-drm-third-party
Patch Set: rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
]
}

Powered by Google App Engine
This is Rietveld 408576698