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