Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: ui/views/views.gyp

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/view_unittest_aura.cc ('k') | ui/views/views_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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/scroll_animator.cc',
18 'animation/scroll_animator.h',
19 'background.cc',
20 'background.h',
21 'border.cc',
22 'border.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 'color_chooser/color_chooser_listener.h',
32 'color_chooser/color_chooser_view.cc',
33 'color_chooser/color_chooser_view.h',
34 'color_constants.cc',
35 'color_constants.h',
36 'context_menu_controller.h',
37 'controls/button/blue_button.cc',
38 'controls/button/blue_button.h',
39 'controls/button/button.cc',
40 'controls/button/button.h',
41 'controls/button/checkbox.cc',
42 'controls/button/checkbox.h',
43 'controls/button/custom_button.cc',
44 'controls/button/custom_button.h',
45 'controls/button/image_button.cc',
46 'controls/button/image_button.h',
47 'controls/button/label_button.cc',
48 'controls/button/label_button.h',
49 'controls/button/label_button_border.cc',
50 'controls/button/label_button_border.h',
51 'controls/button/menu_button.cc',
52 'controls/button/menu_button.h',
53 'controls/button/menu_button_listener.h',
54 'controls/button/radio_button.cc',
55 'controls/button/radio_button.h',
56 'controls/combobox/combobox.cc',
57 'controls/combobox/combobox.h',
58 'controls/combobox/combobox_listener.h',
59 'controls/focusable_border.cc',
60 'controls/focusable_border.h',
61 'controls/glow_hover_controller.cc',
62 'controls/glow_hover_controller.h',
63 'controls/image_view.cc',
64 'controls/image_view.h',
65 'controls/label.cc',
66 'controls/label.h',
67 'controls/link.cc',
68 'controls/link.h',
69 'controls/link_listener.h',
70 'controls/menu/display_change_listener_aura.cc',
71 'controls/menu/menu.cc',
72 'controls/menu/menu.h',
73 'controls/menu/menu_config.cc',
74 'controls/menu/menu_config.h',
75 'controls/menu/menu_config_aura.cc',
76 'controls/menu/menu_config_win.cc',
77 'controls/menu/menu_controller.cc',
78 'controls/menu/menu_controller.h',
79 'controls/menu/menu_controller_delegate.h',
80 'controls/menu/menu_event_dispatcher_linux.cc',
81 'controls/menu/menu_event_dispatcher_linux.h',
82 'controls/menu/menu_delegate.cc',
83 'controls/menu/menu_delegate.h',
84 'controls/menu/menu_message_pump_dispatcher_win.cc',
85 'controls/menu/menu_message_pump_dispatcher_win.h',
86 'controls/menu/menu_message_loop.h',
87 'controls/menu/menu_message_loop_aura.cc',
88 'controls/menu/menu_message_loop_aura.h',
89 'controls/menu/menu_host.cc',
90 'controls/menu/menu_host.h',
91 'controls/menu/menu_host_root_view.cc',
92 'controls/menu/menu_host_root_view.h',
93 'controls/menu/menu_insertion_delegate_win.h',
94 'controls/menu/menu_item_view.cc',
95 'controls/menu/menu_item_view.h',
96 'controls/menu/menu_listener.cc',
97 'controls/menu/menu_listener.h',
98 'controls/menu/menu_model_adapter.cc',
99 'controls/menu/menu_model_adapter.h',
100 'controls/menu/menu_runner.cc',
101 'controls/menu/menu_runner.h',
102 'controls/menu/menu_runner_handler.h',
103 'controls/menu/menu_runner_impl.cc',
104 'controls/menu/menu_runner_impl.h',
105 'controls/menu/menu_runner_impl_adapter.cc',
106 'controls/menu/menu_runner_impl_adapter.h',
107 'controls/menu/menu_runner_impl_interface.h',
108 'controls/menu/menu_scroll_view_container.cc',
109 'controls/menu/menu_scroll_view_container.h',
110 'controls/menu/menu_separator.h',
111 'controls/menu/menu_separator_views.cc',
112 'controls/menu/menu_separator_win.cc',
113 'controls/menu/menu_types.h',
114 'controls/menu/native_menu_win.cc',
115 'controls/menu/native_menu_win.h',
116 'controls/menu/menu_image_util.cc',
117 'controls/menu/menu_image_util.h',
118 'controls/menu/submenu_view.cc',
119 'controls/menu/submenu_view.h',
120 'controls/message_box_view.cc',
121 'controls/message_box_view.h',
122 'controls/native/native_view_host.cc',
123 'controls/native/native_view_host.h',
124 'controls/native/native_view_host_aura.cc',
125 'controls/native/native_view_host_aura.h',
126 'controls/prefix_delegate.h',
127 'controls/prefix_selector.cc',
128 'controls/prefix_selector.h',
129 'controls/progress_bar.cc',
130 'controls/progress_bar.h',
131 'controls/resize_area.cc',
132 'controls/resize_area.h',
133 'controls/resize_area_delegate.h',
134 'controls/scroll_view.cc',
135 'controls/scroll_view.h',
136 'controls/scrollbar/base_scroll_bar.cc',
137 'controls/scrollbar/base_scroll_bar.h',
138 'controls/scrollbar/base_scroll_bar_button.cc',
139 'controls/scrollbar/base_scroll_bar_button.h',
140 'controls/scrollbar/base_scroll_bar_thumb.cc',
141 'controls/scrollbar/base_scroll_bar_thumb.h',
142 'controls/scrollbar/kennedy_scroll_bar.cc',
143 'controls/scrollbar/kennedy_scroll_bar.h',
144 'controls/scrollbar/native_scroll_bar_views.cc',
145 'controls/scrollbar/native_scroll_bar_views.h',
146 'controls/scrollbar/native_scroll_bar_wrapper.h',
147 'controls/scrollbar/native_scroll_bar.cc',
148 'controls/scrollbar/native_scroll_bar.h',
149 'controls/scrollbar/overlay_scroll_bar.cc',
150 'controls/scrollbar/overlay_scroll_bar.h',
151 'controls/scrollbar/scroll_bar.cc',
152 'controls/scrollbar/scroll_bar.h',
153 'controls/separator.cc',
154 'controls/separator.h',
155 'controls/single_split_view.cc',
156 'controls/single_split_view.h',
157 'controls/single_split_view_listener.h',
158 'controls/slide_out_view.cc',
159 'controls/slide_out_view.h',
160 'controls/slider.cc',
161 'controls/slider.h',
162 'controls/styled_label.cc',
163 'controls/styled_label.h',
164 'controls/styled_label_listener.h',
165 'controls/tabbed_pane/tabbed_pane.cc',
166 'controls/tabbed_pane/tabbed_pane.h',
167 'controls/tabbed_pane/tabbed_pane_listener.h',
168 'controls/table/table_header.cc',
169 'controls/table/table_header.h',
170 'controls/table/table_utils.cc',
171 'controls/table/table_utils.h',
172 'controls/table/table_view.cc',
173 'controls/table/table_view.h',
174 'controls/table/table_view_observer.h',
175 'controls/table/table_view_row_background_painter.h',
176 'controls/textfield/textfield.cc',
177 'controls/textfield/textfield.h',
178 'controls/textfield/textfield_controller.cc',
179 'controls/textfield/textfield_controller.h',
180 'controls/textfield/textfield_model.cc',
181 'controls/textfield/textfield_model.h',
182 'controls/throbber.cc',
183 'controls/throbber.h',
184 'controls/tree/tree_view.cc',
185 'controls/tree/tree_view.h',
186 'controls/tree/tree_view_controller.cc',
187 'controls/tree/tree_view_controller.h',
188 'cull_set.cc',
189 'cull_set.h',
190 'debug_utils.cc',
191 'debug_utils.h',
192 'drag_controller.h',
193 'drag_utils.cc',
194 'drag_utils.h',
195 'drag_utils_aura.cc',
196 'focus/external_focus_tracker.cc',
197 'focus/external_focus_tracker.h',
198 'focus/focus_manager.cc',
199 'focus/focus_manager.h',
200 'focus/focus_manager_delegate.h',
201 'focus/focus_manager_factory.cc',
202 'focus/focus_manager_factory.h',
203 'focus/focus_search.cc',
204 'focus/focus_search.h',
205 'focus/view_storage.cc',
206 'focus/view_storage.h',
207 'focus/widget_focus_manager.cc',
208 'focus/widget_focus_manager.h',
209 'ime/input_method.h',
210 'ime/input_method_base.cc',
211 'ime/input_method_base.h',
212 'ime/input_method_bridge.cc',
213 'ime/input_method_bridge.h',
214 'ime/input_method_delegate.h',
215 'ime/mock_input_method.cc',
216 'ime/mock_input_method.h',
217 'ime/null_input_method.cc',
218 'ime/null_input_method.h',
219 'layout/box_layout.cc',
220 'layout/box_layout.h',
221 'layout/fill_layout.cc',
222 'layout/fill_layout.h',
223 'layout/grid_layout.cc',
224 'layout/grid_layout.h',
225 'layout/layout_constants.h',
226 'layout/layout_manager.cc',
227 'layout/layout_manager.h',
228 'masked_targeter_delegate.cc',
229 'masked_targeter_delegate.h',
230 'metrics.cc',
231 'metrics.h',
232 'metrics_aura.cc',
233 'mouse_constants.h',
234 'mouse_watcher.h',
235 'mouse_watcher_aura.cc',
236 'native_cursor.h',
237 'native_cursor_aura.cc',
238 'native_theme_delegate.h',
239 'painter.cc',
240 'painter.h',
241 'rect_based_targeting_utils.cc',
242 'rect_based_targeting_utils.h',
243 'repeat_controller.cc',
244 'repeat_controller.h',
245 'round_rect_painter.cc',
246 'round_rect_painter.h',
247 'shadow_border.cc',
248 'shadow_border.h',
249 'view.cc',
250 'view.h',
251 'view_constants.cc',
252 'view_constants.h',
253 'view_constants_aura.cc',
254 'view_constants_aura.h',
255 'view_model.cc',
256 'view_model.h',
257 'view_model_utils.cc',
258 'view_model_utils.h',
259 'view_targeter.cc',
260 'view_targeter.h',
261 'view_targeter_delegate.cc',
262 'view_targeter_delegate.h',
263 'views_switches.cc',
264 'views_switches.h',
265 'views_delegate.cc',
266 'views_delegate.h',
267 'views_touch_selection_controller_factory.h',
268 'views_touch_selection_controller_factory_aura.cc',
269 'widget/drop_helper.cc',
270 'widget/drop_helper.h',
271 'widget/root_view.cc',
272 'widget/root_view.h',
273 'widget/root_view_targeter.cc',
274 'widget/root_view_targeter.h',
275 'widget/monitor_win.cc',
276 'widget/monitor_win.h',
277 'widget/native_widget.h',
278 'widget/native_widget_aura.cc',
279 'widget/native_widget_aura.h',
280 'widget/native_widget_delegate.h',
281 'widget/native_widget_private.h',
282 'widget/tooltip_manager_aura.cc',
283 'widget/tooltip_manager_aura.h',
284 'widget/tooltip_manager.cc',
285 'widget/tooltip_manager.h',
286 'widget/widget.cc',
287 'widget/widget.h',
288 'widget/widget_aura_utils.cc',
289 'widget/widget_aura_utils.h',
290 'widget/widget_delegate.cc',
291 'widget/widget_delegate.h',
292 'widget/widget_deletion_observer.cc',
293 'widget/widget_deletion_observer.h',
294 'widget/widget_observer.h',
295 'widget/widget_removals_observer.h',
296 'window/client_view.cc',
297 'window/client_view.h',
298 'window/custom_frame_view.cc',
299 'window/custom_frame_view.h',
300 'window/dialog_client_view.cc',
301 'window/dialog_client_view.h',
302 'window/dialog_delegate.cc',
303 'window/dialog_delegate.h',
304 'window/frame_background.cc',
305 'window/frame_background.h',
306 'window/frame_buttons.h',
307 'window/native_frame_view.cc',
308 'window/native_frame_view.h',
309 'window/non_client_view.cc',
310 'window/non_client_view.h',
311 'window/window_button_order_provider.cc',
312 'window/window_button_order_provider.h',
313 'window/window_resources.h',
314 'window/window_shape.cc',
315 'window/window_shape.h',
316 ],
317 'views_win_sources': [
318 'controls/menu/menu_wrapper.h',
319 'controls/menu/menu_2.cc',
320 'controls/menu/menu_2.h',
321 'win/fullscreen_handler.cc',
322 'win/fullscreen_handler.h',
323 'win/hwnd_message_handler.cc',
324 'win/hwnd_message_handler.h',
325 'win/hwnd_message_handler_delegate.h',
326 'win/hwnd_util.h',
327 'win/hwnd_util_aurawin.cc',
328 'win/scoped_fullscreen_visibility.cc',
329 'win/scoped_fullscreen_visibility.h',
330 'widget/widget_hwnd_utils.cc',
331 'widget/widget_hwnd_utils.h',
332 ],
333 'views_aura_sources': [
334 'accessibility/ax_aura_obj_cache.cc',
335 'accessibility/ax_aura_obj_cache.h',
336 'accessibility/ax_view_obj_wrapper.cc',
337 'accessibility/ax_view_obj_wrapper.h',
338 'accessibility/ax_widget_obj_wrapper.cc',
339 'accessibility/ax_widget_obj_wrapper.h',
340 'accessibility/ax_window_obj_wrapper.cc',
341 'accessibility/ax_window_obj_wrapper.h',
342 'bubble/bubble_window_targeter.cc',
343 'bubble/bubble_window_targeter.h',
344 'bubble/tray_bubble_view.cc',
345 'bubble/tray_bubble_view.h',
346 'corewm/cursor_height_provider_win.cc',
347 'corewm/cursor_height_provider_win.h',
348 'corewm/tooltip.h',
349 'corewm/tooltip_aura.cc',
350 'corewm/tooltip_aura.h',
351 'corewm/tooltip_controller.cc',
352 'corewm/tooltip_controller.h',
353 'corewm/tooltip_win.cc',
354 'corewm/tooltip_win.h',
355 'mouse_watcher_view_host.cc',
356 'mouse_watcher_view_host.h',
357 'touchui/touch_editing_menu.cc',
358 'touchui/touch_editing_menu.h',
359 'touchui/touch_selection_controller_impl.cc',
360 'touchui/touch_selection_controller_impl.h',
361 'widget/window_reorderer.cc',
362 'widget/window_reorderer.h',
363 ],
364 'views_test_support_sources': [
365 'controls/textfield/textfield_test_api.cc',
366 'controls/textfield/textfield_test_api.h',
367 'test/capture_tracking_view.cc',
368 'test/capture_tracking_view.h',
369 'test/desktop_test_views_delegate.h',
370 'test/desktop_test_views_delegate_aura.cc',
371 'test/focus_manager_test.h',
372 'test/focus_manager_test.cc',
373 'test/menu_runner_test_api.cc',
374 'test/menu_runner_test_api.h',
375 'test/slider_test_api.cc',
376 'test/slider_test_api.h',
377 'test/test_views.cc',
378 'test/test_views.h',
379 'test/test_views_delegate.h',
380 'test/test_views_delegate_aura.cc',
381 'test/test_views_delegate_mac.mm',
382 'test/test_widget_observer.cc',
383 'test/test_widget_observer.h',
384 'test/views_test_base.cc',
385 'test/views_test_base.h',
386 'test/views_test_helper.cc',
387 'test/views_test_helper.h',
388 'test/views_test_helper_aura.cc',
389 'test/views_test_helper_aura.h',
390 'test/views_test_helper_mac.h',
391 'test/views_test_helper_mac.mm',
392 'test/widget_test.cc',
393 'test/widget_test.h',
394 'test/widget_test_aura.cc',
395 'test/widget_test_mac.mm',
396 'test/x11_property_change_waiter.cc',
397 'test/x11_property_change_waiter.h',
398 ],
399 'views_test_support_aura_sources': [
400 'corewm/tooltip_controller_test_helper.cc',
401 'corewm/tooltip_controller_test_helper.h',
402 ],
403 'views_unittests_sources': [
404 'accessibility/native_view_accessibility_unittest.cc',
405 'accessibility/native_view_accessibility_win_unittest.cc',
406 'accessible_pane_view_unittest.cc',
407 'animation/bounds_animator_unittest.cc',
408 'bubble/bubble_border_unittest.cc',
409 'bubble/bubble_delegate_unittest.cc',
410 'bubble/bubble_frame_view_unittest.cc',
411 'bubble/bubble_window_targeter_unittest.cc',
412 'controls/button/blue_button_unittest.cc',
413 'controls/button/custom_button_unittest.cc',
414 'controls/button/image_button_unittest.cc',
415 'controls/button/label_button_unittest.cc',
416 'controls/button/menu_button_unittest.cc',
417 'controls/combobox/combobox_unittest.cc',
418 'controls/label_unittest.cc',
419 'controls/menu/menu_controller_unittest.cc',
420 'controls/menu/menu_item_view_unittest.cc',
421 'controls/menu/menu_model_adapter_unittest.cc',
422 'controls/native/native_view_host_aura_unittest.cc',
423 'controls/native/native_view_host_test_base.h',
424 'controls/native/native_view_host_test_base.cc',
425 'controls/native/native_view_host_unittest.cc',
426 'controls/prefix_selector_unittest.cc',
427 'controls/progress_bar_unittest.cc',
428 'controls/scrollbar/scrollbar_unittest.cc',
429 'controls/scroll_view_unittest.cc',
430 'controls/single_split_view_unittest.cc',
431 'controls/slider_unittest.cc',
432 'controls/styled_label_unittest.cc',
433 'controls/tabbed_pane/tabbed_pane_unittest.cc',
434 'controls/table/table_utils_unittest.cc',
435 'controls/table/table_view_unittest.cc',
436 'controls/table/test_table_model.cc',
437 'controls/table/test_table_model.h',
438 'controls/textfield/textfield_unittest.cc',
439 'controls/textfield/textfield_model_unittest.cc',
440 'controls/tree/tree_view_unittest.cc',
441 'focus/focus_manager_unittest.cc',
442 'focus/focus_traversal_unittest.cc',
443 'ime/input_method_bridge_unittest.cc',
444 'layout/box_layout_unittest.cc',
445 'layout/grid_layout_unittest.cc',
446 'rect_based_targeting_utils_unittest.cc',
447 'run_all_unittests.cc',
448 'view_model_unittest.cc',
449 'view_model_utils_unittest.cc',
450 'view_targeter_unittest.cc',
451 'view_unittest.cc',
452 'view_unittest_aura.cc',
453 'widget/native_widget_aura_unittest.cc',
454 'widget/native_widget_unittest.cc',
455 'widget/root_view_unittest.cc',
456 'widget/widget_unittest.cc',
457 'widget/window_reorderer_unittest.cc',
458 'window/custom_frame_view_unittest.cc',
459 'window/dialog_client_view_unittest.cc',
460 'window/dialog_delegate_unittest.cc',
461 ],
462 'views_unittests_aura_sources': [
463 'corewm/capture_controller_unittest.cc',
464 'corewm/tooltip_aura_unittest.cc',
465 'corewm/tooltip_controller_unittest.cc',
466 'touchui/touch_selection_controller_impl_unittest.cc',
467 ],
468 },
469 'targets': [
470 {
471 # GN version: //ui/views
472 'target_name': 'views',
473 'type': '<(component)',
474 'dependencies': [
475 '../../base/base.gyp:base',
476 '../../base/base.gyp:base_i18n',
477 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
478 '../../skia/skia.gyp:skia',
479 '../../third_party/icu/icu.gyp:icui18n',
480 '../../third_party/icu/icu.gyp:icuuc',
481 '../../url/url.gyp:url_lib',
482 '../accessibility/accessibility.gyp:accessibility',
483 '../base/ui_base.gyp:ui_base',
484 '../compositor/compositor.gyp:compositor',
485 '../events/events.gyp:events',
486 '../events/events.gyp:events_base',
487 '../events/platform/events_platform.gyp:events_platform',
488 '../gfx/gfx.gyp:gfx',
489 '../gfx/gfx.gyp:gfx_geometry',
490 '../native_theme/native_theme.gyp:native_theme',
491 '../resources/ui_resources.gyp:ui_resources',
492 '../strings/ui_strings.gyp:ui_strings',
493 ],
494 'defines': [
495 'VIEWS_IMPLEMENTATION',
496 ],
497 'sources': [
498 '<@(views_sources)',
499 ],
500 'conditions': [
501 ['use_ash==0', {
502 'sources!': [
503 'bubble/tray_bubble_view.cc',
504 'bubble/tray_bubble_view.h',
505 ],
506 }],
507 ['chromeos==0 and use_x11==1', {
508 'dependencies': [
509 '../display/display.gyp:display_util',
510 ],
511 }],
512 ['OS=="linux" and chromeos==0', {
513 'dependencies': [
514 '../shell_dialogs/shell_dialogs.gyp:shell_dialogs',
515 ],
516 'sources!': [
517 'window/window_button_order_provider.cc',
518 ],
519 }, { # OS=="linux" and chromeos==0
520 'sources/': [
521 ['exclude', 'linux_ui'],
522 ],
523 }],
524 ['OS=="win"', {
525 'sources': [
526 '<@(views_win_sources)',
527 ],
528 'dependencies': [
529 # For accessibility
530 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
531 ],
532 'include_dirs': [
533 '../../third_party/wtl/include',
534 ],
535 'link_settings': {
536 'libraries': [
537 '-limm32.lib',
538 '-loleacc.lib',
539 ],
540 'msvs_settings': {
541 'VCLinkerTool': {
542 'DelayLoadDLLs': [
543 'user32.dll',
544 ],
545 },
546 },
547 },
548 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
549 'msvs_disabled_warnings': [ 4267, ],
550 }],
551 ['use_ozone==1', {
552 'dependencies': [
553 '../ozone/ozone.gyp:ozone',
554 ],
555 }],
556 ['use_x11==1', {
557 'dependencies': [
558 '../../build/linux/system.gyp:x11',
559 '../../build/linux/system.gyp:xrandr',
560 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform' ,
561 ],
562 }],
563 ['use_aura==1', {
564 'sources': [
565 '<@(views_aura_sources)',
566 ],
567 'dependencies': [
568 '../aura/aura.gyp:aura',
569 '../wm/wm.gyp:wm',
570 ],
571 }],
572 ],
573 }, # target_name: views
574 {
575 # GN version: //ui/views:test_support
576 'target_name': 'views_test_support',
577 'type': 'static_library',
578 'dependencies': [
579 '../../base/base.gyp:base',
580 '../../ipc/ipc.gyp:test_support_ipc',
581 '../../skia/skia.gyp:skia',
582 '../../testing/gtest.gyp:gtest',
583 '../base/ui_base.gyp:ui_base',
584 '../compositor/compositor.gyp:compositor',
585 '../compositor/compositor.gyp:compositor_test_support',
586 '../events/events.gyp:events',
587 '../events/events.gyp:events_test_support',
588 '../events/platform/events_platform.gyp:events_platform',
589 '../gfx/gfx.gyp:gfx',
590 '../gfx/gfx.gyp:gfx_geometry',
591 'views',
592 ],
593 'include_dirs': [
594 '..',
595 ],
596 'sources': [
597 '<@(views_test_support_sources)',
598 ],
599 'conditions': [
600 ['use_aura==1', {
601 'sources': [ '<@(views_test_support_aura_sources)' ],
602 'dependencies': [
603 '../aura/aura.gyp:aura',
604 '../aura/aura.gyp:aura_test_support',
605 '../wm/wm.gyp:wm',
606 ],
607 }],
608 ],
609 }, # target_name: views_test_support
610 {
611 # GN version: //ui/views:views_unittests
612 'target_name': 'views_unittests',
613 'type': 'executable',
614 'dependencies': [
615 '../../base/base.gyp:base',
616 '../../base/base.gyp:base_i18n',
617 '../../base/base.gyp:test_support_base',
618 '../../skia/skia.gyp:skia',
619 '../../testing/gtest.gyp:gtest',
620 '../../third_party/icu/icu.gyp:icui18n',
621 '../../third_party/icu/icu.gyp:icuuc',
622 '../../url/url.gyp:url_lib',
623 '../accessibility/accessibility.gyp:accessibility',
624 '../base/ui_base.gyp:ui_base',
625 '../base/ui_base.gyp:ui_base_test_support',
626 '../compositor/compositor.gyp:compositor',
627 '../events/events.gyp:events',
628 '../events/events.gyp:events_base',
629 '../events/events.gyp:events_test_support',
630 '../gfx/gfx.gyp:gfx',
631 '../gfx/gfx.gyp:gfx_geometry',
632 '../resources/ui_resources.gyp:ui_resources',
633 '../resources/ui_resources.gyp:ui_test_pak',
634 '../strings/ui_strings.gyp:ui_strings',
635 'views',
636 'views_test_support',
637 ],
638 'include_dirs': [
639 '..',
640 ],
641 'sources': [
642 '<@(views_unittests_sources)',
643 ],
644 'conditions': [
645 ['chromeos==1', {
646 'sources!': [
647 'ime/input_method_bridge_unittest.cc',
648 ],
649 }],
650 ['OS=="win"', {
651 'dependencies': [
652 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
653 ],
654 'link_settings': {
655 'libraries': [
656 '-limm32.lib',
657 '-loleacc.lib',
658 '-lcomctl32.lib',
659 ]
660 },
661 'include_dirs': [
662 '../third_party/wtl/include',
663 ],
664 'msvs_settings': {
665 'VCManifestTool': {
666 'AdditionalManifestFiles': [
667 '$(ProjectDir)\\test\\views_unittest.manifest',
668 ],
669 },
670 },
671 }],
672 ['OS=="win" and win_use_allocator_shim==1', {
673 'dependencies': [
674 '../../base/allocator/allocator.gyp:allocator',
675 ],
676 }],
677 ['OS=="linux" and use_allocator!="none"', {
678 # See http://crbug.com/162998#c4 for why this is needed.
679 'dependencies': [
680 '../../base/allocator/allocator.gyp:allocator',
681 ],
682 }],
683 ['use_x11==1', {
684 'dependencies': [
685 '../../build/linux/system.gyp:x11',
686 '../../build/linux/system.gyp:xext',
687 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform' ,
688 ],
689 }],
690 ['use_ozone==1', {
691 'sources!': [
692 'corewm/capture_controller_unittest.cc',
693 ],
694 }],
695 ['use_aura==1', {
696 'sources': [ '<@(views_unittests_aura_sources)' ],
697 'dependencies': [
698 '../aura/aura.gyp:aura',
699 '../aura/aura.gyp:aura_test_support',
700 '../wm/wm.gyp:wm',
701 ],
702 }],
703 ['use_x11==1', {
704 'dependencies': [
705 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform' ,
706 ],
707 }],
708 ],
709 }, # target_name: views_unittests
710 ], # targets
711 'conditions': [
712 ['OS=="mac"', {
713 'targets': [
714 {
715 # GN version: //ui/views:macviews_interactive_ui_tests
716 'target_name': 'macviews_interactive_ui_tests',
717 'type': 'executable',
718 'dependencies': [
719 '../../base/base.gyp:base',
720 '../../base/base.gyp:test_support_base',
721 '../../skia/skia.gyp:skia',
722 '../../testing/gtest.gyp:gtest',
723 '../compositor/compositor.gyp:compositor_test_support',
724 '../resources/ui_resources.gyp:ui_resources',
725 '../resources/ui_resources.gyp:ui_test_pak',
726 '../strings/ui_strings.gyp:ui_strings',
727 'views',
728 'views_test_support',
729 ],
730 'sources': [
731 'run_all_unittests.cc',
732 'widget/native_widget_mac_interactive_uitest.mm',
733 ],
734 'conditions': [
735 ['use_aura == 1', {
736 'dependencies': [
737 '../aura/aura.gyp:aura',
738 '../wm/wm.gyp:wm',
739 ],
740 }],
741 ],
742 }, # target_name: macviews_interactive_ui_tests
743 ], # targets
744 }],
745 ], # conditions
746 }
OLDNEW
« no previous file with comments | « ui/views/view_unittest_aura.cc ('k') | ui/views/views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698