Index: mojo/services/window_manager/BUILD.gn |
diff --git a/mojo/services/window_manager/BUILD.gn b/mojo/services/window_manager/BUILD.gn |
index 4887a3d6874075d5bad1ae331e028cf15cffaf9a..6e8ece8365b5a7c62281c53aac5756b3af985d86 100644 |
--- a/mojo/services/window_manager/BUILD.gn |
+++ b/mojo/services/window_manager/BUILD.gn |
@@ -38,7 +38,6 @@ |
"//mojo/services/public/cpp/view_manager", |
"//mojo/services/public/interfaces/window_manager", |
"//ui/base", |
- "//ui/events", |
"//ui/gfx", |
"//ui/gfx/geometry", |
"//ui/wm", |
@@ -66,6 +65,12 @@ |
"//testing/gtest", |
"//ui/gl", |
] |
+ if (is_linux) { |
+ deps += [ |
+ "//third_party/mesa:osmesa", |
+ "//mojo/services/native_viewport", |
+ ] |
+ } |
if (use_x11) { |
deps += [ "//ui/gfx/x" ] |
} |