Index: ui/aura/BUILD.gn |
diff --git a/ui/aura/BUILD.gn b/ui/aura/BUILD.gn |
index 8b22fbb0daf779f73614f17032f6948ab890c10c..733a9c2d6311dd87733bcb3e001841705ece7f2f 100644 |
--- a/ui/aura/BUILD.gn |
+++ b/ui/aura/BUILD.gn |
@@ -115,6 +115,11 @@ component("aura") { |
deps += [ |
"//ui/events/platform/x11", |
] |
+ } else { |
+ sources -= [ |
+ "window_tree_host_x11.cc", |
+ "window_tree_host_x11.h", |
+ ] |
} |
if (is_win) { |
@@ -134,11 +139,10 @@ component("aura") { |
"window_tree_host_ozone.h", |
] |
- # TODO(GYP) enable when these targets exist. |
- #deps += [ |
- # "//ui/events/ozone", |
- # "//ui/ozone", |
- #] |
+ deps += [ |
+ "//ui/events/ozone:events_ozone", |
+ "//ui/ozone", |
+ ] |
} |
} |