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