| 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 'variables': { | |
| 6 'chromium_code': 1, | |
| 7 # Sources lists shared with GN build. | |
| 8 'views_sources': [ | |
| 9 'accessibility/native_view_accessibility.cc', | |
| 10 'accessibility/native_view_accessibility.h', | |
| 11 'accessibility/native_view_accessibility_win.cc', | |
| 12 'accessibility/native_view_accessibility_win.h', | |
| 13 'accessible_pane_view.cc', | |
| 14 'accessible_pane_view.h', | |
| 15 'animation/bounds_animator.cc', | |
| 16 'animation/bounds_animator.h', | |
| 17 'animation/flood_fill_ink_drop_ripple.cc', | |
| 18 'animation/flood_fill_ink_drop_ripple.h', | |
| 19 'animation/ink_drop.h', | |
| 20 'animation/ink_drop_animation_ended_reason.cc', | |
| 21 'animation/ink_drop_animation_ended_reason.h', | |
| 22 'animation/ink_drop_highlight.cc', | |
| 23 'animation/ink_drop_highlight.h', | |
| 24 'animation/ink_drop_highlight_observer.h', | |
| 25 'animation/ink_drop_host.h', | |
| 26 'animation/ink_drop_host_view.cc', | |
| 27 'animation/ink_drop_host_view.h', | |
| 28 'animation/ink_drop_impl.cc', | |
| 29 'animation/ink_drop_impl.h', | |
| 30 'animation/ink_drop_painted_layer_delegates.cc', | |
| 31 'animation/ink_drop_painted_layer_delegates.h', | |
| 32 'animation/ink_drop_ripple.cc', | |
| 33 'animation/ink_drop_ripple.h', | |
| 34 'animation/ink_drop_ripple_observer.h', | |
| 35 'animation/ink_drop_state.cc', | |
| 36 'animation/ink_drop_state.h', | |
| 37 'animation/ink_drop_stub.h', | |
| 38 'animation/ink_drop_stub.cc', | |
| 39 'animation/scroll_animator.cc', | |
| 40 'animation/scroll_animator.h', | |
| 41 'animation/square_ink_drop_ripple.cc', | |
| 42 'animation/square_ink_drop_ripple.h', | |
| 43 'background.cc', | |
| 44 'background.h', | |
| 45 'border.cc', | |
| 46 'border.h', | |
| 47 'bubble/bubble_border.cc', | |
| 48 'bubble/bubble_border.h', | |
| 49 'bubble/bubble_dialog_delegate.cc', | |
| 50 'bubble/bubble_dialog_delegate.h', | |
| 51 'bubble/bubble_frame_view.cc', | |
| 52 'bubble/bubble_frame_view.h', | |
| 53 'button_drag_utils.cc', | |
| 54 'button_drag_utils.h', | |
| 55 'cocoa/bridged_content_view.h', | |
| 56 'cocoa/bridged_content_view.mm', | |
| 57 'cocoa/bridged_native_widget.h', | |
| 58 'cocoa/bridged_native_widget.mm', | |
| 59 'cocoa/bridged_native_widget_owner.h', | |
| 60 'cocoa/drag_drop_client_mac.h', | |
| 61 'cocoa/drag_drop_client_mac.mm', | |
| 62 'cocoa/cocoa_mouse_capture.h', | |
| 63 'cocoa/cocoa_mouse_capture.mm', | |
| 64 'cocoa/cocoa_mouse_capture_delegate.h', | |
| 65 'cocoa/cocoa_window_move_loop.h', | |
| 66 'cocoa/cocoa_window_move_loop.mm', | |
| 67 'cocoa/native_widget_mac_nswindow.h', | |
| 68 'cocoa/native_widget_mac_nswindow.mm', | |
| 69 'cocoa/tooltip_manager_mac.h', | |
| 70 'cocoa/tooltip_manager_mac.mm', | |
| 71 'cocoa/views_nswindow_delegate.h', | |
| 72 'cocoa/views_nswindow_delegate.mm', | |
| 73 'cocoa/views_scrollbar_bridge.h', | |
| 74 'cocoa/views_scrollbar_bridge.mm', | |
| 75 'cocoa/widget_owner_nswindow_adapter.h', | |
| 76 'cocoa/widget_owner_nswindow_adapter.mm', | |
| 77 'color_chooser/color_chooser_listener.h', | |
| 78 'color_chooser/color_chooser_view.cc', | |
| 79 'color_chooser/color_chooser_view.h', | |
| 80 'context_menu_controller.h', | |
| 81 'controls/button/blue_button.cc', | |
| 82 'controls/button/blue_button.h', | |
| 83 'controls/button/button.cc', | |
| 84 'controls/button/button.h', | |
| 85 'controls/button/checkbox.cc', | |
| 86 'controls/button/checkbox.h', | |
| 87 'controls/button/custom_button.cc', | |
| 88 'controls/button/custom_button.h', | |
| 89 'controls/button/image_button.cc', | |
| 90 'controls/button/image_button.h', | |
| 91 'controls/button/label_button.cc', | |
| 92 'controls/button/label_button.h', | |
| 93 'controls/button/label_button_border.cc', | |
| 94 'controls/button/label_button_border.h', | |
| 95 'controls/button/md_text_button.cc', | |
| 96 'controls/button/md_text_button.h', | |
| 97 'controls/button/menu_button.cc', | |
| 98 'controls/button/menu_button.h', | |
| 99 'controls/button/menu_button_listener.h', | |
| 100 'controls/button/radio_button.cc', | |
| 101 'controls/button/radio_button.h', | |
| 102 'controls/button/toggle_button.cc', | |
| 103 'controls/button/toggle_button.h', | |
| 104 'controls/combobox/combobox.cc', | |
| 105 'controls/combobox/combobox.h', | |
| 106 'controls/combobox/combobox_listener.h', | |
| 107 'controls/focusable_border.cc', | |
| 108 'controls/focusable_border.h', | |
| 109 'controls/focusable_rounded_border_mac.cc', | |
| 110 'controls/focusable_rounded_border_mac.h', | |
| 111 'controls/glow_hover_controller.cc', | |
| 112 'controls/glow_hover_controller.h', | |
| 113 'controls/image_view.cc', | |
| 114 'controls/image_view.h', | |
| 115 'controls/label.cc', | |
| 116 'controls/label.h', | |
| 117 'controls/link.cc', | |
| 118 'controls/link.h', | |
| 119 'controls/link_listener.h', | |
| 120 'controls/menu/display_change_listener_mac.cc', | |
| 121 'controls/menu/menu_config.cc', | |
| 122 'controls/menu/menu_config.h', | |
| 123 'controls/menu/menu_config_chromeos.cc', | |
| 124 'controls/menu/menu_config_linux.cc', | |
| 125 'controls/menu/menu_config_mac.mm', | |
| 126 'controls/menu/menu_config_win.cc', | |
| 127 'controls/menu/menu_controller.cc', | |
| 128 'controls/menu/menu_controller.h', | |
| 129 'controls/menu/menu_controller_delegate.h', | |
| 130 'controls/menu/menu_delegate.cc', | |
| 131 'controls/menu/menu_delegate.h', | |
| 132 'controls/menu/menu_host.cc', | |
| 133 'controls/menu/menu_host.h', | |
| 134 'controls/menu/menu_host_root_view.cc', | |
| 135 'controls/menu/menu_host_root_view.h', | |
| 136 'controls/menu/menu_image_util.cc', | |
| 137 'controls/menu/menu_image_util.h', | |
| 138 'controls/menu/menu_insertion_delegate_win.h', | |
| 139 'controls/menu/menu_item_view.cc', | |
| 140 'controls/menu/menu_item_view.h', | |
| 141 'controls/menu/menu_listener.cc', | |
| 142 'controls/menu/menu_listener.h', | |
| 143 'controls/menu/menu_message_loop.h', | |
| 144 'controls/menu/menu_message_loop_mac.cc', | |
| 145 'controls/menu/menu_message_loop_mac.h', | |
| 146 'controls/menu/menu_model_adapter.cc', | |
| 147 'controls/menu/menu_model_adapter.h', | |
| 148 'controls/menu/menu_runner.cc', | |
| 149 'controls/menu/menu_runner.h', | |
| 150 'controls/menu/menu_runner_handler.h', | |
| 151 'controls/menu/menu_runner_impl.cc', | |
| 152 'controls/menu/menu_runner_impl.h', | |
| 153 'controls/menu/menu_runner_impl_adapter.cc', | |
| 154 'controls/menu/menu_runner_impl_adapter.h', | |
| 155 'controls/menu/menu_runner_impl_cocoa.h', | |
| 156 'controls/menu/menu_runner_impl_cocoa.mm', | |
| 157 'controls/menu/menu_runner_impl_interface.h', | |
| 158 'controls/menu/menu_scroll_view_container.cc', | |
| 159 'controls/menu/menu_scroll_view_container.h', | |
| 160 'controls/menu/menu_separator.h', | |
| 161 'controls/menu/menu_separator_views.cc', | |
| 162 'controls/menu/menu_separator_win.cc', | |
| 163 'controls/menu/menu_types.h', | |
| 164 'controls/menu/native_menu_win.cc', | |
| 165 'controls/menu/native_menu_win.h', | |
| 166 'controls/menu/submenu_view.cc', | |
| 167 'controls/menu/submenu_view.h', | |
| 168 'controls/message_box_view.cc', | |
| 169 'controls/message_box_view.h', | |
| 170 'controls/native/native_view_host.cc', | |
| 171 'controls/native/native_view_host.h', | |
| 172 'controls/native/native_view_host_mac.h', | |
| 173 'controls/native/native_view_host_mac.mm', | |
| 174 'controls/prefix_delegate.h', | |
| 175 'controls/prefix_selector.cc', | |
| 176 'controls/prefix_selector.h', | |
| 177 'controls/progress_bar.cc', | |
| 178 'controls/progress_bar.h', | |
| 179 'controls/resize_area.cc', | |
| 180 'controls/resize_area.h', | |
| 181 'controls/resize_area_delegate.h', | |
| 182 'controls/scroll_view.cc', | |
| 183 'controls/scroll_view.h', | |
| 184 'controls/scrollbar/base_scroll_bar.cc', | |
| 185 'controls/scrollbar/base_scroll_bar.h', | |
| 186 'controls/scrollbar/base_scroll_bar_button.cc', | |
| 187 'controls/scrollbar/base_scroll_bar_button.h', | |
| 188 'controls/scrollbar/base_scroll_bar_thumb.cc', | |
| 189 'controls/scrollbar/base_scroll_bar_thumb.h', | |
| 190 'controls/scrollbar/cocoa_scroll_bar.h', | |
| 191 'controls/scrollbar/cocoa_scroll_bar.mm', | |
| 192 'controls/scrollbar/native_scroll_bar.cc', | |
| 193 'controls/scrollbar/native_scroll_bar.h', | |
| 194 'controls/scrollbar/native_scroll_bar_views.cc', | |
| 195 'controls/scrollbar/native_scroll_bar_views.h', | |
| 196 'controls/scrollbar/native_scroll_bar_wrapper.h', | |
| 197 'controls/scrollbar/overlay_scroll_bar.cc', | |
| 198 'controls/scrollbar/overlay_scroll_bar.h', | |
| 199 'controls/scrollbar/scroll_bar.cc', | |
| 200 'controls/scrollbar/scroll_bar.h', | |
| 201 'controls/separator.cc', | |
| 202 'controls/separator.h', | |
| 203 'controls/slide_out_view.cc', | |
| 204 'controls/slide_out_view.h', | |
| 205 'controls/slider.cc', | |
| 206 'controls/slider.h', | |
| 207 'controls/styled_label.cc', | |
| 208 'controls/styled_label.h', | |
| 209 'controls/styled_label_listener.h', | |
| 210 'controls/tabbed_pane/tabbed_pane.cc', | |
| 211 'controls/tabbed_pane/tabbed_pane.h', | |
| 212 'controls/tabbed_pane/tabbed_pane_listener.h', | |
| 213 'controls/table/table_header.cc', | |
| 214 'controls/table/table_header.h', | |
| 215 'controls/table/table_utils.cc', | |
| 216 'controls/table/table_utils.h', | |
| 217 'controls/table/table_view.cc', | |
| 218 'controls/table/table_view.h', | |
| 219 'controls/table/table_view_observer.h', | |
| 220 'controls/table/table_view_row_background_painter.h', | |
| 221 'controls/textfield/textfield.cc', | |
| 222 'controls/textfield/textfield.h', | |
| 223 'controls/textfield/textfield_controller.cc', | |
| 224 'controls/textfield/textfield_controller.h', | |
| 225 'controls/textfield/textfield_model.cc', | |
| 226 'controls/textfield/textfield_model.h', | |
| 227 'controls/throbber.cc', | |
| 228 'controls/throbber.h', | |
| 229 'controls/tree/tree_view.cc', | |
| 230 'controls/tree/tree_view.h', | |
| 231 'controls/tree/tree_view_controller.cc', | |
| 232 'controls/tree/tree_view_controller.h', | |
| 233 'debug_utils.cc', | |
| 234 'debug_utils.h', | |
| 235 'drag_controller.h', | |
| 236 'drag_utils.cc', | |
| 237 'drag_utils.h', | |
| 238 'drag_utils_mac.mm', | |
| 239 'event_monitor.h', | |
| 240 'event_monitor_mac.h', | |
| 241 'event_monitor_mac.mm', | |
| 242 'focus/external_focus_tracker.cc', | |
| 243 'focus/external_focus_tracker.h', | |
| 244 'focus/focus_manager.cc', | |
| 245 'focus/focus_manager.h', | |
| 246 'focus/focus_manager_delegate.h', | |
| 247 'focus/focus_manager_factory.cc', | |
| 248 'focus/focus_manager_factory.h', | |
| 249 'focus/focus_search.cc', | |
| 250 'focus/focus_search.h', | |
| 251 'focus/view_storage.cc', | |
| 252 'focus/view_storage.h', | |
| 253 'focus/widget_focus_manager.cc', | |
| 254 'focus/widget_focus_manager.h', | |
| 255 'layout/box_layout.cc', | |
| 256 'layout/box_layout.h', | |
| 257 'layout/fill_layout.cc', | |
| 258 'layout/fill_layout.h', | |
| 259 'layout/grid_layout.cc', | |
| 260 'layout/grid_layout.h', | |
| 261 'layout/layout_constants.h', | |
| 262 'layout/layout_manager.cc', | |
| 263 'layout/layout_manager.h', | |
| 264 'linux_ui/linux_ui.cc', | |
| 265 'linux_ui/linux_ui.h', | |
| 266 'linux_ui/status_icon_linux.cc', | |
| 267 'linux_ui/status_icon_linux.h', | |
| 268 'linux_ui/window_button_order_observer.h', | |
| 269 'linux_ui/window_button_order_provider.cc', | |
| 270 'masked_targeter_delegate.cc', | |
| 271 'masked_targeter_delegate.h', | |
| 272 'metrics.cc', | |
| 273 'metrics.h', | |
| 274 'metrics_mac.cc', | |
| 275 'mouse_constants.h', | |
| 276 'mouse_watcher.cc', | |
| 277 'mouse_watcher.h', | |
| 278 'mouse_watcher_view_host.cc', | |
| 279 'mouse_watcher_view_host.h', | |
| 280 'native_cursor.h', | |
| 281 'native_cursor_mac.mm', | |
| 282 'native_theme_delegate.h', | |
| 283 'painter.cc', | |
| 284 'painter.h', | |
| 285 'pointer_watcher.h', | |
| 286 'rect_based_targeting_utils.cc', | |
| 287 'rect_based_targeting_utils.h', | |
| 288 'repeat_controller.cc', | |
| 289 'repeat_controller.h', | |
| 290 'round_rect_painter.cc', | |
| 291 'round_rect_painter.h', | |
| 292 'shadow_border.cc', | |
| 293 'shadow_border.h', | |
| 294 'style/mac/combobox_background_mac.cc', | |
| 295 'style/mac/combobox_background_mac.h', | |
| 296 'style/mac/dialog_button_border_mac.cc', | |
| 297 'style/mac/dialog_button_border_mac.h', | |
| 298 'style/platform_style.cc', | |
| 299 'style/platform_style.h', | |
| 300 'style/platform_style_mac.mm', | |
| 301 'view.cc', | |
| 302 'view.h', | |
| 303 'view_constants.cc', | |
| 304 'view_constants.h', | |
| 305 'view_model.cc', | |
| 306 'view_model.h', | |
| 307 'view_model_utils.cc', | |
| 308 'view_model_utils.h', | |
| 309 'view_targeter.cc', | |
| 310 'view_targeter.h', | |
| 311 'view_targeter_delegate.cc', | |
| 312 'view_targeter_delegate.h', | |
| 313 'views_delegate.cc', | |
| 314 'views_delegate.h', | |
| 315 'views_export.h', | |
| 316 'views_exports.cc', | |
| 317 'views_switches.cc', | |
| 318 'views_switches.h', | |
| 319 'views_touch_selection_controller_factory.h', | |
| 320 'views_touch_selection_controller_factory_mac.cc', | |
| 321 'widget/drop_helper.cc', | |
| 322 'widget/drop_helper.h', | |
| 323 'widget/monitor_win.cc', | |
| 324 'widget/monitor_win.h', | |
| 325 'widget/native_widget.h', | |
| 326 'widget/native_widget_delegate.h', | |
| 327 'widget/native_widget_mac.h', | |
| 328 'widget/native_widget_mac.mm', | |
| 329 'widget/native_widget_private.h', | |
| 330 'widget/root_view.cc', | |
| 331 'widget/root_view.h', | |
| 332 'widget/root_view_targeter.cc', | |
| 333 'widget/root_view_targeter.h', | |
| 334 'widget/tooltip_manager.cc', | |
| 335 'widget/tooltip_manager.h', | |
| 336 'widget/widget.cc', | |
| 337 'widget/widget.h', | |
| 338 'widget/widget_aura_utils.cc', | |
| 339 'widget/widget_aura_utils.h', | |
| 340 'widget/widget_delegate.cc', | |
| 341 'widget/widget_delegate.h', | |
| 342 'widget/widget_deletion_observer.cc', | |
| 343 'widget/widget_deletion_observer.h', | |
| 344 'widget/widget_observer.h', | |
| 345 'widget/widget_removals_observer.h', | |
| 346 'window/client_view.cc', | |
| 347 'window/client_view.h', | |
| 348 'window/custom_frame_view.cc', | |
| 349 'window/custom_frame_view.h', | |
| 350 'window/dialog_client_view.cc', | |
| 351 'window/dialog_client_view.h', | |
| 352 'window/dialog_delegate.cc', | |
| 353 'window/dialog_delegate.h', | |
| 354 'window/frame_background.cc', | |
| 355 'window/frame_background.h', | |
| 356 'window/frame_buttons.h', | |
| 357 'window/native_frame_view.cc', | |
| 358 'window/native_frame_view.h', | |
| 359 'window/non_client_view.cc', | |
| 360 'window/non_client_view.h', | |
| 361 'window/window_button_order_provider.cc', | |
| 362 'window/window_button_order_provider.h', | |
| 363 'window/window_resources.h', | |
| 364 'window/window_shape.cc', | |
| 365 'window/window_shape.h', | |
| 366 ], | |
| 367 'views_win_sources': [ | |
| 368 'widget/widget_hwnd_utils.cc', | |
| 369 'widget/widget_hwnd_utils.h', | |
| 370 'win/fullscreen_handler.cc', | |
| 371 'win/fullscreen_handler.h', | |
| 372 'win/hwnd_message_handler.cc', | |
| 373 'win/hwnd_message_handler.h', | |
| 374 'win/hwnd_message_handler_delegate.h', | |
| 375 'win/hwnd_util.h', | |
| 376 'win/hwnd_util_aurawin.cc', | |
| 377 'win/scoped_fullscreen_visibility.cc', | |
| 378 'win/scoped_fullscreen_visibility.h', | |
| 379 'win/windows_session_change_observer.cc', | |
| 380 'win/windows_session_change_observer.h', | |
| 381 ], | |
| 382 'views_aura_sources': [ | |
| 383 'accessibility/ax_aura_obj_cache.cc', | |
| 384 'accessibility/ax_aura_obj_cache.h', | |
| 385 'accessibility/ax_view_obj_wrapper.cc', | |
| 386 'accessibility/ax_view_obj_wrapper.h', | |
| 387 'accessibility/ax_widget_obj_wrapper.cc', | |
| 388 'accessibility/ax_widget_obj_wrapper.h', | |
| 389 'accessibility/ax_window_obj_wrapper.cc', | |
| 390 'accessibility/ax_window_obj_wrapper.h', | |
| 391 'bubble/bubble_window_targeter.cc', | |
| 392 'bubble/bubble_window_targeter.h', | |
| 393 'bubble/tray_bubble_view.cc', | |
| 394 'bubble/tray_bubble_view.h', | |
| 395 'controls/menu/display_change_listener_aura.cc', | |
| 396 'controls/menu/menu_message_loop_aura.cc', | |
| 397 'controls/menu/menu_message_loop_aura.h', | |
| 398 'controls/menu/menu_pre_target_handler.cc', | |
| 399 'controls/menu/menu_pre_target_handler.h', | |
| 400 'controls/native/native_view_host_aura.cc', | |
| 401 'controls/native/native_view_host_aura.h', | |
| 402 'corewm/cursor_height_provider_win.cc', | |
| 403 'corewm/cursor_height_provider_win.h', | |
| 404 'corewm/tooltip.h', | |
| 405 'corewm/tooltip_aura.cc', | |
| 406 'corewm/tooltip_aura.h', | |
| 407 'corewm/tooltip_controller.cc', | |
| 408 'corewm/tooltip_controller.h', | |
| 409 'corewm/tooltip_win.cc', | |
| 410 'corewm/tooltip_win.h', | |
| 411 'drag_utils_aura.cc', | |
| 412 'event_monitor_aura.cc', | |
| 413 'event_monitor_aura.h', | |
| 414 'metrics_aura.cc', | |
| 415 'native_cursor_aura.cc', | |
| 416 'touchui/touch_selection_controller_impl.cc', | |
| 417 'touchui/touch_selection_controller_impl.h', | |
| 418 'touchui/touch_selection_menu_runner_views.cc', | |
| 419 'touchui/touch_selection_menu_runner_views.h', | |
| 420 'view_constants_aura.cc', | |
| 421 'view_constants_aura.h', | |
| 422 'views_touch_selection_controller_factory_aura.cc', | |
| 423 'widget/native_widget_aura.cc', | |
| 424 'widget/native_widget_aura.h', | |
| 425 'widget/tooltip_manager_aura.cc', | |
| 426 'widget/tooltip_manager_aura.h', | |
| 427 'widget/window_reorderer.cc', | |
| 428 'widget/window_reorderer.h', | |
| 429 ], | |
| 430 'views_desktop_aura_sources': [ | |
| 431 'widget/desktop_aura/desktop_capture_client.cc', | |
| 432 'widget/desktop_aura/desktop_capture_client.h', | |
| 433 'widget/desktop_aura/desktop_cursor_loader_updater.h', | |
| 434 'widget/desktop_aura/desktop_drop_target_win.cc', | |
| 435 'widget/desktop_aura/desktop_drop_target_win.h', | |
| 436 'widget/desktop_aura/desktop_event_client.cc', | |
| 437 'widget/desktop_aura/desktop_event_client.h', | |
| 438 'widget/desktop_aura/desktop_focus_rules.cc', | |
| 439 'widget/desktop_aura/desktop_focus_rules.h', | |
| 440 'widget/desktop_aura/desktop_native_cursor_manager.cc', | |
| 441 'widget/desktop_aura/desktop_native_cursor_manager.h', | |
| 442 'widget/desktop_aura/desktop_native_widget_aura.cc', | |
| 443 'widget/desktop_aura/desktop_native_widget_aura.h', | |
| 444 'widget/desktop_aura/desktop_screen.h', | |
| 445 'widget/desktop_aura/desktop_screen_position_client.cc', | |
| 446 'widget/desktop_aura/desktop_screen_position_client.h', | |
| 447 'widget/desktop_aura/desktop_window_tree_host.h', | |
| 448 ], | |
| 449 'views_desktop_aura_linux_sources': [ | |
| 450 'style/platform_style_linux.cc', | |
| 451 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc', | |
| 452 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h', | |
| 453 ], | |
| 454 'views_desktop_aura_x11_sources': [ | |
| 455 'accessibility/native_view_accessibility_auralinux.cc', | |
| 456 'accessibility/native_view_accessibility_auralinux.h', | |
| 457 'widget/desktop_aura/desktop_drag_drop_client_aurax11.cc', | |
| 458 'widget/desktop_aura/desktop_drag_drop_client_aurax11.h', | |
| 459 'widget/desktop_aura/desktop_screen_x11.cc', | |
| 460 'widget/desktop_aura/desktop_screen_x11.h', | |
| 461 'widget/desktop_aura/desktop_window_tree_host_x11.cc', | |
| 462 'widget/desktop_aura/desktop_window_tree_host_x11.h', | |
| 463 'widget/desktop_aura/x11_desktop_handler.cc', | |
| 464 'widget/desktop_aura/x11_desktop_handler.h', | |
| 465 'widget/desktop_aura/x11_desktop_handler_observer.h', | |
| 466 'widget/desktop_aura/x11_desktop_window_move_client.cc', | |
| 467 'widget/desktop_aura/x11_desktop_window_move_client.h', | |
| 468 'widget/desktop_aura/x11_move_loop.h', | |
| 469 'widget/desktop_aura/x11_move_loop_delegate.h', | |
| 470 'widget/desktop_aura/x11_pointer_grab.cc', | |
| 471 'widget/desktop_aura/x11_pointer_grab.h', | |
| 472 'widget/desktop_aura/x11_topmost_window_finder.cc', | |
| 473 'widget/desktop_aura/x11_topmost_window_finder.h', | |
| 474 'widget/desktop_aura/x11_whole_screen_move_loop.cc', | |
| 475 'widget/desktop_aura/x11_whole_screen_move_loop.h', | |
| 476 'widget/desktop_aura/x11_window_event_filter.cc', | |
| 477 'widget/desktop_aura/x11_window_event_filter.h', | |
| 478 ], | |
| 479 'views_desktop_aura_win_sources': [ | |
| 480 'widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc', | |
| 481 'widget/desktop_aura/desktop_drag_drop_client_win.cc', | |
| 482 'widget/desktop_aura/desktop_drag_drop_client_win.h', | |
| 483 'widget/desktop_aura/desktop_screen_win.cc', | |
| 484 'widget/desktop_aura/desktop_screen_win.h', | |
| 485 'widget/desktop_aura/desktop_window_tree_host_win.cc', | |
| 486 'widget/desktop_aura/desktop_window_tree_host_win.h', | |
| 487 ], | |
| 488 'views_desktop_aura_ozone_sources': [ | |
| 489 'widget/desktop_aura/desktop_factory_ozone.cc', | |
| 490 'widget/desktop_aura/desktop_factory_ozone.h', | |
| 491 'widget/desktop_aura/desktop_screen_ozone.cc', | |
| 492 'widget/desktop_aura/desktop_window_tree_host_ozone.cc', | |
| 493 ], | |
| 494 'views_test_support_sources': [ | |
| 495 'animation/test/flood_fill_ink_drop_ripple_test_api.cc', | |
| 496 'animation/test/flood_fill_ink_drop_ripple_test_api.h', | |
| 497 'animation/test/ink_drop_highlight_test_api.cc', | |
| 498 'animation/test/ink_drop_highlight_test_api.h', | |
| 499 'animation/test/ink_drop_host_view_test_api.cc', | |
| 500 'animation/test/ink_drop_host_view_test_api.h', | |
| 501 'animation/test/ink_drop_impl_test_api.cc', | |
| 502 'animation/test/ink_drop_impl_test_api.h', | |
| 503 'animation/test/ink_drop_ripple_test_api.cc', | |
| 504 'animation/test/ink_drop_ripple_test_api.h', | |
| 505 'animation/test/ink_drop_utils.cc', | |
| 506 'animation/test/square_ink_drop_ripple_test_api.cc', | |
| 507 'animation/test/square_ink_drop_ripple_test_api.h', | |
| 508 'animation/test/test_ink_drop.cc', | |
| 509 'animation/test/test_ink_drop.h', | |
| 510 'animation/test/test_ink_drop_animation_observer_helper.h', | |
| 511 'animation/test/test_ink_drop_highlight_observer.cc', | |
| 512 'animation/test/test_ink_drop_highlight_observer.h', | |
| 513 'animation/test/test_ink_drop_host.cc', | |
| 514 'animation/test/test_ink_drop_host.h', | |
| 515 'animation/test/test_ink_drop_ripple_observer.cc', | |
| 516 'animation/test/test_ink_drop_ripple_observer.h', | |
| 517 'controls/textfield/textfield_test_api.cc', | |
| 518 'controls/textfield/textfield_test_api.h', | |
| 519 'test/capture_tracking_view.cc', | |
| 520 'test/capture_tracking_view.h', | |
| 521 'test/combobox_test_api.cc', | |
| 522 'test/combobox_test_api.h', | |
| 523 'test/desktop_test_views_delegate.h', | |
| 524 'test/desktop_test_views_delegate_mac.mm', | |
| 525 'test/event_generator_delegate_mac.h', | |
| 526 'test/event_generator_delegate_mac.mm', | |
| 527 'test/focus_manager_test.cc', | |
| 528 'test/focus_manager_test.h', | |
| 529 'test/menu_runner_test_api.cc', | |
| 530 'test/menu_runner_test_api.h', | |
| 531 'test/menu_test_utils.cc', | |
| 532 'test/menu_test_utils.h', | |
| 533 'test/native_widget_factory.cc', | |
| 534 'test/native_widget_factory.h', | |
| 535 'test/scoped_views_test_helper.cc', | |
| 536 'test/scoped_views_test_helper.h', | |
| 537 'test/slider_test_api.cc', | |
| 538 'test/slider_test_api.h', | |
| 539 'test/test_views.cc', | |
| 540 'test/test_views.h', | |
| 541 'test/test_views_delegate.h', | |
| 542 'test/test_views_delegate_mac.mm', | |
| 543 'test/test_widget_observer.cc', | |
| 544 'test/test_widget_observer.h', | |
| 545 'test/views_test_base.cc', | |
| 546 'test/views_test_base.h', | |
| 547 'test/views_test_helper.cc', | |
| 548 'test/views_test_helper.h', | |
| 549 'test/views_test_helper_mac.h', | |
| 550 'test/views_test_helper_mac.mm', | |
| 551 'test/widget_test.cc', | |
| 552 'test/widget_test.h', | |
| 553 'test/widget_test_mac.mm', | |
| 554 'test/x11_property_change_waiter.cc', | |
| 555 'test/x11_property_change_waiter.h', | |
| 556 'views_test_suite.cc', | |
| 557 'views_test_suite.h', | |
| 558 ], | |
| 559 'views_test_support_aura_sources': [ | |
| 560 'corewm/tooltip_controller_test_helper.cc', | |
| 561 'corewm/tooltip_controller_test_helper.h', | |
| 562 'test/desktop_test_views_delegate_aura.cc', | |
| 563 'test/test_views_delegate_aura.cc', | |
| 564 'test/views_test_helper_aura.cc', | |
| 565 'test/views_test_helper_aura.h', | |
| 566 'test/widget_test_aura.cc', | |
| 567 ], | |
| 568 'views_test_support_desktop_aura_x11_sources': [ | |
| 569 'test/desktop_screen_x11_test_api.cc', | |
| 570 'test/desktop_screen_x11_test_api.h', | |
| 571 'test/ui_controls_factory_desktop_aurax11.cc', | |
| 572 'test/ui_controls_factory_desktop_aurax11.h', | |
| 573 ], | |
| 574 'views_unittests_sources': [ | |
| 575 'accessibility/native_view_accessibility_unittest.cc', | |
| 576 'accessibility/native_view_accessibility_win_unittest.cc', | |
| 577 'accessible_pane_view_unittest.cc', | |
| 578 'animation/bounds_animator_unittest.cc', | |
| 579 'animation/flood_fill_ink_drop_ripple_unittest.cc', | |
| 580 'animation/ink_drop_highlight_unittest.cc', | |
| 581 'animation/ink_drop_host_view_unittest.cc', | |
| 582 'animation/ink_drop_impl_unittest.cc', | |
| 583 'animation/ink_drop_ripple_unittest.cc', | |
| 584 'animation/ink_drop_unittest.cc', | |
| 585 'animation/square_ink_drop_ripple_unittest.cc', | |
| 586 'border_unittest.cc', | |
| 587 'bubble/bubble_border_unittest.cc', | |
| 588 'bubble/bubble_dialog_delegate_unittest.cc', | |
| 589 'bubble/bubble_frame_view_unittest.cc', | |
| 590 'bubble/bubble_window_targeter_unittest.cc', | |
| 591 'cocoa/bridged_native_widget_unittest.mm', | |
| 592 'cocoa/cocoa_mouse_capture_unittest.mm', | |
| 593 'cocoa/drag_drop_client_mac_unittest.mm', | |
| 594 'controls/button/blue_button_unittest.cc', | |
| 595 'controls/button/custom_button_unittest.cc', | |
| 596 'controls/button/image_button_unittest.cc', | |
| 597 'controls/button/label_button_unittest.cc', | |
| 598 'controls/button/menu_button_unittest.cc', | |
| 599 'controls/combobox/combobox_unittest.cc', | |
| 600 'controls/label_unittest.cc', | |
| 601 'controls/menu/menu_controller_unittest.cc', | |
| 602 'controls/menu/menu_item_view_unittest.cc', | |
| 603 'controls/menu/menu_model_adapter_unittest.cc', | |
| 604 'controls/menu/menu_runner_cocoa_unittest.mm', | |
| 605 'controls/menu/menu_runner_unittest.cc', | |
| 606 'controls/native/native_view_host_mac_unittest.mm', | |
| 607 'controls/native/native_view_host_test_base.cc', | |
| 608 'controls/native/native_view_host_test_base.h', | |
| 609 'controls/native/native_view_host_unittest.cc', | |
| 610 'controls/prefix_selector_unittest.cc', | |
| 611 'controls/progress_bar_unittest.cc', | |
| 612 'controls/scroll_view_unittest.cc', | |
| 613 'controls/scrollbar/scrollbar_unittest.cc', | |
| 614 'controls/slider_unittest.cc', | |
| 615 'controls/styled_label_unittest.cc', | |
| 616 'controls/tabbed_pane/tabbed_pane_unittest.cc', | |
| 617 'controls/table/table_utils_unittest.cc', | |
| 618 'controls/table/table_view_unittest.cc', | |
| 619 'controls/table/test_table_model.cc', | |
| 620 'controls/table/test_table_model.h', | |
| 621 'controls/textfield/textfield_model_unittest.cc', | |
| 622 'controls/textfield/textfield_unittest.cc', | |
| 623 'controls/tree/tree_view_unittest.cc', | |
| 624 'event_monitor_unittest.cc', | |
| 625 'focus/focus_manager_unittest.cc', | |
| 626 'focus/focus_traversal_unittest.cc', | |
| 627 'layout/box_layout_unittest.cc', | |
| 628 'layout/grid_layout_unittest.cc', | |
| 629 'rect_based_targeting_utils_unittest.cc', | |
| 630 'run_all_unittests_main.cc', | |
| 631 'style/mac/dialog_button_border_mac_unittest.cc', | |
| 632 'view_model_unittest.cc', | |
| 633 'view_model_utils_unittest.cc', | |
| 634 'view_targeter_unittest.cc', | |
| 635 'view_unittest.cc', | |
| 636 'widget/native_widget_mac_accessibility_unittest.mm', | |
| 637 'widget/native_widget_mac_unittest.mm', | |
| 638 'widget/native_widget_unittest.cc', | |
| 639 'widget/root_view_unittest.cc', | |
| 640 'widget/widget_unittest.cc', | |
| 641 'widget/window_reorderer_unittest.cc', | |
| 642 'window/custom_frame_view_unittest.cc', | |
| 643 'window/dialog_client_view_unittest.cc', | |
| 644 'window/dialog_delegate_unittest.cc', | |
| 645 ], | |
| 646 'views_unittests_desktop_sources': [ | |
| 647 'widget/desktop_widget_unittest.cc', | |
| 648 ], | |
| 649 'views_unittests_aura_sources': [ | |
| 650 'accessibility/ax_aura_obj_cache_unittest.cc', | |
| 651 'controls/native/native_view_host_aura_unittest.cc', | |
| 652 'corewm/tooltip_controller_unittest.cc', | |
| 653 'touchui/touch_selection_controller_impl_unittest.cc', | |
| 654 'touchui/touch_selection_menu_runner_views_unittest.cc', | |
| 655 'view_unittest_aura.cc', | |
| 656 'widget/native_widget_aura_unittest.cc', | |
| 657 ], | |
| 658 'views_unittests_desktop_aura_sources': [ | |
| 659 'widget/desktop_aura/desktop_focus_rules_unittest.cc', | |
| 660 'widget/desktop_aura/desktop_native_widget_aura_unittest.cc', | |
| 661 ], | |
| 662 'views_unittests_desktop_aurax11_sources': [ | |
| 663 'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc', | |
| 664 'widget/desktop_aura/desktop_screen_x11_unittest.cc', | |
| 665 'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc', | |
| 666 ], | |
| 667 }, | |
| 668 'targets': [ | |
| 669 { | |
| 670 # GN version: //ui/views | |
| 671 'target_name': 'views', | |
| 672 'type': '<(component)', | |
| 673 'dependencies': [ | |
| 674 '../../base/base.gyp:base', | |
| 675 '../../base/base.gyp:base_i18n', | |
| 676 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | |
| 677 '../../skia/skia.gyp:skia', | |
| 678 '../../third_party/icu/icu.gyp:icui18n', | |
| 679 '../../third_party/icu/icu.gyp:icuuc', | |
| 680 '../../url/url.gyp:url_lib', | |
| 681 '../accessibility/accessibility.gyp:accessibility', | |
| 682 '../accessibility/accessibility.gyp:ax_gen', | |
| 683 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 684 '../base/ui_base.gyp:ui_base', | |
| 685 '../compositor/compositor.gyp:compositor', | |
| 686 '../display/display.gyp:display', | |
| 687 '../events/events.gyp:events', | |
| 688 '../events/events.gyp:events_base', | |
| 689 '../events/platform/events_platform.gyp:events_platform', | |
| 690 '../gfx/gfx.gyp:gfx', | |
| 691 '../gfx/gfx.gyp:gfx_geometry', | |
| 692 '../gfx/gfx.gyp:gfx_range', | |
| 693 '../gfx/gfx.gyp:gfx_vector_icons', | |
| 694 '../native_theme/native_theme.gyp:native_theme', | |
| 695 '../resources/ui_resources.gyp:ui_resources', | |
| 696 '../strings/ui_strings.gyp:ui_strings', | |
| 697 'resources/views_resources.gyp:views_resources', | |
| 698 ], | |
| 699 'all_dependent_settings': { | |
| 700 'defines': [ | |
| 701 'TOOLKIT_VIEWS=1', | |
| 702 ], | |
| 703 }, | |
| 704 'export_dependent_settings': [ | |
| 705 '../accessibility/accessibility.gyp:ax_gen', | |
| 706 'resources/views_resources.gyp:views_resources', | |
| 707 ], | |
| 708 'defines': [ | |
| 709 'VIEWS_IMPLEMENTATION', | |
| 710 ], | |
| 711 'sources': [ | |
| 712 '<@(views_sources)', | |
| 713 ], | |
| 714 'conditions': [ | |
| 715 ['use_aura==0', { | |
| 716 'sources!': [ | |
| 717 'bubble/tray_bubble_view.cc', | |
| 718 'bubble/tray_bubble_view.h', | |
| 719 ], | |
| 720 }], | |
| 721 ['chromeos==0 and use_x11==1', { | |
| 722 'dependencies': [ | |
| 723 '../display/display.gyp:display_util', | |
| 724 ], | |
| 725 }], | |
| 726 ['OS=="linux" and chromeos==0 and use_ozone==0', { | |
| 727 'dependencies': [ | |
| 728 '../../build/linux/system.gyp:atk', | |
| 729 ], | |
| 730 }], | |
| 731 ['OS=="linux" and chromeos==0', { | |
| 732 'dependencies': [ | |
| 733 '../shell_dialogs/shell_dialogs.gyp:shell_dialogs', | |
| 734 ], | |
| 735 'sources!': [ | |
| 736 'window/window_button_order_provider.cc', | |
| 737 ], | |
| 738 }, { # OS=="linux" and chromeos==0 | |
| 739 'sources/': [ | |
| 740 ['exclude', 'linux_ui'], | |
| 741 ], | |
| 742 'sources!': [ | |
| 743 'controls/menu/menu_config_linux.cc', | |
| 744 ], | |
| 745 }], | |
| 746 ['OS=="win"', { | |
| 747 'sources': [ | |
| 748 '<@(views_win_sources)', | |
| 749 ], | |
| 750 'dependencies': [ | |
| 751 # For accessibility | |
| 752 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | |
| 753 ], | |
| 754 'include_dirs': [ | |
| 755 '../../third_party/wtl/include', | |
| 756 ], | |
| 757 'link_settings': { | |
| 758 'libraries': [ | |
| 759 '-limm32.lib', | |
| 760 '-loleacc.lib', | |
| 761 '-lwtsapi32.lib', | |
| 762 ], | |
| 763 'msvs_settings': { | |
| 764 'VCLinkerTool': { | |
| 765 'DelayLoadDLLs': [ | |
| 766 'user32.dll', | |
| 767 ], | |
| 768 }, | |
| 769 }, | |
| 770 }, | |
| 771 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 772 'msvs_disabled_warnings': [ 4267, ], | |
| 773 }], | |
| 774 ['use_ozone==1', { | |
| 775 'dependencies': [ | |
| 776 '../ozone/ozone.gyp:ozone', | |
| 777 ], | |
| 778 }], | |
| 779 ['use_x11==1', { | |
| 780 'dependencies': [ | |
| 781 '../../build/linux/system.gyp:x11', | |
| 782 '../../build/linux/system.gyp:xrandr', | |
| 783 '../events/devices/events_devices.gyp:events_devices', | |
| 784 '../events/devices/x11/events_devices_x11.gyp:events_devices_x11', | |
| 785 '../events/keycodes/events_keycodes.gyp:keycodes_x11', | |
| 786 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, | |
| 787 '../gfx/x/gfx_x11.gyp:gfx_x11', | |
| 788 ], | |
| 789 }], | |
| 790 ['use_aura==1', { | |
| 791 'sources': [ | |
| 792 '<@(views_aura_sources)', | |
| 793 ], | |
| 794 'dependencies': [ | |
| 795 '../aura/aura.gyp:aura', | |
| 796 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection', | |
| 797 '../wm/wm.gyp:wm', | |
| 798 ], | |
| 799 }], | |
| 800 ['use_aura and chromeos == 0', { | |
| 801 'sources': [ '<@(views_desktop_aura_sources)' ], | |
| 802 'conditions': [ | |
| 803 ['OS == "linux"', { | |
| 804 'sources': [ '<@(views_desktop_aura_linux_sources)' ], | |
| 805 }], | |
| 806 ['use_x11 == 1', { | |
| 807 'sources': [ '<@(views_desktop_aura_x11_sources)' ], | |
| 808 'dependencies': [ | |
| 809 '../../build/linux/system.gyp:xext', | |
| 810 '../../ui/base/x/ui_base_x.gyp:ui_base_x', | |
| 811 ], | |
| 812 }], | |
| 813 ['OS == "win"', { | |
| 814 'sources': [ '<@(views_desktop_aura_win_sources)' ], | |
| 815 }], | |
| 816 ['use_ozone==1', { | |
| 817 'sources': [ '<@(views_desktop_aura_ozone_sources)' ], | |
| 818 }], | |
| 819 ], | |
| 820 }], | |
| 821 ['OS=="mac"', { | |
| 822 'dependencies': [ | |
| 823 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wi
dget_mac', | |
| 824 ], | |
| 825 'link_settings': { | |
| 826 'libraries': [ | |
| 827 # Required by bridged_native_widget.mm. | |
| 828 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
| 829 ], | |
| 830 }, | |
| 831 }], | |
| 832 ], | |
| 833 }, # target_name: views | |
| 834 { | |
| 835 # GN version: //ui/views:test_support | |
| 836 'target_name': 'views_test_support', | |
| 837 'type': 'static_library', | |
| 838 'dependencies': [ | |
| 839 '../../base/base.gyp:base', | |
| 840 '../../ipc/ipc.gyp:test_support_ipc', | |
| 841 '../../skia/skia.gyp:skia', | |
| 842 '../../testing/gtest.gyp:gtest', | |
| 843 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 844 '../base/ui_base.gyp:ui_base', | |
| 845 '../base/ui_base.gyp:ui_base_test_support', | |
| 846 '../compositor/compositor.gyp:compositor', | |
| 847 '../compositor/compositor.gyp:compositor_test_support', | |
| 848 '../events/events.gyp:events', | |
| 849 '../events/events.gyp:events_test_support', | |
| 850 '../events/platform/events_platform.gyp:events_platform', | |
| 851 '../gfx/gfx.gyp:gfx', | |
| 852 '../gfx/gfx.gyp:gfx_geometry', | |
| 853 '../gfx/gfx.gyp:gfx_range', | |
| 854 'resources/views_resources.gyp:views_resources', | |
| 855 'views', | |
| 856 ], | |
| 857 'include_dirs': [ | |
| 858 '..', | |
| 859 ], | |
| 860 'sources': [ | |
| 861 '<@(views_test_support_sources)', | |
| 862 # These are not listed in views_test_support_sources as they are not | |
| 863 # used by the gn target that pulls in views_test_support_sources. | |
| 864 'test/native_widget_factory_desktop.cc', | |
| 865 'test/platform_test_helper.cc', | |
| 866 'test/platform_test_helper.h', | |
| 867 ], | |
| 868 'conditions': [ | |
| 869 ['use_aura==1', { | |
| 870 'sources': [ '<@(views_test_support_aura_sources)' ], | |
| 871 'dependencies': [ | |
| 872 '../aura/aura.gyp:aura', | |
| 873 '../aura/aura.gyp:aura_test_support', | |
| 874 '../wm/wm.gyp:wm', | |
| 875 ], | |
| 876 }], | |
| 877 ['use_aura==1 and use_x11==1 and chromeos==0', { | |
| 878 'sources': [ '<@(views_test_support_desktop_aura_x11_sources)' ], | |
| 879 }], | |
| 880 ], | |
| 881 }, # target_name: views_test_support | |
| 882 { | |
| 883 # GN version: //ui/views:views_unittests | |
| 884 'target_name': 'views_unittests', | |
| 885 'type': 'executable', | |
| 886 'dependencies': [ | |
| 887 '../../base/base.gyp:base', | |
| 888 '../../base/base.gyp:base_i18n', | |
| 889 '../../base/base.gyp:test_support_base', | |
| 890 '../../skia/skia.gyp:skia', | |
| 891 '../../testing/gtest.gyp:gtest', | |
| 892 '../../third_party/icu/icu.gyp:icui18n', | |
| 893 '../../third_party/icu/icu.gyp:icuuc', | |
| 894 '../../url/url.gyp:url_lib', | |
| 895 '../accessibility/accessibility.gyp:accessibility', | |
| 896 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 897 '../base/ui_base.gyp:ui_base', | |
| 898 '../base/ui_base.gyp:ui_base_test_support', | |
| 899 '../compositor/compositor.gyp:compositor', | |
| 900 '../events/events.gyp:events', | |
| 901 '../events/events.gyp:events_base', | |
| 902 '../events/events.gyp:events_test_support', | |
| 903 '../gfx/gfx.gyp:gfx', | |
| 904 '../gfx/gfx.gyp:gfx_geometry', | |
| 905 '../gfx/gfx.gyp:gfx_range', | |
| 906 '../native_theme/native_theme.gyp:native_theme', | |
| 907 '../resources/ui_resources.gyp:ui_resources', | |
| 908 '../resources/ui_resources.gyp:ui_test_pak', | |
| 909 '../strings/ui_strings.gyp:ui_strings', | |
| 910 'resources/views_resources.gyp:views_resources', | |
| 911 'views', | |
| 912 'views_test_support', | |
| 913 ], | |
| 914 'include_dirs': [ | |
| 915 '..', | |
| 916 ], | |
| 917 'sources': [ | |
| 918 '<@(views_unittests_sources)', | |
| 919 ], | |
| 920 'conditions': [ | |
| 921 ['OS=="win"', { | |
| 922 'dependencies': [ | |
| 923 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | |
| 924 ], | |
| 925 'link_settings': { | |
| 926 'libraries': [ | |
| 927 '-limm32.lib', | |
| 928 '-loleacc.lib', | |
| 929 '-lcomctl32.lib', | |
| 930 ] | |
| 931 }, | |
| 932 'include_dirs': [ | |
| 933 '../third_party/wtl/include', | |
| 934 ], | |
| 935 'msvs_settings': { | |
| 936 'VCManifestTool': { | |
| 937 'AdditionalManifestFiles': [ | |
| 938 '$(ProjectDir)\\test\\views_unittest.manifest', | |
| 939 ], | |
| 940 }, | |
| 941 }, | |
| 942 }], | |
| 943 ['use_x11==1', { | |
| 944 'dependencies': [ | |
| 945 '../../build/linux/system.gyp:x11', | |
| 946 '../../build/linux/system.gyp:xext', | |
| 947 '../events/devices/events_devices.gyp:events_devices', | |
| 948 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, | |
| 949 ], | |
| 950 }], | |
| 951 ['use_aura==1', { | |
| 952 'sources': [ '<@(views_unittests_aura_sources)' ], | |
| 953 'dependencies': [ | |
| 954 '../aura/aura.gyp:aura', | |
| 955 '../aura/aura.gyp:aura_test_support', | |
| 956 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection', | |
| 957 '../wm/wm.gyp:wm', | |
| 958 ], | |
| 959 'conditions': [ | |
| 960 ['chromeos == 0', { | |
| 961 'sources': [ '<@(views_unittests_desktop_aura_sources)' ], | |
| 962 }], | |
| 963 ['chromeos == 0 and use_x11==1', { | |
| 964 'sources': [ '<@(views_unittests_desktop_aurax11_sources)' ], | |
| 965 }], | |
| 966 ] | |
| 967 }], | |
| 968 ['chromeos==0', { | |
| 969 'sources': [ '<@(views_unittests_desktop_sources)' ], | |
| 970 }], | |
| 971 ['use_x11==1', { | |
| 972 'dependencies': [ | |
| 973 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, | |
| 974 ], | |
| 975 }], | |
| 976 ['OS=="mac"', { | |
| 977 # views_unittests not yet compiling on Mac. http://crbug.com/378134 | |
| 978 'sources!': [ | |
| 979 'bubble/bubble_window_targeter_unittest.cc', | |
| 980 'controls/native/native_view_host_unittest.cc', | |
| 981 'widget/window_reorderer_unittest.cc', | |
| 982 ], | |
| 983 'dependencies': [ | |
| 984 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wi
dget_mac', | |
| 985 ], | |
| 986 }], | |
| 987 ], | |
| 988 }, # target_name: views_unittests | |
| 989 ], # targets | |
| 990 'conditions': [ | |
| 991 ['test_isolation_mode != "noop"', { | |
| 992 'targets': [ | |
| 993 { | |
| 994 'target_name': 'views_unittests_run', | |
| 995 'type': 'none', | |
| 996 'dependencies': [ | |
| 997 'views_unittests', | |
| 998 ], | |
| 999 'includes': [ | |
| 1000 '../../build/isolate.gypi', | |
| 1001 ], | |
| 1002 'sources': [ | |
| 1003 'views_unittests.isolate', | |
| 1004 ], | |
| 1005 'conditions': [ | |
| 1006 ['use_x11==1', | |
| 1007 { | |
| 1008 'dependencies': [ | |
| 1009 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 1010 ], | |
| 1011 } | |
| 1012 ], | |
| 1013 ], | |
| 1014 }, | |
| 1015 ], | |
| 1016 }], | |
| 1017 ['OS=="mac"', { | |
| 1018 'targets': [ | |
| 1019 { | |
| 1020 # GN version: //ui/views:macviews_interactive_ui_tests | |
| 1021 'target_name': 'macviews_interactive_ui_tests', | |
| 1022 'type': 'executable', | |
| 1023 'dependencies': [ | |
| 1024 '../../base/base.gyp:base', | |
| 1025 '../../base/base.gyp:test_support_base', | |
| 1026 '../../skia/skia.gyp:skia', | |
| 1027 '../../testing/gtest.gyp:gtest', | |
| 1028 '../base/ui_base.gyp:ui_base_test_support', | |
| 1029 '../compositor/compositor.gyp:compositor_test_support', | |
| 1030 '../resources/ui_resources.gyp:ui_resources', | |
| 1031 '../resources/ui_resources.gyp:ui_test_pak', | |
| 1032 '../strings/ui_strings.gyp:ui_strings', | |
| 1033 'views', | |
| 1034 'views_test_support', | |
| 1035 ], | |
| 1036 'sources': [ | |
| 1037 'cocoa/bridged_native_widget_interactive_uitest.mm', | |
| 1038 'run_all_unittests_main.cc', | |
| 1039 'views_test_suite.cc', | |
| 1040 'views_test_suite.h', | |
| 1041 'widget/native_widget_mac_interactive_uitest.mm', | |
| 1042 ], | |
| 1043 'conditions': [ | |
| 1044 ['use_aura == 1', { | |
| 1045 'dependencies': [ | |
| 1046 '../aura/aura.gyp:aura', | |
| 1047 '../wm/wm.gyp:wm', | |
| 1048 ], | |
| 1049 }], | |
| 1050 ], | |
| 1051 }, # target_name: macviews_interactive_ui_tests | |
| 1052 ], # targets | |
| 1053 }], | |
| 1054 ], # conditions | |
| 1055 } | |
| OLD | NEW |