tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
scottmg | bba95ce | 2014-12-03 07:28:23 | [diff] [blame] | 5 | import("//build/config/ui.gni") |
qsr | fb5251d1 | 2015-01-21 15:57:22 | [diff] [blame] | 6 | import("//testing/test.gni") |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 7 | |
| 8 | component("aura") { |
| 9 | sources = [ |
satorux | d3ce5e2 | 2015-02-18 01:01:42 | [diff] [blame] | 10 | "../wm/public/activation_change_observer.cc", |
| 11 | "../wm/public/activation_change_observer.h", |
| 12 | "../wm/public/activation_client.cc", |
| 13 | "../wm/public/activation_client.h", |
| 14 | "../wm/public/activation_delegate.cc", |
| 15 | "../wm/public/activation_delegate.h", |
| 16 | "../wm/public/animation_host.cc", |
| 17 | "../wm/public/animation_host.h", |
ginkage | e8d7032 | 2015-03-13 21:20:59 | [diff] [blame] | 18 | "../wm/public/scoped_drag_drop_disabler.cc", |
| 19 | "../wm/public/scoped_drag_drop_disabler.h", |
satorux | d3ce5e2 | 2015-02-18 01:01:42 | [diff] [blame] | 20 | "../wm/public/scoped_tooltip_disabler.cc", |
| 21 | "../wm/public/scoped_tooltip_disabler.h", |
| 22 | "../wm/public/tooltip_client.cc", |
| 23 | "../wm/public/tooltip_client.h", |
satorux | d3ce5e2 | 2015-02-18 01:01:42 | [diff] [blame] | 24 | "../wm/public/window_move_client.cc", |
| 25 | "../wm/public/window_move_client.h", |
| 26 | "../wm/public/window_types.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 27 | "client/aura_constants.cc", |
| 28 | "client/aura_constants.h", |
| 29 | "client/capture_client.cc", |
| 30 | "client/capture_client.h", |
sky | 946eb20 | 2016-10-21 18:25:33 | [diff] [blame] | 31 | "client/capture_client_observer.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 32 | "client/capture_delegate.h", |
| 33 | "client/cursor_client.cc", |
| 34 | "client/cursor_client.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 35 | "client/cursor_client_observer.cc", |
satorux | d3ce5e2 | 2015-02-18 01:01:42 | [diff] [blame] | 36 | "client/cursor_client_observer.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 37 | "client/default_capture_client.cc", |
| 38 | "client/default_capture_client.h", |
sky | 92d41b2 | 2016-10-27 20:10:16 | [diff] [blame] | 39 | "client/drag_drop_client.cc", |
| 40 | "client/drag_drop_client.h", |
sky | d509d73 | 2016-10-28 22:15:46 | [diff] [blame^] | 41 | "client/drag_drop_delegate.cc", |
| 42 | "client/drag_drop_delegate.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 43 | "client/event_client.cc", |
| 44 | "client/event_client.h", |
| 45 | "client/focus_change_observer.cc", |
| 46 | "client/focus_change_observer.h", |
| 47 | "client/focus_client.cc", |
| 48 | "client/focus_client.h", |
| 49 | "client/screen_position_client.cc", |
| 50 | "client/screen_position_client.h", |
sky | f8fcebc | 2016-10-27 18:34:13 | [diff] [blame] | 51 | "client/transient_window_client.cc", |
| 52 | "client/transient_window_client.h", |
| 53 | "client/transient_window_client_observer.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 54 | "client/visibility_client.cc", |
| 55 | "client/visibility_client.h", |
sky | 28f20d6 | 2016-10-20 23:21:59 | [diff] [blame] | 56 | "client/window_parenting_client.cc", |
| 57 | "client/window_parenting_client.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 58 | "client/window_stacking_client.cc", |
| 59 | "client/window_stacking_client.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 60 | "env.cc", |
| 61 | "env.h", |
sadrul | 9d8d13f5 | 2016-06-20 22:33:05 | [diff] [blame] | 62 | "env_input_state_controller.cc", |
| 63 | "env_input_state_controller.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 64 | "env_observer.h", |
| 65 | "input_state_lookup.cc", |
| 66 | "input_state_lookup.h", |
| 67 | "input_state_lookup_win.cc", |
| 68 | "input_state_lookup_win.h", |
| 69 | "layout_manager.cc", |
| 70 | "layout_manager.h", |
sky | d509d73 | 2016-10-28 22:15:46 | [diff] [blame^] | 71 | "mus/drag_drop_controller_host.h", |
| 72 | "mus/drag_drop_controller_mus.cc", |
| 73 | "mus/drag_drop_controller_mus.h", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 74 | "mus/in_flight_change.cc", |
| 75 | "mus/in_flight_change.h", |
| 76 | "mus/input_method_mus.cc", |
| 77 | "mus/input_method_mus.h", |
| 78 | "mus/mus_types.h", |
fsamuel | 6c6da023 | 2015-11-26 05:13:46 | [diff] [blame] | 79 | "mus/mus_util.cc", |
| 80 | "mus/mus_util.h", |
sky | 8f993309 | 2016-10-27 23:23:53 | [diff] [blame] | 81 | "mus/os_exchange_data_provider_mus.cc", |
| 82 | "mus/os_exchange_data_provider_mus.h", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 83 | "mus/property_converter.h", |
| 84 | "mus/surface_id_handler.h", |
| 85 | "mus/text_input_client_impl.cc", |
| 86 | "mus/text_input_client_impl.h", |
| 87 | "mus/window_manager_delegate.cc", |
| 88 | "mus/window_manager_delegate.h", |
| 89 | "mus/window_mus.h", |
| 90 | "mus/window_port_mus.cc", |
| 91 | "mus/window_port_mus.h", |
| 92 | "mus/window_tree_client.cc", |
| 93 | "mus/window_tree_client.h", |
| 94 | "mus/window_tree_client_delegate.cc", |
| 95 | "mus/window_tree_client_delegate.h", |
| 96 | "mus/window_tree_client_observer.h", |
| 97 | "mus/window_tree_host_mus.cc", |
| 98 | "mus/window_tree_host_mus.h", |
sky | 253a1515 | 2016-10-28 02:36:23 | [diff] [blame] | 99 | "mus/window_tree_host_mus_delegate.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 100 | "scoped_window_targeter.cc", |
| 101 | "scoped_window_targeter.h", |
| 102 | "window.cc", |
| 103 | "window.h", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 104 | "window_delegate.cc", |
satorux | d3ce5e2 | 2015-02-18 01:01:42 | [diff] [blame] | 105 | "window_delegate.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 106 | "window_event_dispatcher.cc", |
| 107 | "window_event_dispatcher.h", |
tfarina@chromium.org | d75308f | 2014-07-03 17:30:28 | [diff] [blame] | 108 | "window_observer.cc", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 109 | "window_observer.h", |
sky | 631094cd | 2016-10-26 18:21:01 | [diff] [blame] | 110 | "window_port.cc", |
| 111 | "window_port.h", |
| 112 | "window_port_local.cc", |
| 113 | "window_port_local.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 114 | "window_targeter.cc", |
| 115 | "window_targeter.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 116 | "window_tracker.h", |
| 117 | "window_tree_host.cc", |
| 118 | "window_tree_host.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 119 | "window_tree_host_mac.h", |
satorux | d3ce5e2 | 2015-02-18 01:01:42 | [diff] [blame] | 120 | "window_tree_host_mac.mm", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 121 | "window_tree_host_observer.h", |
sievers | 1b4ef1a6 | 2015-10-16 20:44:36 | [diff] [blame] | 122 | "window_tree_host_platform.cc", |
| 123 | "window_tree_host_platform.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 124 | "window_tree_host_x11.cc", |
| 125 | "window_tree_host_x11.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 126 | ] |
| 127 | |
scottmg | bba95ce | 2014-12-03 07:28:23 | [diff] [blame] | 128 | defines = [ "AURA_IMPLEMENTATION" ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 129 | |
| 130 | deps = [ |
| 131 | "//base", |
| 132 | "//base:i18n", |
| 133 | "//base/third_party/dynamic_annotations", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 134 | "//cc/surfaces:surface_id", |
sky | 8f993309 | 2016-10-27 23:23:53 | [diff] [blame] | 135 | "//net", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 136 | "//services/service_manager/public/cpp", |
| 137 | "//services/ui/public/interfaces", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 138 | "//skia", |
| 139 | "//ui/base", |
spang | 1c36fac | 2015-02-05 19:55:12 | [diff] [blame] | 140 | "//ui/base/ime", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 141 | "//ui/compositor", |
oshima | 5245e49 | 2016-04-26 16:47:55 | [diff] [blame] | 142 | "//ui/display", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 143 | "//ui/events", |
brettw | 44a5cf8 | 2015-04-08 19:48:22 | [diff] [blame] | 144 | "//ui/events:events_base", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 145 | "//ui/events/platform", |
| 146 | "//ui/gfx", |
| 147 | "//ui/gfx/geometry", |
brettw | b7f2c30 | 2015-12-08 01:29:21 | [diff] [blame] | 148 | "//ui/platform_window", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 149 | "//ui/platform_window/mojo", |
| 150 | "//ui/platform_window/stub", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 151 | ] |
| 152 | |
| 153 | if (use_x11) { |
| 154 | configs += [ |
| 155 | "//build/config/linux:x11", |
| 156 | "//build/config/linux:xrandr", |
| 157 | ] |
jamesr | 4359db7 | 2015-01-21 12:40:00 | [diff] [blame] | 158 | deps += [ |
| 159 | "//ui/events:events_base", |
| 160 | "//ui/events/devices", |
kylechar | ad71487 | 2016-04-20 16:09:52 | [diff] [blame] | 161 | "//ui/events/devices/x11", |
jamesr | 4359db7 | 2015-01-21 12:40:00 | [diff] [blame] | 162 | "//ui/events/platform/x11", |
| 163 | "//ui/gfx/x", |
| 164 | ] |
dpranke | acd282e | 2014-11-05 03:54:47 | [diff] [blame] | 165 | } else { |
| 166 | sources -= [ |
| 167 | "window_tree_host_x11.cc", |
| 168 | "window_tree_host_x11.h", |
| 169 | ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 170 | } |
| 171 | |
| 172 | if (is_win) { |
scottmg | bba95ce | 2014-12-03 07:28:23 | [diff] [blame] | 173 | sources -= [ "input_state_lookup.cc" ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 174 | |
brettw@chromium.org | b2f44d1 | 2014-06-10 17:48:03 | [diff] [blame] | 175 | deps += [ |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 176 | "//ipc", |
brettw | a22cb3b | 2015-04-30 20:23:12 | [diff] [blame] | 177 | "//ui/platform_window/win", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 178 | ] |
| 179 | } |
| 180 | |
sievers | 1b4ef1a6 | 2015-10-16 20:44:36 | [diff] [blame] | 181 | if (use_ozone) { |
scottmg | bba95ce | 2014-12-03 07:28:23 | [diff] [blame] | 182 | deps += [ "//ui/ozone" ] |
sievers | 1b4ef1a6 | 2015-10-16 20:44:36 | [diff] [blame] | 183 | } |
| 184 | |
| 185 | if (is_android) { |
| 186 | deps += [ |
| 187 | "//ui/platform_window/android", |
| 188 | "//ui/platform_window/android:platform_window_java", |
| 189 | ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 190 | } |
| 191 | } |
| 192 | |
brettw | 3871f52 | 2016-07-14 22:08:34 | [diff] [blame] | 193 | static_library("test_support") { |
Brett Wilson | 8f80ad0b | 2014-09-08 19:50:24 | [diff] [blame] | 194 | testonly = true |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 195 | sources = [ |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 196 | "test/aura_mus_test_base.cc", |
| 197 | "test/aura_mus_test_base.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 198 | "test/aura_test_base.cc", |
| 199 | "test/aura_test_base.h", |
| 200 | "test/aura_test_helper.cc", |
| 201 | "test/aura_test_helper.h", |
| 202 | "test/aura_test_utils.cc", |
| 203 | "test/aura_test_utils.h", |
| 204 | "test/env_test_helper.h", |
tapted@chromium.org | 73c9fd0 | 2014-07-28 01:48:52 | [diff] [blame] | 205 | "test/event_generator_delegate_aura.cc", |
| 206 | "test/event_generator_delegate_aura.h", |
sadrul | e0a5b1e | 2016-07-21 01:36:46 | [diff] [blame] | 207 | "test/input_method_glue.cc", |
| 208 | "test/input_method_glue.h", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 209 | "test/mus/test_window_tree.cc", |
| 210 | "test/mus/test_window_tree.h", |
| 211 | "test/mus/test_window_tree_client_setup.cc", |
| 212 | "test/mus/test_window_tree_client_setup.h", |
| 213 | "test/mus/window_tree_client_private.cc", |
| 214 | "test/mus/window_tree_client_private.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 215 | "test/test_cursor_client.cc", |
| 216 | "test/test_cursor_client.h", |
| 217 | "test/test_focus_client.cc", |
| 218 | "test/test_focus_client.h", |
| 219 | "test/test_screen.cc", |
| 220 | "test/test_screen.h", |
satorux | d3ce5e2 | 2015-02-18 01:01:42 | [diff] [blame] | 221 | "test/test_window_delegate.cc", |
| 222 | "test/test_window_delegate.h", |
sky | 28f20d6 | 2016-10-20 23:21:59 | [diff] [blame] | 223 | "test/test_window_parenting_client.cc", |
| 224 | "test/test_window_parenting_client.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 225 | "test/test_windows.cc", |
| 226 | "test/test_windows.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 227 | "test/ui_controls_factory_aura.h", |
mfomitchev@chromium.org | 6b614747 | 2014-06-27 17:37:07 | [diff] [blame] | 228 | "test/window_event_dispatcher_test_api.cc", |
| 229 | "test/window_event_dispatcher_test_api.h", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 230 | "test/window_test_api.cc", |
| 231 | "test/window_test_api.h", |
| 232 | ] |
| 233 | |
brettw | d1c719a | 2015-02-19 23:17:04 | [diff] [blame] | 234 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 235 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 236 | |
Brett Wilson | 0380637c | 2014-09-19 21:24:40 | [diff] [blame] | 237 | public_deps = [ |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 238 | ":aura", |
Brett Wilson | 0380637c | 2014-09-19 21:24:40 | [diff] [blame] | 239 | ] |
| 240 | deps = [ |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 241 | "//services/ui/public/interfaces", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 242 | "//skia", |
| 243 | "//testing/gtest", |
tfarina@chromium.org | e54a1f52 | 2014-07-22 23:26:48 | [diff] [blame] | 244 | "//ui/base:test_support", |
tfarina | eb2372f | 2015-03-10 16:07:59 | [diff] [blame] | 245 | "//ui/base/ime", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 246 | "//ui/compositor:test_support", |
oshima | 5245e49 | 2016-04-26 16:47:55 | [diff] [blame] | 247 | "//ui/display", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 248 | "//ui/events", |
| 249 | "//ui/events:events_base", |
tfarina@chromium.org | e54a1f52 | 2014-07-22 23:26:48 | [diff] [blame] | 250 | "//ui/events:test_support", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 251 | "//ui/gfx", |
| 252 | "//ui/gfx/geometry", |
brettw | a78fded | 2014-09-07 00:27:41 | [diff] [blame] | 253 | "//ui/wm", |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 254 | ] |
| 255 | |
| 256 | if (is_win) { |
tfarina | ca865e8 | 2014-12-19 00:50:44 | [diff] [blame] | 257 | sources += [ "test/ui_controls_factory_aurawin.cc" ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 258 | } |
| 259 | |
vchigrin | f06c5c8 | 2014-12-17 01:23:39 | [diff] [blame] | 260 | if (use_x11) { |
tfarina | ca865e8 | 2014-12-19 00:50:44 | [diff] [blame] | 261 | sources += [ |
| 262 | "test/ui_controls_factory_aurax11.cc", |
| 263 | "test/x11_event_sender.cc", |
| 264 | "test/x11_event_sender.h", |
| 265 | ] |
| 266 | |
vchigrin | f06c5c8 | 2014-12-17 01:23:39 | [diff] [blame] | 267 | deps += [ "//ui/gfx/x" ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 268 | } |
spang | 6f171ac | 2015-02-04 18:46:22 | [diff] [blame] | 269 | |
| 270 | if (use_ozone) { |
| 271 | sources += [ "test/ui_controls_factory_ozone.cc" ] |
| 272 | } |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 273 | } |
| 274 | |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 275 | executable("demo") { |
| 276 | output_name = "aura_demo" |
Brett Wilson | 8f80ad0b | 2014-09-08 19:50:24 | [diff] [blame] | 277 | testonly = true |
| 278 | |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 279 | sources = [ |
| 280 | "demo/demo_main.cc", |
| 281 | ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 282 | |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 283 | deps = [ |
| 284 | ":aura", |
| 285 | ":test_support", |
| 286 | "//base", |
| 287 | "//base:i18n", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 288 | "//build/config/sanitizers:deps", |
brucedawson | f9f7d629 | 2016-04-27 19:11:07 | [diff] [blame] | 289 | "//build/win:default_exe_manifest", |
danakj | be9c59ee | 2016-08-26 18:24:56 | [diff] [blame] | 290 | "//cc/surfaces", |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 291 | "//skia", |
| 292 | "//third_party/icu", |
| 293 | "//ui/base", |
| 294 | "//ui/compositor", |
| 295 | "//ui/compositor:test_support", |
robliao | 18e220e8 | 2016-04-19 16:47:12 | [diff] [blame] | 296 | "//ui/display", |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 297 | "//ui/events", |
| 298 | "//ui/gfx", |
| 299 | "//ui/gfx/geometry", |
kylechar | 5b9dec1 | 2016-05-16 15:40:57 | [diff] [blame] | 300 | "//ui/gl/init", |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 301 | ] |
tfarina@chromium.org | bd56a5b | 2014-06-07 04:09:29 | [diff] [blame] | 302 | |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 303 | if (use_x11) { |
scottmg | bba95ce | 2014-12-03 07:28:23 | [diff] [blame] | 304 | deps += [ "//ui/gfx/x" ] |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 305 | } |
| 306 | } |
| 307 | |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 308 | test("aura_unittests") { |
| 309 | sources = [ |
| 310 | "gestures/gesture_recognizer_unittest.cc", |
sky | 8f993309 | 2016-10-27 23:23:53 | [diff] [blame] | 311 | "mus/os_exchange_data_provider_mus_unittest.cc", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 312 | "mus/window_tree_client_unittest.cc", |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 313 | "test/run_all_unittests.cc", |
| 314 | "window_event_dispatcher_unittest.cc", |
| 315 | "window_targeter_unittest.cc", |
jbauman | e94bb78 | 2016-08-22 19:46:51 | [diff] [blame] | 316 | "window_tree_host_unittest.cc", |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 317 | "window_unittest.cc", |
| 318 | ] |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 319 | |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 320 | deps = [ |
| 321 | ":test_support", |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 322 | "//base/test:test_support", |
sky | 25714fe | 2016-10-27 15:21:25 | [diff] [blame] | 323 | "//mojo/common", |
sky | 8f993309 | 2016-10-27 23:23:53 | [diff] [blame] | 324 | "//net", |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 325 | "//skia", |
| 326 | "//testing/gtest", |
| 327 | "//ui/base:test_support", |
| 328 | "//ui/compositor:test_support", |
oshima | 5245e49 | 2016-04-26 16:47:55 | [diff] [blame] | 329 | "//ui/display:test_support", |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 330 | "//ui/events:gesture_detection", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 331 | "//ui/events:test_support", |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 332 | "//ui/gfx", |
| 333 | "//ui/gfx/geometry", |
brettw | b7f2c30 | 2015-12-08 01:29:21 | [diff] [blame] | 334 | "//ui/gl:test_support", |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 335 | ] |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 336 | |
brettw | 4897a61 | 2015-03-02 23:13:15 | [diff] [blame] | 337 | if (is_linux) { |
| 338 | deps += [ "//third_party/mesa" ] |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 339 | } |
dpranke | a21b31b0 | 2015-07-24 21:42:00 | [diff] [blame] | 340 | |
sievers | 1b4ef1a6 | 2015-10-16 20:44:36 | [diff] [blame] | 341 | data_deps = [ |
| 342 | "//third_party/mesa:osmesa", |
| 343 | ] |
tfarina@chromium.org | c7a5f27 | 2014-08-15 00:19:00 | [diff] [blame] | 344 | } |