| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 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 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'targets': [ | |
| 10 { | |
| 11 # GN version: //ui/aura | |
| 12 'target_name': 'aura', | |
| 13 'type': '<(component)', | |
| 14 'dependencies': [ | |
| 15 '../../base/base.gyp:base', | |
| 16 '../../base/base.gyp:base_i18n', | |
| 17 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | |
| 18 '../../skia/skia.gyp:skia', | |
| 19 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 20 '../base/ui_base.gyp:ui_base', | |
| 21 '../compositor/compositor.gyp:compositor', | |
| 22 '../display/display.gyp:display', | |
| 23 '../events/events.gyp:events', | |
| 24 '../events/events.gyp:events_base', | |
| 25 '../events/platform/events_platform.gyp:events_platform', | |
| 26 '../gfx/gfx.gyp:gfx', | |
| 27 '../gfx/gfx.gyp:gfx_geometry', | |
| 28 ], | |
| 29 'defines': [ | |
| 30 'AURA_IMPLEMENTATION', | |
| 31 ], | |
| 32 'sources': [ | |
| 33 '../wm/public/activation_change_observer.cc', | |
| 34 '../wm/public/activation_change_observer.h', | |
| 35 '../wm/public/activation_client.cc', | |
| 36 '../wm/public/activation_client.h', | |
| 37 '../wm/public/activation_delegate.cc', | |
| 38 '../wm/public/activation_delegate.h', | |
| 39 '../wm/public/animation_host.cc', | |
| 40 '../wm/public/animation_host.h', | |
| 41 '../wm/public/drag_drop_client.cc', | |
| 42 '../wm/public/drag_drop_client.h', | |
| 43 '../wm/public/drag_drop_delegate.cc', | |
| 44 '../wm/public/drag_drop_delegate.h', | |
| 45 '../wm/public/scoped_drag_drop_disabler.cc', | |
| 46 '../wm/public/scoped_drag_drop_disabler.h', | |
| 47 '../wm/public/scoped_tooltip_disabler.cc', | |
| 48 '../wm/public/scoped_tooltip_disabler.h', | |
| 49 '../wm/public/tooltip_client.cc', | |
| 50 '../wm/public/tooltip_client.h', | |
| 51 '../wm/public/transient_window_client.cc', | |
| 52 '../wm/public/transient_window_client.h', | |
| 53 '../wm/public/window_move_client.cc', | |
| 54 '../wm/public/window_move_client.h', | |
| 55 '../wm/public/window_types.h', | |
| 56 'client/aura_constants.cc', | |
| 57 'client/aura_constants.h', | |
| 58 'client/capture_client.cc', | |
| 59 'client/capture_client.h', | |
| 60 'client/capture_delegate.h', | |
| 61 'client/cursor_client.cc', | |
| 62 'client/cursor_client.h', | |
| 63 'client/cursor_client_observer.cc', | |
| 64 'client/cursor_client_observer.h', | |
| 65 'client/default_capture_client.cc', | |
| 66 'client/default_capture_client.h', | |
| 67 'client/event_client.cc', | |
| 68 'client/event_client.h', | |
| 69 'client/focus_change_observer.cc', | |
| 70 'client/focus_change_observer.h', | |
| 71 'client/focus_client.cc', | |
| 72 'client/focus_client.h', | |
| 73 'client/screen_position_client.cc', | |
| 74 'client/screen_position_client.h', | |
| 75 'client/visibility_client.cc', | |
| 76 'client/visibility_client.h', | |
| 77 'client/window_stacking_client.cc', | |
| 78 'client/window_stacking_client.h', | |
| 79 'client/window_tree_client.cc', | |
| 80 'client/window_tree_client.h', | |
| 81 'env.cc', | |
| 82 'env.h', | |
| 83 'env_input_state_controller.cc', | |
| 84 'env_input_state_controller.h', | |
| 85 'env_observer.h', | |
| 86 'input_state_lookup.cc', | |
| 87 'input_state_lookup.h', | |
| 88 'input_state_lookup_win.cc', | |
| 89 'input_state_lookup_win.h', | |
| 90 'layout_manager.cc', | |
| 91 'layout_manager.h', | |
| 92 'mus/mus_util.cc', | |
| 93 'mus/mus_util.h', | |
| 94 'scoped_window_targeter.cc', | |
| 95 'scoped_window_targeter.h', | |
| 96 'window.cc', | |
| 97 'window.h', | |
| 98 'window_delegate.h', | |
| 99 'window_event_dispatcher.cc', | |
| 100 'window_event_dispatcher.h', | |
| 101 'window_observer.cc', | |
| 102 'window_observer.h', | |
| 103 'window_targeter.cc', | |
| 104 'window_targeter.h', | |
| 105 'window_tracker.h', | |
| 106 'window_tree_host.cc', | |
| 107 'window_tree_host.h', | |
| 108 'window_tree_host_mac.h', | |
| 109 'window_tree_host_mac.mm', | |
| 110 'window_tree_host_observer.h', | |
| 111 'window_tree_host_platform.cc', | |
| 112 'window_tree_host_platform.h', | |
| 113 'window_tree_host_x11.cc', | |
| 114 'window_tree_host_x11.h', | |
| 115 ], | |
| 116 'conditions': [ | |
| 117 ['use_x11==1', { | |
| 118 'dependencies': [ | |
| 119 '../../build/linux/system.gyp:x11', | |
| 120 '../../build/linux/system.gyp:xrandr', | |
| 121 '../../build/linux/system.gyp:xi', | |
| 122 '../base/x/ui_base_x.gyp:ui_base_x', | |
| 123 '../events/devices/events_devices.gyp:events_devices', | |
| 124 '../events/devices/x11/events_devices_x11.gyp:events_devices_x11', | |
| 125 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, | |
| 126 '../gfx/x/gfx_x11.gyp:gfx_x11', | |
| 127 ], | |
| 128 }], | |
| 129 ['OS=="win"', { | |
| 130 'dependencies': [ | |
| 131 '../platform_window/win/win_window.gyp:win_window', | |
| 132 '../../ipc/ipc.gyp:ipc', | |
| 133 ], | |
| 134 'sources!': [ | |
| 135 'input_state_lookup.cc', | |
| 136 ], | |
| 137 }], | |
| 138 ['use_ozone==1', { | |
| 139 'dependencies': [ | |
| 140 '../ozone/ozone.gyp:ozone', | |
| 141 '../ozone/ozone.gyp:ozone_base', | |
| 142 ], | |
| 143 }], | |
| 144 ['OS=="android"', { | |
| 145 'dependencies': [ | |
| 146 '../platform_window/android/android_window.gyp:android_window', | |
| 147 ], | |
| 148 }], | |
| 149 ], | |
| 150 }, | |
| 151 { | |
| 152 # GN version: //ui/aura:test_support | |
| 153 'target_name': 'aura_test_support', | |
| 154 'type': 'static_library', | |
| 155 'dependencies': [ | |
| 156 '../../skia/skia.gyp:skia', | |
| 157 '../../testing/gtest.gyp:gtest', | |
| 158 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 159 '../base/ui_base.gyp:ui_base', | |
| 160 '../base/ui_base.gyp:ui_base_test_support', | |
| 161 '../compositor/compositor.gyp:compositor_test_support', | |
| 162 '../events/events.gyp:events', | |
| 163 '../events/events.gyp:events_base', | |
| 164 '../events/events.gyp:events_test_support', | |
| 165 '../gfx/gfx.gyp:gfx', | |
| 166 '../gfx/gfx.gyp:gfx_geometry', | |
| 167 'aura', | |
| 168 ], | |
| 169 'include_dirs': [ | |
| 170 '..', | |
| 171 ], | |
| 172 'sources': [ | |
| 173 'test/aura_test_base.cc', | |
| 174 'test/aura_test_base.h', | |
| 175 'test/aura_test_helper.cc', | |
| 176 'test/aura_test_helper.h', | |
| 177 'test/aura_test_utils.cc', | |
| 178 'test/aura_test_utils.h', | |
| 179 'test/env_test_helper.h', | |
| 180 'test/event_generator_delegate_aura.cc', | |
| 181 'test/event_generator_delegate_aura.h', | |
| 182 'test/input_method_glue.cc', | |
| 183 'test/input_method_glue.h', | |
| 184 'test/test_cursor_client.cc', | |
| 185 'test/test_cursor_client.h', | |
| 186 'test/test_focus_client.cc', | |
| 187 'test/test_focus_client.h', | |
| 188 'test/test_screen.cc', | |
| 189 'test/test_screen.h', | |
| 190 'test/test_window_delegate.cc', | |
| 191 'test/test_window_delegate.h', | |
| 192 'test/test_window_tree_client.cc', | |
| 193 'test/test_window_tree_client.h', | |
| 194 'test/test_windows.cc', | |
| 195 'test/test_windows.h', | |
| 196 'test/ui_controls_factory_aura.h', | |
| 197 'test/ui_controls_factory_aurawin.cc', | |
| 198 'test/ui_controls_factory_aurax11.cc', | |
| 199 'test/ui_controls_factory_ozone.cc', | |
| 200 'test/window_event_dispatcher_test_api.cc', | |
| 201 'test/window_event_dispatcher_test_api.h', | |
| 202 'test/window_test_api.cc', | |
| 203 'test/window_test_api.h', | |
| 204 'test/x11_event_sender.cc', | |
| 205 'test/x11_event_sender.h', | |
| 206 ], | |
| 207 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 208 'msvs_disabled_warnings': [ 4267, ], | |
| 209 'conditions': [ | |
| 210 ['use_x11==1', { | |
| 211 'dependencies': [ | |
| 212 '../base/x/ui_base_x.gyp:ui_base_x', | |
| 213 ], | |
| 214 }], | |
| 215 ], | |
| 216 }, | |
| 217 { | |
| 218 'target_name': 'aura_demo', | |
| 219 'type': 'executable', | |
| 220 'dependencies': [ | |
| 221 '../../base/base.gyp:base', | |
| 222 '../../base/base.gyp:base_i18n', | |
| 223 '../../skia/skia.gyp:skia', | |
| 224 '../../third_party/icu/icu.gyp:icui18n', | |
| 225 '../../third_party/icu/icu.gyp:icuuc', | |
| 226 '../base/ui_base.gyp:ui_base', | |
| 227 '../compositor/compositor.gyp:compositor', | |
| 228 '../compositor/compositor.gyp:compositor_test_support', | |
| 229 '../display/display.gyp:display', | |
| 230 '../events/events.gyp:events', | |
| 231 '../gfx/gfx.gyp:gfx', | |
| 232 '../gfx/gfx.gyp:gfx_geometry', | |
| 233 'aura', | |
| 234 'aura_test_support', | |
| 235 ], | |
| 236 'include_dirs': [ | |
| 237 '..', | |
| 238 ], | |
| 239 'sources': [ | |
| 240 'demo/demo_main.cc', | |
| 241 ], | |
| 242 'conditions': [ | |
| 243 ['use_x11==1', { | |
| 244 'dependencies': [ | |
| 245 '../gfx/x/gfx_x11.gyp:gfx_x11', | |
| 246 ], | |
| 247 }], | |
| 248 ] | |
| 249 }, | |
| 250 { | |
| 251 'target_name': 'aura_unittests', | |
| 252 'type': 'executable', | |
| 253 'dependencies': [ | |
| 254 '../../base/base.gyp:test_support_base', | |
| 255 '../../skia/skia.gyp:skia', | |
| 256 '../../testing/gtest.gyp:gtest', | |
| 257 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 258 '../base/ui_base.gyp:ui_base', | |
| 259 '../base/ui_base.gyp:ui_base_test_support', | |
| 260 '../compositor/compositor.gyp:compositor', | |
| 261 '../compositor/compositor.gyp:compositor_test_support', | |
| 262 '../events/events.gyp:events', | |
| 263 '../events/events.gyp:events_base', | |
| 264 '../events/events.gyp:gesture_detection', | |
| 265 '../gfx/gfx.gyp:gfx', | |
| 266 '../gfx/gfx.gyp:gfx_geometry', | |
| 267 '../gl/gl.gyp:gl', | |
| 268 '../gl/init/gl_init.gyp:gl_init', | |
| 269 'aura_test_support', | |
| 270 'aura', | |
| 271 ], | |
| 272 'include_dirs': [ | |
| 273 '..', | |
| 274 ], | |
| 275 'sources': [ | |
| 276 'gestures/gesture_recognizer_unittest.cc', | |
| 277 'test/run_all_unittests.cc', | |
| 278 'window_event_dispatcher_unittest.cc', | |
| 279 'window_targeter_unittest.cc', | |
| 280 'window_unittest.cc', | |
| 281 ], | |
| 282 'conditions': [ | |
| 283 # osmesa GL implementation is used on linux. | |
| 284 ['OS=="linux"', { | |
| 285 'dependencies': [ | |
| 286 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | |
| 287 ], | |
| 288 }], | |
| 289 ], | |
| 290 }, | |
| 291 ], | |
| 292 'conditions': [ | |
| 293 ['test_isolation_mode != "noop"', { | |
| 294 'targets': [ | |
| 295 { | |
| 296 'target_name': 'aura_unittests_run', | |
| 297 'type': 'none', | |
| 298 'dependencies': [ | |
| 299 'aura_unittests', | |
| 300 ], | |
| 301 'includes': [ | |
| 302 '../../build/isolate.gypi', | |
| 303 ], | |
| 304 'sources': [ | |
| 305 'aura_unittests.isolate', | |
| 306 ], | |
| 307 'conditions': [ | |
| 308 ['use_x11 == 1', { | |
| 309 'dependencies': [ | |
| 310 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 311 ], | |
| 312 }], | |
| 313 ], | |
| 314 }, | |
| 315 ], | |
| 316 }], | |
| 317 ], | |
| 318 } | |
| OLD | NEW |