From acd282e852c15ea7b3dd1d09252dbe9f66578f2c Mon Sep 17 00:00:00 2001 From: dpranke Date: Tue, 4 Nov 2014 19:54:47 -0800 Subject: GN: Get os="chromeos" use_ozone=true to compile There were a number of ozone targets that had rusted or never been implemented in the GN build for Chrome OS. Fix it! R=cmasone TBR=brettw BUG=424334 TEST=build chrome with os=chromeos use_ozone=true use_clang=true Review URL: https://codereview.chromium.org/705623004 Cr-Commit-Position: refs/heads/master@{#302752} --- ui/aura/BUILD.gn | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'ui/aura/BUILD.gn') diff --git a/ui/aura/BUILD.gn b/ui/aura/BUILD.gn index 8b22fbb..733a9c2 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", + ] } } -- cgit v1.1