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.
7 # Sources lists shared with GN build.
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/scroll_animator.cc',
18 'animation/scroll_animator.h',
23 'bubble/bubble_border.cc',
24 'bubble/bubble_border.h',
25 'bubble/bubble_delegate.cc',
26 'bubble/bubble_delegate.h',
27 'bubble/bubble_frame_view.cc',
28 'bubble/bubble_frame_view.h',
29 'button_drag_utils.cc',
30 'button_drag_utils.h',
31 'cocoa/bridged_content_view.h',
32 'cocoa/bridged_content_view.mm',
33 'cocoa/bridged_native_widget.h',
34 'cocoa/bridged_native_widget.mm',
35 'cocoa/views_nswindow_delegate.h',
36 'cocoa/views_nswindow_delegate.mm',
37 'color_chooser/color_chooser_listener.h',
38 'color_chooser/color_chooser_view.cc',
39 'color_chooser/color_chooser_view.h',
42 'context_menu_controller.h',
43 'controls/button/blue_button.cc',
44 'controls/button/blue_button.h',
45 'controls/button/button.cc',
46 'controls/button/button.h',
47 'controls/button/checkbox.cc',
48 'controls/button/checkbox.h',
49 'controls/button/custom_button.cc',
50 'controls/button/custom_button.h',
51 'controls/button/image_button.cc',
52 'controls/button/image_button.h',
53 'controls/button/label_button.cc',
54 'controls/button/label_button.h',
55 'controls/button/label_button_border.cc',
56 'controls/button/label_button_border.h',
57 'controls/button/menu_button.cc',
58 'controls/button/menu_button.h',
59 'controls/button/menu_button_listener.h',
60 'controls/button/radio_button.cc',
61 'controls/button/radio_button.h',
62 'controls/combobox/combobox.cc',
63 'controls/combobox/combobox.h',
64 'controls/combobox/combobox_listener.h',
65 'controls/focusable_border.cc',
66 'controls/focusable_border.h',
67 'controls/glow_hover_controller.cc',
68 'controls/glow_hover_controller.h',
69 'controls/image_view.cc',
70 'controls/image_view.h',
75 'controls/link_listener.h',
76 'controls/menu/display_change_listener_aura.cc',
77 'controls/menu/display_change_listener_mac.cc',
78 'controls/menu/menu.cc',
79 'controls/menu/menu.h',
80 'controls/menu/menu_config.cc',
81 'controls/menu/menu_config.h',
82 'controls/menu/menu_config_aura.cc',
83 'controls/menu/menu_config_mac.cc',
84 'controls/menu/menu_config_win.cc',
85 'controls/menu/menu_controller.cc',
86 'controls/menu/menu_controller.h',
87 'controls/menu/menu_controller_delegate.h',
88 'controls/menu/menu_event_dispatcher_linux.cc',
89 'controls/menu/menu_event_dispatcher_linux.h',
90 'controls/menu/menu_delegate.cc',
91 'controls/menu/menu_delegate.h',
92 'controls/menu/menu_message_pump_dispatcher_win.cc',
93 'controls/menu/menu_message_pump_dispatcher_win.h',
94 'controls/menu/menu_message_loop.h',
95 'controls/menu/menu_message_loop_aura.cc',
96 'controls/menu/menu_message_loop_aura.h',
97 'controls/menu/menu_message_loop_mac.cc',
98 'controls/menu/menu_message_loop_mac.h',
99 'controls/menu/menu_host.cc',
100 'controls/menu/menu_host.h',
101 'controls/menu/menu_host_root_view.cc',
102 'controls/menu/menu_host_root_view.h',
103 'controls/menu/menu_insertion_delegate_win.h',
104 'controls/menu/menu_item_view.cc',
105 'controls/menu/menu_item_view.h',
106 'controls/menu/menu_listener.cc',
107 'controls/menu/menu_listener.h',
108 'controls/menu/menu_model_adapter.cc',
109 'controls/menu/menu_model_adapter.h',
110 'controls/menu/menu_runner.cc',
111 'controls/menu/menu_runner.h',
112 'controls/menu/menu_runner_handler.h',
113 'controls/menu/menu_scroll_view_container.cc',
114 'controls/menu/menu_scroll_view_container.h',
115 'controls/menu/menu_separator.h',
116 'controls/menu/menu_separator_views.cc',
117 'controls/menu/menu_separator_win.cc',
118 'controls/menu/menu_types.h',
119 'controls/menu/native_menu_win.cc',
120 'controls/menu/native_menu_win.h',
121 'controls/menu/menu_image_util.cc',
122 'controls/menu/menu_image_util.h',
123 'controls/menu/submenu_view.cc',
124 'controls/menu/submenu_view.h',
125 'controls/message_box_view.cc',
126 'controls/message_box_view.h',
127 'controls/native/native_view_host.cc',
128 'controls/native/native_view_host.h',
129 'controls/native/native_view_host_aura.cc',
130 'controls/native/native_view_host_aura.h',
131 'controls/native/native_view_host_mac.cc',
132 'controls/prefix_delegate.h',
133 'controls/prefix_selector.cc',
134 'controls/prefix_selector.h',
135 'controls/progress_bar.cc',
136 'controls/progress_bar.h',
137 'controls/resize_area.cc',
138 'controls/resize_area.h',
139 'controls/resize_area_delegate.h',
140 'controls/scroll_view.cc',
141 'controls/scroll_view.h',
142 'controls/scrollbar/base_scroll_bar.cc',
143 'controls/scrollbar/base_scroll_bar.h',
144 'controls/scrollbar/base_scroll_bar_button.cc',
145 'controls/scrollbar/base_scroll_bar_button.h',
146 'controls/scrollbar/base_scroll_bar_thumb.cc',
147 'controls/scrollbar/base_scroll_bar_thumb.h',
148 'controls/scrollbar/kennedy_scroll_bar.cc',
149 'controls/scrollbar/kennedy_scroll_bar.h',
150 'controls/scrollbar/native_scroll_bar_views.cc',
151 'controls/scrollbar/native_scroll_bar_views.h',
152 'controls/scrollbar/native_scroll_bar_wrapper.h',
153 'controls/scrollbar/native_scroll_bar.cc',
154 'controls/scrollbar/native_scroll_bar.h',
155 'controls/scrollbar/overlay_scroll_bar.cc',
156 'controls/scrollbar/overlay_scroll_bar.h',
157 'controls/scrollbar/scroll_bar.cc',
158 'controls/scrollbar/scroll_bar.h',
159 'controls/separator.cc',
160 'controls/separator.h',
161 'controls/single_split_view.cc',
162 'controls/single_split_view.h',
163 'controls/single_split_view_listener.h',
164 'controls/slide_out_view.cc',
165 'controls/slide_out_view.h',
166 'controls/slider.cc',
168 'controls/styled_label.cc',
169 'controls/styled_label.h',
170 'controls/styled_label_listener.h',
171 'controls/tabbed_pane/tabbed_pane.cc',
172 'controls/tabbed_pane/tabbed_pane.h',
173 'controls/tabbed_pane/tabbed_pane_listener.h',
174 'controls/table/table_header.cc',
175 'controls/table/table_header.h',
176 'controls/table/table_utils.cc',
177 'controls/table/table_utils.h',
178 'controls/table/table_view.cc',
179 'controls/table/table_view.h',
180 'controls/table/table_view_observer.h',
181 'controls/table/table_view_row_background_painter.h',
182 'controls/textfield/textfield.cc',
183 'controls/textfield/textfield.h',
184 'controls/textfield/textfield_controller.cc',
185 'controls/textfield/textfield_controller.h',
186 'controls/textfield/textfield_model.cc',
187 'controls/textfield/textfield_model.h',
188 'controls/throbber.cc',
189 'controls/throbber.h',
190 'controls/tree/tree_view.cc',
191 'controls/tree/tree_view.h',
192 'controls/tree/tree_view_controller.cc',
193 'controls/tree/tree_view_controller.h',
201 'drag_utils_aura.cc',
202 'focus/external_focus_tracker.cc',
203 'focus/external_focus_tracker.h',
204 'focus/focus_manager.cc',
205 'focus/focus_manager.h',
206 'focus/focus_manager_delegate.h',
207 'focus/focus_manager_factory.cc',
208 'focus/focus_manager_factory.h',
209 'focus/focus_search.cc',
210 'focus/focus_search.h',
211 'focus/view_storage.cc',
212 'focus/view_storage.h',
213 'focus/widget_focus_manager.cc',
214 'focus/widget_focus_manager.h',
215 'ime/input_method.h',
216 'ime/input_method_base.cc',
217 'ime/input_method_base.h',
218 'ime/input_method_bridge.cc',
219 'ime/input_method_bridge.h',
220 'ime/input_method_delegate.h',
221 'ime/mock_input_method.cc',
222 'ime/mock_input_method.h',
223 'ime/null_input_method.cc',
224 'ime/null_input_method.h',
225 'layout/box_layout.cc',
226 'layout/box_layout.h',
227 'layout/fill_layout.cc',
228 'layout/fill_layout.h',
229 'layout/grid_layout.cc',
230 'layout/grid_layout.h',
231 'layout/layout_constants.h',
232 'layout/layout_manager.cc',
233 'layout/layout_manager.h',
234 'linux_ui/linux_ui.h',
235 'linux_ui/linux_ui.cc',
236 'linux_ui/status_icon_linux.h',
237 'linux_ui/status_icon_linux.cc',
238 'linux_ui/window_button_order_observer.h',
239 'linux_ui/window_button_order_provider.cc',
240 'masked_targeter_delegate.cc',
241 'masked_targeter_delegate.h',
248 'mouse_watcher_aura.cc',
250 'native_cursor_aura.cc',
251 'native_cursor_mac.mm',
252 'native_theme_delegate.h',
255 'rect_based_targeting_utils.cc',
256 'rect_based_targeting_utils.h',
257 'repeat_controller.cc',
258 'repeat_controller.h',
259 'round_rect_painter.cc',
260 'round_rect_painter.h',
267 'view_constants_aura.cc',
268 'view_constants_aura.h',
271 'view_model_utils.cc',
272 'view_model_utils.h',
275 'view_targeter_delegate.cc',
276 'view_targeter_delegate.h',
281 'views_touch_selection_controller_factory.h',
282 'views_touch_selection_controller_factory_aura.cc',
283 'views_touch_selection_controller_factory_mac.cc',
284 'widget/drop_helper.cc',
285 'widget/drop_helper.h',
286 'widget/root_view.cc',
287 'widget/root_view.h',
288 'widget/monitor_win.cc',
289 'widget/monitor_win.h',
290 'widget/native_widget.h',
291 'widget/native_widget_aura.cc',
292 'widget/native_widget_aura.h',
293 'widget/native_widget_delegate.h',
294 'widget/native_widget_mac.h',
295 'widget/native_widget_mac.mm',
296 'widget/native_widget_private.h',
297 'widget/tooltip_manager_aura.cc',
298 'widget/tooltip_manager_aura.h',
299 'widget/tooltip_manager.cc',
300 'widget/tooltip_manager.h',
303 'widget/widget_aura_utils.cc',
304 'widget/widget_aura_utils.h',
305 'widget/widget_delegate.cc',
306 'widget/widget_delegate.h',
307 'widget/widget_deletion_observer.cc',
308 'widget/widget_deletion_observer.h',
309 'widget/widget_observer.h',
310 'widget/widget_removals_observer.h',
311 'window/client_view.cc',
312 'window/client_view.h',
313 'window/custom_frame_view.cc',
314 'window/custom_frame_view.h',
315 'window/dialog_client_view.cc',
316 'window/dialog_client_view.h',
317 'window/dialog_delegate.cc',
318 'window/dialog_delegate.h',
319 'window/frame_background.cc',
320 'window/frame_background.h',
321 'window/frame_buttons.h',
322 'window/native_frame_view.cc',
323 'window/native_frame_view.h',
324 'window/non_client_view.cc',
325 'window/non_client_view.h',
326 'window/window_button_order_provider.cc',
327 'window/window_button_order_provider.h',
328 'window/window_resources.h',
329 'window/window_shape.cc',
330 'window/window_shape.h',
332 'views_win_sources': [
333 'controls/menu/menu_wrapper.h',
334 'controls/menu/menu_2.cc',
335 'controls/menu/menu_2.h',
336 'win/fullscreen_handler.cc',
337 'win/fullscreen_handler.h',
338 'win/hwnd_message_handler.cc',
339 'win/hwnd_message_handler.h',
340 'win/hwnd_message_handler_delegate.h',
342 'win/hwnd_util_aurawin.cc',
343 'win/scoped_fullscreen_visibility.cc',
344 'win/scoped_fullscreen_visibility.h',
345 'widget/widget_hwnd_utils.cc',
346 'widget/widget_hwnd_utils.h',
348 'views_aura_sources': [
349 'accessibility/ax_aura_obj_cache.cc',
350 'accessibility/ax_aura_obj_cache.h',
351 'accessibility/ax_view_obj_wrapper.cc',
352 'accessibility/ax_view_obj_wrapper.h',
353 'accessibility/ax_widget_obj_wrapper.cc',
354 'accessibility/ax_widget_obj_wrapper.h',
355 'accessibility/ax_window_obj_wrapper.cc',
356 'accessibility/ax_window_obj_wrapper.h',
357 'bubble/bubble_window_targeter.cc',
358 'bubble/bubble_window_targeter.h',
359 'bubble/tray_bubble_view.cc',
360 'bubble/tray_bubble_view.h',
361 'corewm/cursor_height_provider_win.cc',
362 'corewm/cursor_height_provider_win.h',
364 'corewm/tooltip_aura.cc',
365 'corewm/tooltip_aura.h',
366 'corewm/tooltip_controller.cc',
367 'corewm/tooltip_controller.h',
368 'corewm/tooltip_win.cc',
369 'corewm/tooltip_win.h',
370 'mouse_watcher_view_host.cc',
371 'mouse_watcher_view_host.h',
372 'touchui/touch_editing_menu.cc',
373 'touchui/touch_editing_menu.h',
374 'touchui/touch_selection_controller_impl.cc',
375 'touchui/touch_selection_controller_impl.h',
376 'widget/window_reorderer.cc',
377 'widget/window_reorderer.h',
379 'views_desktop_aura_sources': [
380 'widget/desktop_aura/desktop_capture_client.cc',
381 'widget/desktop_aura/desktop_capture_client.h',
382 'widget/desktop_aura/desktop_cursor_loader_updater.h',
383 'widget/desktop_aura/desktop_dispatcher_client.cc',
384 'widget/desktop_aura/desktop_dispatcher_client.h',
385 'widget/desktop_aura/desktop_drop_target_win.cc',
386 'widget/desktop_aura/desktop_drop_target_win.h',
387 'widget/desktop_aura/desktop_event_client.cc',
388 'widget/desktop_aura/desktop_event_client.h',
389 'widget/desktop_aura/desktop_focus_rules.cc',
390 'widget/desktop_aura/desktop_focus_rules.h',
391 'widget/desktop_aura/desktop_native_cursor_manager.cc',
392 'widget/desktop_aura/desktop_native_cursor_manager.h',
393 'widget/desktop_aura/desktop_native_widget_aura.cc',
394 'widget/desktop_aura/desktop_native_widget_aura.h',
395 'widget/desktop_aura/desktop_window_tree_host.h',
396 'widget/desktop_aura/desktop_screen.h',
397 'widget/desktop_aura/desktop_screen_position_client.cc',
398 'widget/desktop_aura/desktop_screen_position_client.h',
400 'views_desktop_aura_x11_sources': [
401 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc',
402 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h',
403 'widget/desktop_aura/desktop_drag_drop_client_aurax11.cc',
404 'widget/desktop_aura/desktop_drag_drop_client_aurax11.h',
405 'widget/desktop_aura/desktop_window_tree_host_x11.cc',
406 'widget/desktop_aura/desktop_window_tree_host_x11.h',
407 'widget/desktop_aura/desktop_screen_x11.cc',
408 'widget/desktop_aura/desktop_screen_x11.h',
409 'widget/desktop_aura/x11_desktop_handler.cc',
410 'widget/desktop_aura/x11_desktop_handler.h',
411 'widget/desktop_aura/x11_desktop_window_move_client.cc',
412 'widget/desktop_aura/x11_desktop_window_move_client.h',
413 'widget/desktop_aura/x11_scoped_capture.cc',
414 'widget/desktop_aura/x11_scoped_capture.h',
415 'widget/desktop_aura/x11_topmost_window_finder.cc',
416 'widget/desktop_aura/x11_topmost_window_finder.h',
417 'widget/desktop_aura/x11_whole_screen_move_loop.cc',
418 'widget/desktop_aura/x11_whole_screen_move_loop.h',
419 'widget/desktop_aura/x11_whole_screen_move_loop_delegate.h',
420 'widget/desktop_aura/x11_window_event_filter.cc',
421 'widget/desktop_aura/x11_window_event_filter.h',
423 'views_desktop_aura_win_sources': [
424 'widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc',
425 'widget/desktop_aura/desktop_drag_drop_client_win.cc',
426 'widget/desktop_aura/desktop_drag_drop_client_win.h',
427 'widget/desktop_aura/desktop_screen_win.cc',
428 'widget/desktop_aura/desktop_screen_win.h',
429 'widget/desktop_aura/desktop_window_tree_host_win.cc',
430 'widget/desktop_aura/desktop_window_tree_host_win.h',
432 'views_desktop_aura_ozone_sources': [
433 'widget/desktop_aura/desktop_factory_ozone.cc',
434 'widget/desktop_aura/desktop_factory_ozone.h',
435 'widget/desktop_aura/desktop_screen_ozone.cc',
436 'widget/desktop_aura/desktop_window_tree_host_ozone.cc',
438 'views_test_support_sources': [
439 'controls/textfield/textfield_test_api.cc',
440 'controls/textfield/textfield_test_api.h',
441 'test/capture_tracking_view.cc',
442 'test/capture_tracking_view.h',
443 'test/desktop_test_views_delegate.h',
444 'test/desktop_test_views_delegate_aura.cc',
445 'test/desktop_test_views_delegate_mac.mm',
446 'test/event_generator_delegate_mac.mm',
447 'test/menu_runner_test_api.cc',
448 'test/menu_runner_test_api.h',
449 'test/slider_test_api.cc',
450 'test/slider_test_api.h',
451 'test/test_views.cc',
453 'test/test_views_delegate.h',
454 'test/test_views_delegate_aura.cc',
455 'test/test_views_delegate_mac.mm',
456 'test/test_widget_observer.cc',
457 'test/test_widget_observer.h',
458 'test/ui_controls_factory_desktop_aurax11.cc',
459 'test/ui_controls_factory_desktop_aurax11.h',
460 'test/views_test_base.cc',
461 'test/views_test_base.h',
462 'test/views_test_helper.cc',
463 'test/views_test_helper.h',
464 'test/views_test_helper_aura.cc',
465 'test/views_test_helper_aura.h',
466 'test/views_test_helper_mac.h',
467 'test/views_test_helper_mac.mm',
468 'test/widget_test.cc',
469 'test/widget_test.h',
470 'test/widget_test_aura.cc',
471 'test/widget_test_mac.mm',
472 'test/x11_property_change_waiter.cc',
473 'test/x11_property_change_waiter.h',
475 'views_test_support_aura_sources': [
476 'corewm/tooltip_controller_test_helper.cc',
477 'corewm/tooltip_controller_test_helper.h',
479 'views_unittests_sources': [
480 'accessibility/native_view_accessibility_win_unittest.cc',
481 'accessible_pane_view_unittest.cc',
482 'animation/bounds_animator_unittest.cc',
483 'bubble/bubble_border_unittest.cc',
484 'bubble/bubble_delegate_unittest.cc',
485 'bubble/bubble_frame_view_unittest.cc',
486 'bubble/bubble_window_targeter_unittest.cc',
487 'cocoa/bridged_native_widget_unittest.mm',
488 'controls/button/blue_button_unittest.cc',
489 'controls/button/custom_button_unittest.cc',
490 'controls/button/image_button_unittest.cc',
491 'controls/button/label_button_unittest.cc',
492 'controls/button/menu_button_unittest.cc',
493 'controls/combobox/combobox_unittest.cc',
494 'controls/label_unittest.cc',
495 'controls/menu/menu_model_adapter_unittest.cc',
496 'controls/menu/menu_controller_unittest.cc',
497 'controls/native/native_view_host_aura_unittest.cc',
498 'controls/native/native_view_host_unittest.cc',
499 'controls/prefix_selector_unittest.cc',
500 'controls/progress_bar_unittest.cc',
501 'controls/scrollbar/scrollbar_unittest.cc',
502 'controls/scroll_view_unittest.cc',
503 'controls/single_split_view_unittest.cc',
504 'controls/slider_unittest.cc',
505 'controls/styled_label_unittest.cc',
506 'controls/tabbed_pane/tabbed_pane_unittest.cc',
507 'controls/table/table_utils_unittest.cc',
508 'controls/table/table_view_unittest.cc',
509 'controls/table/test_table_model.cc',
510 'controls/table/test_table_model.h',
511 'controls/textfield/textfield_unittest.cc',
512 'controls/textfield/textfield_model_unittest.cc',
513 'controls/tree/tree_view_unittest.cc',
514 'focus/focus_manager_test.h',
515 'focus/focus_manager_test.cc',
516 'focus/focus_manager_unittest.cc',
517 'focus/focus_traversal_unittest.cc',
518 'ime/input_method_bridge_unittest.cc',
519 'layout/box_layout_unittest.cc',
520 'layout/grid_layout_unittest.cc',
521 'rect_based_targeting_utils_unittest.cc',
522 'run_all_unittests.cc',
523 'view_model_unittest.cc',
524 'view_model_utils_unittest.cc',
525 'view_targeter_unittest.cc',
527 'view_unittest_aura.cc',
528 'widget/native_widget_aura_unittest.cc',
529 'widget/native_widget_unittest.cc',
530 'widget/root_view_unittest.cc',
531 'widget/widget_unittest.cc',
532 'widget/window_reorderer_unittest.cc',
533 'window/custom_frame_view_unittest.cc',
534 'window/dialog_client_view_unittest.cc',
535 'window/dialog_delegate_unittest.cc',
537 'views_unittests_aura_sources': [
538 'corewm/capture_controller_unittest.cc',
539 'corewm/tooltip_aura_unittest.cc',
540 'corewm/tooltip_controller_unittest.cc',
541 'touchui/touch_selection_controller_impl_unittest.cc',
543 'views_unittests_desktop_aura_sources': [
544 'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc',
545 'widget/desktop_aura/desktop_focus_rules_unittest.cc',
546 'widget/desktop_aura/desktop_native_widget_aura_unittest.cc',
547 'widget/desktop_aura/desktop_screen_x11_unittest.cc',
548 'widget/desktop_aura/desktop_screen_position_client_unittest.cc',
549 'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc',
554 # GN version: //ui/views
555 'target_name': 'views',
556 'type': '<(component)',
558 '../../base/base.gyp:base',
559 '../../base/base.gyp:base_i18n',
560 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
561 '../../skia/skia.gyp:skia',
562 '../../third_party/icu/icu.gyp:icui18n',
563 '../../third_party/icu/icu.gyp:icuuc',
564 '../../url/url.gyp:url_lib',
565 '../accessibility/accessibility.gyp:accessibility',
566 '../accessibility/accessibility.gyp:ax_gen',
567 '../base/ui_base.gyp:ui_base',
568 '../compositor/compositor.gyp:compositor',
569 '../events/events.gyp:events',
570 '../events/events.gyp:events_base',
571 '../events/platform/events_platform.gyp:events_platform',
572 '../gfx/gfx.gyp:gfx',
573 '../gfx/gfx.gyp:gfx_geometry',
574 '../native_theme/native_theme.gyp:native_theme',
575 '../resources/ui_resources.gyp:ui_resources',
576 '../strings/ui_strings.gyp:ui_strings',
578 'export_dependent_settings': [
579 '../accessibility/accessibility.gyp:ax_gen',
582 'VIEWS_IMPLEMENTATION',
588 '../../third_party/wtl/include',
593 'bubble/tray_bubble_view.cc',
594 'bubble/tray_bubble_view.h',
597 ['chromeos==0 and use_x11==1', {
599 '../display/display.gyp:display_util',
602 ['OS=="linux" and chromeos==0', {
604 '../shell_dialogs/shell_dialogs.gyp:shell_dialogs',
607 'window/window_button_order_provider.cc',
609 }, { # OS=="linux" and chromeos==0
611 ['exclude', 'linux_ui'],
616 '<@(views_win_sources)',
620 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
623 '../../third_party/wtl/include',
638 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
639 'msvs_disabled_warnings': [ 4267, ],
643 '../ozone/ozone.gyp:ozone',
648 '../../build/linux/system.gyp:x11',
649 '../../build/linux/system.gyp:xrandr',
650 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
655 '<@(views_aura_sources)',
658 '../aura/aura.gyp:aura',
662 ['use_aura and chromeos == 0', {
663 'sources': [ '<@(views_desktop_aura_sources)' ],
666 'sources': [ '<@(views_desktop_aura_x11_sources)' ],
669 'sources': [ '<@(views_desktop_aura_win_sources)' ],
672 'sources': [ '<@(views_desktop_aura_ozone_sources)' ],
677 }, # target_name: views
679 # GN version: //ui/views:test_support
680 'target_name': 'views_test_support',
681 'type': 'static_library',
683 '../../base/base.gyp:base',
684 '../../ipc/ipc.gyp:test_support_ipc',
685 '../../skia/skia.gyp:skia',
686 '../../testing/gtest.gyp:gtest',
687 '../base/ui_base.gyp:ui_base',
688 '../compositor/compositor.gyp:compositor',
689 '../events/events.gyp:events',
690 '../events/platform/events_platform.gyp:events_platform',
691 '../gfx/gfx.gyp:gfx',
692 '../gfx/gfx.gyp:gfx_geometry',
699 '<@(views_test_support_sources)',
704 'test/ui_controls_factory_desktop_aurax11.cc',
705 'test/ui_controls_factory_desktop_aurax11.h',
709 'sources': [ '<@(views_test_support_aura_sources)' ],
711 '../aura/aura.gyp:aura',
712 '../aura/aura.gyp:aura_test_support',
717 }, # target_name: views_test_support
719 # GN version: //ui/views:views_unittests
720 'target_name': 'views_unittests',
721 'type': 'executable',
723 '../../base/base.gyp:base',
724 '../../base/base.gyp:base_i18n',
725 '../../base/base.gyp:test_support_base',
726 '../../skia/skia.gyp:skia',
727 '../../testing/gtest.gyp:gtest',
728 '../../third_party/icu/icu.gyp:icui18n',
729 '../../third_party/icu/icu.gyp:icuuc',
730 '../../url/url.gyp:url_lib',
731 '../accessibility/accessibility.gyp:accessibility',
732 '../base/ui_base.gyp:ui_base',
733 '../base/ui_base.gyp:ui_base_test_support',
734 '../compositor/compositor.gyp:compositor',
735 '../compositor/compositor.gyp:compositor_test_support',
736 '../events/events.gyp:events',
737 '../events/events.gyp:events_base',
738 '../events/events.gyp:events_test_support',
739 '../gfx/gfx.gyp:gfx',
740 '../gfx/gfx.gyp:gfx_geometry',
741 '../resources/ui_resources.gyp:ui_resources',
742 '../resources/ui_resources.gyp:ui_test_pak',
743 '../strings/ui_strings.gyp:ui_strings',
745 'views_test_support',
751 '<@(views_unittests_sources)',
756 'ime/input_method_bridge_unittest.cc',
761 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
771 '../third_party/wtl/include',
775 'AdditionalManifestFiles': [
776 '$(ProjectDir)\\test\\views_unittest.manifest',
781 ['OS=="win" and win_use_allocator_shim==1', {
783 '../../base/allocator/allocator.gyp:allocator',
786 ['OS=="linux" and use_allocator!="none"', {
787 # See http://crbug.com/162998#c4 for why this is needed.
789 '../../base/allocator/allocator.gyp:allocator',
794 '../../build/linux/system.gyp:x11',
795 '../../build/linux/system.gyp:xext',
796 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
801 'corewm/capture_controller_unittest.cc',
805 'sources': [ '<@(views_unittests_aura_sources)' ],
807 '../aura/aura.gyp:aura',
808 '../aura/aura.gyp:aura_test_support',
813 'sources': [ '<@(views_unittests_desktop_aura_sources)' ],
819 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
823 # views_unittests not yet compiling on Mac. http://crbug.com/378134
825 'bubble/bubble_window_targeter_unittest.cc',
826 'controls/button/custom_button_unittest.cc',
827 'controls/native/native_view_host_unittest.cc',
828 'controls/menu/menu_controller_unittest.cc',
829 'ime/input_method_bridge_unittest.cc',
830 'focus/focus_manager_unittest.cc',
831 'widget/window_reorderer_unittest.cc',
835 }, # target_name: views_unittests
841 # GN version: //ui/views:macviews_interactive_ui_tests
842 'target_name': 'macviews_interactive_ui_tests',
843 'type': 'executable',
845 '../../base/base.gyp:base',
846 '../../base/base.gyp:test_support_base',
847 '../../skia/skia.gyp:skia',
848 '../../testing/gtest.gyp:gtest',
849 '../compositor/compositor.gyp:compositor_test_support',
850 '../resources/ui_resources.gyp:ui_resources',
851 '../resources/ui_resources.gyp:ui_test_pak',
852 '../strings/ui_strings.gyp:ui_strings',
854 'views_test_support',
857 'run_all_unittests.cc',
858 'widget/native_widget_mac_interactive_uitest.mm',
863 '../aura/aura.gyp:aura',
868 }, # target_name: macviews_interactive_ui_tests