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

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

Issue 8770010: views: Move views.gyp to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix aura build Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/PRESUBMIT.py ('k') | views/DEPS » ('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) 2011 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 },
8
9 'target_defaults': {
10 'conditions': [
11 ['OS=="win"', {'sources/': [
12 ['include', '_(win)\\.cc$'],
13 ['include', '/win/'],
14 ['include', '/win_[^/]*\\.cc$'],
15 ]}],
16 ['use_aura==1', {
17 'sources/': [ ['exclude', '_win\\.(h|cc)$'],
18 ['exclude', '_gtk\\.(h|cc)$'],
19 ['exclude', '_x\\.(h|cc)$'] ],
20 'dependencies': [ '../aura/aura.gyp:aura', ],
21 }],
22 ],
23 },
24 'targets': [
25 {
26 'target_name': 'views',
27 'type': '<(component)',
28 'dependencies': [
29 '../../base/base.gyp:base',
30 '../../base/base.gyp:base_i18n',
31 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
32 '../../build/temp_gyp/googleurl.gyp:googleurl',
33 '../../net/net.gyp:net',
34 '../../skia/skia.gyp:skia',
35 '../../third_party/icu/icu.gyp:icui18n',
36 '../../third_party/icu/icu.gyp:icuuc',
37 '../base/strings/ui_strings.gyp:ui_strings',
38 '../gfx/compositor/compositor.gyp:compositor',
39 '../ui.gyp:ui',
40 '../ui.gyp:ui_resources',
41 '../ui.gyp:ui_resources_standard',
42 ],
43 'defines': [
44 'VIEWS_IMPLEMENTATION',
45 ],
46 'sources': [
47 # All .cc, .h under views, except unittests
48 'accessibility/native_view_accessibility_win.cc',
49 'accessibility/native_view_accessibility_win.h',
50 'accessible_pane_view.cc',
51 'accessible_pane_view.h',
52 'animation/bounds_animator.cc',
53 'animation/bounds_animator.h',
54 'background.cc',
55 'background.h',
56 'border.cc',
57 'border.h',
58 'bubble/border_contents_view.cc',
59 'bubble/border_contents_view.h',
60 'bubble/bubble_border.cc',
61 'bubble/bubble_border.h',
62 'bubble/bubble_delegate.cc',
63 'bubble/bubble_delegate.h',
64 'bubble/bubble_frame_view.cc',
65 'bubble/bubble_frame_view.h',
66 'context_menu_controller.h',
67 'controls/button/button.cc',
68 'controls/button/button.h',
69 'controls/button/button_dropdown.cc',
70 'controls/button/button_dropdown.h',
71 'controls/button/checkbox.cc',
72 'controls/button/checkbox.h',
73 'controls/button/custom_button.cc',
74 'controls/button/custom_button.h',
75 'controls/button/image_button.cc',
76 'controls/button/image_button.h',
77 'controls/button/menu_button.cc',
78 'controls/button/menu_button.h',
79 'controls/button/radio_button.cc',
80 'controls/button/radio_button.h',
81 'controls/button/text_button.cc',
82 'controls/button/text_button.h',
83 'controls/combobox/combobox.cc',
84 'controls/combobox/combobox.h',
85 'controls/combobox/combobox_listener.h',
86 'controls/combobox/native_combobox_gtk.cc',
87 'controls/combobox/native_combobox_gtk.h',
88 'controls/combobox/native_combobox_views.cc',
89 'controls/combobox/native_combobox_views.h',
90 'controls/combobox/native_combobox_win.cc',
91 'controls/combobox/native_combobox_win.h',
92 'controls/combobox/native_combobox_wrapper.h',
93 'controls/focusable_border.cc',
94 'controls/focusable_border.h',
95 'controls/image_view.cc',
96 'controls/image_view.h',
97 'controls/label.cc',
98 'controls/label.h',
99 'controls/link.cc',
100 'controls/link.h',
101 'controls/link_listener.h',
102 'controls/menu/menu.cc',
103 'controls/menu/menu.h',
104 'controls/menu/menu_2.cc',
105 'controls/menu/menu_2.h',
106 'controls/menu/menu_config.cc',
107 'controls/menu/menu_config.h',
108 'controls/menu/menu_config_aura.cc',
109 'controls/menu/menu_config_linux.cc',
110 'controls/menu/menu_config_win.cc',
111 'controls/menu/menu_controller.cc',
112 'controls/menu/menu_controller.h',
113 'controls/menu/menu_controller_delegate.h',
114 'controls/menu/menu_delegate.cc',
115 'controls/menu/menu_delegate.h',
116 'controls/menu/menu_gtk.cc',
117 'controls/menu/menu_gtk.h',
118 'controls/menu/menu_host.cc',
119 'controls/menu/menu_host.h',
120 'controls/menu/menu_host_root_view.cc',
121 'controls/menu/menu_host_root_view.h',
122 'controls/menu/menu_item_view.cc',
123 'controls/menu/menu_item_view.h',
124 'controls/menu/menu_item_view_aura.cc',
125 'controls/menu/menu_item_view_linux.cc',
126 'controls/menu/menu_item_view_win.cc',
127 'controls/menu/menu_listener.h',
128 'controls/menu/menu_model_adapter.cc',
129 'controls/menu/menu_model_adapter.h',
130 'controls/menu/menu_runner.cc',
131 'controls/menu/menu_runner.h',
132 'controls/menu/menu_scroll_view_container.cc',
133 'controls/menu/menu_scroll_view_container.h',
134 'controls/menu/menu_separator.h',
135 'controls/menu/menu_separator_aura.cc',
136 'controls/menu/menu_separator_linux.cc',
137 'controls/menu/menu_separator_win.cc',
138 'controls/menu/menu_win.cc',
139 'controls/menu/menu_win.h',
140 'controls/menu/menu_wrapper.h',
141 'controls/menu/native_menu_gtk.cc',
142 'controls/menu/native_menu_gtk.h',
143 'controls/menu/native_menu_host.h',
144 'controls/menu/native_menu_host_delegate.h',
145 'controls/menu/native_menu_views.cc',
146 'controls/menu/native_menu_views.h',
147 'controls/menu/native_menu_win.cc',
148 'controls/menu/native_menu_win.h',
149 'controls/menu/nested_dispatcher_gtk.cc',
150 'controls/menu/nested_dispatcher_gtk.h',
151 'controls/menu/menu_image_util.cc',
152 'controls/menu/menu_image_util.h',
153 'controls/menu/submenu_view.cc',
154 'controls/menu/submenu_view.h',
155 'controls/menu/view_menu_delegate.h',
156 'controls/message_box_view.cc',
157 'controls/message_box_view.h',
158 'controls/native_control.cc',
159 'controls/native_control.h',
160 'controls/native_control_gtk.cc',
161 'controls/native_control_gtk.h',
162 'controls/native_control_win.cc',
163 'controls/native_control_win.h',
164 'controls/native/native_view_host.cc',
165 'controls/native/native_view_host.h',
166 'controls/native/native_view_host_aura.cc',
167 'controls/native/native_view_host_aura.h',
168 'controls/native/native_view_host_gtk.cc',
169 'controls/native/native_view_host_gtk.h',
170 'controls/native/native_view_host_win.cc',
171 'controls/native/native_view_host_win.h',
172 'controls/progress_bar.cc',
173 'controls/progress_bar.h',
174 'controls/resize_area.cc',
175 'controls/resize_area.h',
176 'controls/resize_area_delegate.h',
177 'controls/scroll_view.cc',
178 'controls/scroll_view.h',
179 'controls/scrollbar/base_scroll_bar.cc',
180 'controls/scrollbar/base_scroll_bar.h',
181 'controls/scrollbar/base_scroll_bar_button.cc',
182 'controls/scrollbar/base_scroll_bar_button.h',
183 'controls/scrollbar/base_scroll_bar_thumb.cc',
184 'controls/scrollbar/base_scroll_bar_thumb.h',
185 'controls/scrollbar/bitmap_scroll_bar.cc',
186 'controls/scrollbar/bitmap_scroll_bar.h',
187 'controls/scrollbar/native_scroll_bar_gtk.cc',
188 'controls/scrollbar/native_scroll_bar_gtk.h',
189 'controls/scrollbar/native_scroll_bar_views.cc',
190 'controls/scrollbar/native_scroll_bar_views.h',
191 'controls/scrollbar/native_scroll_bar_win.cc',
192 'controls/scrollbar/native_scroll_bar_win.h',
193 'controls/scrollbar/native_scroll_bar_wrapper.h',
194 'controls/scrollbar/native_scroll_bar.cc',
195 'controls/scrollbar/native_scroll_bar.h',
196 'controls/scrollbar/scroll_bar.cc',
197 'controls/scrollbar/scroll_bar.h',
198 'controls/separator.cc',
199 'controls/separator.h',
200 'controls/single_split_view.cc',
201 'controls/single_split_view.h',
202 'controls/single_split_view_listener.h',
203 'controls/tabbed_pane/native_tabbed_pane_gtk.cc',
204 'controls/tabbed_pane/native_tabbed_pane_gtk.h',
205 'controls/tabbed_pane/native_tabbed_pane_views.cc',
206 'controls/tabbed_pane/native_tabbed_pane_views.h',
207 'controls/tabbed_pane/native_tabbed_pane_win.cc',
208 'controls/tabbed_pane/native_tabbed_pane_win.h',
209 'controls/tabbed_pane/native_tabbed_pane_wrapper.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/native_table_wrapper.h',
214 'controls/table/native_table_gtk.cc',
215 'controls/table/native_table_gtk.h',
216 'controls/table/native_table_win.cc',
217 'controls/table/native_table_win.h',
218 'controls/table/group_table_view.cc',
219 'controls/table/group_table_view.h',
220 'controls/table/table_view.cc',
221 'controls/table/table_view.h',
222 'controls/table/table_view2.cc',
223 'controls/table/table_view2.h',
224 'controls/table/table_view_observer.h',
225 'controls/textfield/gtk_views_entry.cc',
226 'controls/textfield/gtk_views_entry.h',
227 'controls/textfield/gtk_views_textview.cc',
228 'controls/textfield/gtk_views_textview.h',
229 'controls/textfield/native_textfield_gtk.cc',
230 'controls/textfield/native_textfield_gtk.h',
231 'controls/textfield/native_textfield_views.cc',
232 'controls/textfield/native_textfield_views.h',
233 'controls/textfield/native_textfield_win.cc',
234 'controls/textfield/native_textfield_win.h',
235 'controls/textfield/native_textfield_wrapper.h',
236 'controls/textfield/textfield.cc',
237 'controls/textfield/textfield.h',
238 'controls/textfield/textfield_controller.h',
239 'controls/textfield/textfield_views_model.cc',
240 'controls/textfield/textfield_views_model.h',
241 'controls/throbber.cc',
242 'controls/throbber.h',
243 'controls/tree/tree_view.cc',
244 'controls/tree/tree_view.h',
245 #'debug_utils.cc',
246 #'debug_utils.h',
247 'drag_controller.h',
248 'drag_utils.cc',
249 'drag_utils.h',
250 'drag_utils_aura.cc',
251 'drag_utils_gtk.cc',
252 'drag_utils_win.cc',
253 'events/event.cc',
254 'events/event.h',
255 'events/event_aura.cc',
256 'events/event_gtk.cc',
257 'events/event_win.cc',
258 'events/event_x.cc',
259 'focus/accelerator_handler.h',
260 'focus/accelerator_handler_aura.cc',
261 'focus/accelerator_handler_gtk.cc',
262 'focus/accelerator_handler_win.cc',
263 'focus/external_focus_tracker.cc',
264 'focus/external_focus_tracker.h',
265 'focus/focus_manager.cc',
266 'focus/focus_manager.h',
267 'focus/focus_manager_factory.cc',
268 'focus/focus_manager_factory.h',
269 'focus/focus_search.cc',
270 'focus/focus_search.h',
271 'focus/view_storage.cc',
272 'focus/view_storage.h',
273 'focus/widget_focus_manager.cc',
274 'focus/widget_focus_manager.h',
275 'ime/input_method_base.cc',
276 'ime/input_method_base.h',
277 'ime/input_method_delegate.h',
278 'ime/input_method_gtk.cc',
279 'ime/input_method_gtk.h',
280 'ime/input_method.h',
281 'ime/input_method_ibus.cc',
282 'ime/input_method_ibus.h',
283 'ime/input_method_win.cc',
284 'ime/input_method_win.h',
285 'ime/mock_input_method.cc',
286 'ime/mock_input_method.h',
287 'ime/text_input_type_tracker.cc',
288 'ime/text_input_type_tracker.h',
289 'layout/box_layout.cc',
290 'layout/box_layout.h',
291 'layout/fill_layout.cc',
292 'layout/fill_layout.h',
293 'layout/grid_layout.cc',
294 'layout/grid_layout.h',
295 'layout/layout_constants.h',
296 'layout/layout_manager.cc',
297 'layout/layout_manager.h',
298 'metrics.cc',
299 'metrics.h',
300 'metrics_aura.cc',
301 'metrics_gtk.cc',
302 'metrics_win.cc',
303 'mouse_watcher.cc',
304 'mouse_watcher.h',
305 'native_theme_delegate.h',
306 'native_theme_painter.cc',
307 'native_theme_painter.h',
308 'paint_lock.cc',
309 'paint_lock.h',
310 'painter.cc',
311 'painter.h',
312 'repeat_controller.cc',
313 'repeat_controller.h',
314 'touchui/gesture_manager.cc',
315 'touchui/gesture_manager.h',
316 'touchui/touch_selection_controller.cc',
317 'touchui/touch_selection_controller.h',
318 'view.cc',
319 'view.h',
320 'view_constants.cc',
321 'view_constants.h',
322 'view_aura.cc',
323 'view_gtk.cc',
324 'view_text_utils.cc',
325 'view_text_utils.h',
326 'view_win.cc',
327 'views_delegate.h',
328 'widget/aero_tooltip_manager.cc',
329 'widget/aero_tooltip_manager.h',
330 'widget/child_window_message_processor.cc',
331 'widget/child_window_message_processor.h',
332 'widget/default_theme_provider.cc',
333 'widget/default_theme_provider.h',
334 'widget/drop_helper.cc',
335 'widget/drop_helper.h',
336 'widget/drop_target_gtk.cc',
337 'widget/drop_target_gtk.h',
338 'widget/drop_target_win.cc',
339 'widget/drop_target_win.h',
340 'widget/gtk_views_fixed.cc',
341 'widget/gtk_views_fixed.h',
342 'widget/gtk_views_window.cc',
343 'widget/gtk_views_window.h',
344 'widget/root_view.cc',
345 'widget/root_view.h',
346 'widget/tooltip_manager_aura.cc',
347 'widget/tooltip_manager_aura.h',
348 'widget/tooltip_manager_gtk.cc',
349 'widget/tooltip_manager_gtk.h',
350 'widget/tooltip_manager_win.cc',
351 'widget/tooltip_manager_win.h',
352 'widget/tooltip_manager.cc',
353 'widget/tooltip_manager.h',
354 'widget/monitor_win.cc',
355 'widget/monitor_win.h',
356 'widget/native_widget.h',
357 'widget/native_widget_aura.cc',
358 'widget/native_widget_aura.h',
359 'widget/native_widget_delegate.h',
360 'widget/native_widget_private.h',
361 'widget/native_widget_gtk.cc',
362 'widget/native_widget_gtk.h',
363 'widget/native_widget_win.cc',
364 'widget/native_widget_win.h',
365 'widget/widget.cc',
366 'widget/widget.h',
367 'widget/widget_delegate.cc',
368 'widget/widget_delegate.h',
369 'widget/window_manager.cc',
370 'widget/window_manager.h',
371 'window/client_view.cc',
372 'window/client_view.h',
373 'window/custom_frame_view.cc',
374 'window/window/custom_frame_view.h',
375 'window/dialog_client_view.cc',
376 'window/window/dialog_client_view.h',
377 'window/dialog_delegate.cc',
378 'window/dialog_delegate.h',
379 'window/native_frame_view.cc',
380 'window/native_frame_view.h',
381 'window/non_client_view.cc',
382 'window/non_client_view.h',
383 'window/window_resources.h',
384 'window/window_shape.cc',
385 'window/window_shape.h',
386 ],
387 'include_dirs': [
388 '../../third_party/wtl/include',
389 ],
390 'conditions': [
391 ['use_aura==1', {
392 'sources/': [
393 ['exclude', '_(gtk|x)\\.cc$'],
394 ['exclude', '/(gtk|x)_[^/]*\\.cc$'],
395 ['exclude', 'controls/menu/menu_2.*'],
396 ],
397 'sources!': [
398 'controls/menu/menu_config_linux.cc',
399 'controls/menu/menu_item_view_linux.cc',
400 'controls/menu/menu_separator_linux.cc',
401 'controls/native_control.cc',
402 'controls/native_control.h',
403 'controls/scrollbar/bitmap_scroll_bar.cc',
404 'controls/scrollbar/bitmap_scroll_bar.h',
405 'controls/table/group_table_view.cc',
406 'controls/table/group_table_view.h',
407 'controls/table/native_table_wrapper.h',
408 'controls/table/table_view.cc',
409 'controls/table/table_view.h',
410 'controls/table/table_view2.cc',
411 'controls/table/table_view2.h',
412 'controls/table/table_view_observer.h',
413 'controls/tree/tree_view.cc',
414 'controls/tree/tree_view.h',
415 'drag_utils_win.cc',
416 'widget/aero_tooltip_manager.cc',
417 'widget/aero_tooltip_manager.h',
418 'widget/child_window_message_processor.cc',
419 'widget/child_window_message_processor.h',
420 ],
421 }],
422 ['toolkit_uses_gtk == 1', {
423 'dependencies': [
424 '../../build/linux/system.gyp:gtk',
425 '../../build/linux/system.gyp:x11',
426 '../../build/linux/system.gyp:xext',
427 ],
428 'sources!': [
429 'accessibility/native_view_accessibility_win.cc',
430 'controls/native_control.cc',
431 'controls/scrollbar/bitmap_scroll_bar.cc',
432 'controls/table/group_table_view.cc',
433 'controls/table/table_view.cc',
434 'controls/tree/tree_view.cc',
435 'events/event_win.cc',
436 'widget/aero_tooltip_manager.cc',
437 'widget/child_window_message_processor.cc',
438 'widget/child_window_message_processor.h',
439 'widget/native_widget_win.cc',
440 ],
441 }],
442 ['use_aura==0', {
443 'sources!': [
444 'controls/menu/native_menu_views.cc',
445 'controls/menu/native_menu_views.h',
446 'controls/tabbed_pane/native_tabbed_pane_views.cc',
447 'controls/tabbed_pane/native_tabbed_pane_views.h',
448 'widget/tooltip_manager_views.cc',
449 ],
450 }],
451 ['use_ibus==1', {
452 'dependencies': [
453 '../../build/linux/system.gyp:ibus',
454 ],
455 'sources/': [
456 ['exclude', 'ime/mock_input_method.cc'],
457 ['exclude', 'ime/mock_input_method.h'],
458 ],
459 }, { # else: use_ibus != 1
460 'sources/': [
461 ['exclude', 'ime/input_method_ibus.cc'],
462 ['exclude', 'ime/input_method_ibus.h'],
463 ],
464 }],
465 ['OS=="win"', {
466 'dependencies': [
467 # For accessibility
468 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
469 ],
470 'include_dirs': [
471 '../../third_party/wtl/include',
472 ],
473 }],
474 ['use_x11==0', {
475 'sources!': [
476 'events/event_x.cc',
477 ],
478 }],
479 ],
480 }, # target_name: views
481 {
482 'target_name': 'views_unittests',
483 'type': 'executable',
484 'dependencies': [
485 '../../base/base.gyp:base',
486 '../../base/base.gyp:test_support_base',
487 # TODO(jcivelli): ideally the resource needed by views would be
488 # factored out. (for some reason it pulls in a bunch
489 # unrelated things like v8, sqlite nss...).
490 '../../chrome/chrome_resources.gyp:packed_resources',
491 '../../build/temp_gyp/googleurl.gyp:googleurl',
492 '../../skia/skia.gyp:skia',
493 '../../testing/gmock.gyp:gmock',
494 '../../testing/gtest.gyp:gtest',
495 '../../third_party/icu/icu.gyp:icui18n',
496 '../../third_party/icu/icu.gyp:icuuc',
497 '../base/strings/ui_strings.gyp:ui_strings',
498 '../gfx/compositor/compositor.gyp:compositor_test_support',
499 '../gfx/compositor/compositor.gyp:test_compositor',
500 '../ui.gyp:gfx_resources',
501 '../ui.gyp:ui',
502 '../ui.gyp:ui_resources',
503 '../ui.gyp:ui_resources_standard',
504 'views',
505 ],
506 'include_dirs': [
507 '..',
508 ],
509 'sources': [
510 'accessible_pane_view_unittest.cc',
511 'animation/bounds_animator_unittest.cc',
512 'bubble/border_contents_unittest.cc',
513 'bubble/bubble_delegate_unittest.cc',
514 'bubble/bubble_frame_view_unittest.cc',
515 'controls/combobox/native_combobox_views_unittest.cc',
516 'controls/label_unittest.cc',
517 'controls/menu/menu_model_adapter_unittest.cc',
518 'controls/progress_bar_unittest.cc',
519 'controls/scrollbar/scrollbar_unittest.cc',
520 'controls/single_split_view_unittest.cc',
521 'controls/tabbed_pane/tabbed_pane_unittest.cc',
522 'controls/table/table_view_unittest.cc',
523 'controls/textfield/native_textfield_views_unittest.cc',
524 'controls/textfield/textfield_views_model_unittest.cc',
525 'events/event_unittest.cc',
526 'focus/accelerator_handler_gtk_unittest.cc',
527 'focus/focus_manager_test.h',
528 'focus/focus_manager_test.cc',
529 'focus/focus_manager_unittest.cc',
530 'focus/focus_manager_unittest_win.cc',
531 'focus/focus_traversal_unittest.cc',
532 'layout/box_layout_unittest.cc',
533 'layout/grid_layout_unittest.cc',
534 'test/test_tooltip_client.cc',
535 'test/test_tooltip_client.h',
536 'test/test_views_delegate.cc',
537 'test/test_views_delegate.h',
538 'test/views_test_base.cc',
539 'test/views_test_base.h',
540 'view_unittest.cc',
541 'widget/native_widget_test_utils.h',
542 'widget/native_widget_test_utils_aura.cc',
543 'widget/native_widget_test_utils_gtk.cc',
544 'widget/native_widget_test_utils_win.cc',
545 'widget/native_widget_unittest.cc',
546 'widget/native_widget_win_unittest.cc',
547 'widget/widget_unittest.cc',
548 'run_all_unittests.cc',
549
550 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
551 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
552 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa rd.rc',
553 ],
554 'conditions': [
555 ['toolkit_uses_gtk == 1', {
556 'dependencies': [
557 '../../build/linux/system.gyp:gtk',
558 ],
559 'conditions': [
560 ['linux_use_tcmalloc==1', {
561 'dependencies': [
562 '../../base/allocator/allocator.gyp:allocator',
563 ],
564 }],
565 ],
566 }],
567 ['OS=="win"', {
568 'link_settings': {
569 'libraries': [
570 '-limm32.lib',
571 '-loleacc.lib',
572 ]
573 },
574 'include_dirs': [
575 '../third_party/wtl/include',
576 ],
577 }],
578 [ 'use_aura==1', {
579 'dependencies': [
580 '../aura/aura.gyp:test_support_aura',
581 ],
582 'sources/': [
583 ['exclude', 'controls/combobox/native_combobox_views_unittest.cc'],
584 ['exclude', 'controls/tabbed_pane/tabbed_pane_unittest.cc'],
585 ['exclude', 'controls/table/table_view_unittest.cc'],
586 ['exclude', 'widget/native_widget_win_unittest.cc'],
587 ],
588 }, {
589 'sources/': [
590 ['exclude', '../aura/test/test_desktop_delegate.cc'],
591 ['exclude', '../aura/test/test_desktop_delegate.h'],
592 ['exclude', 'test/test_tooltip_client.cc'],
593 ],
594 }],
595 ],
596 }, # target_name: views_unittests
597 {
598 'target_name': 'views_examples_lib',
599 'type': 'static_library',
600 'dependencies': [
601 '../../base/base.gyp:base',
602 '../../base/base.gyp:base_i18n',
603 '../../chrome/chrome_resources.gyp:packed_resources',
604 '../../skia/skia.gyp:skia',
605 '../../third_party/icu/icu.gyp:icui18n',
606 '../../third_party/icu/icu.gyp:icuuc',
607 '../ui.gyp:ui',
608 '../ui.gyp:gfx_resources',
609 '../ui.gyp:ui_resources',
610 '../ui.gyp:ui_resources_standard',
611 'views',
612 ],
613 'include_dirs': [
614 '..',
615 ],
616 'defines': [
617 'VIEWS_EXAMPLES_IMPLEMENTATION',
618 ],
619 'sources': [
620 'examples/bubble_example.cc',
621 'examples/bubble_example.h',
622 'examples/button_example.cc',
623 'examples/button_example.h',
624 'examples/combobox_example.cc',
625 'examples/combobox_example.h',
626 'examples/double_split_view_example.cc',
627 'examples/double_split_view_example.h',
628 'examples/example_base.cc',
629 'examples/example_base.h',
630 'examples/example_combobox_model.cc',
631 'examples/example_combobox_model.h',
632 'examples/examples_window.cc',
633 'examples/examples_window.h',
634 'examples/link_example.cc',
635 'examples/link_example.h',
636 'examples/message_box_example.cc',
637 'examples/message_box_example.h',
638 'examples/menu_example.cc',
639 'examples/menu_example.h',
640 'examples/native_theme_button_example.cc',
641 'examples/native_theme_button_example.h',
642 'examples/native_theme_checkbox_example.cc',
643 'examples/native_theme_checkbox_example.h',
644 'examples/progress_bar_example.cc',
645 'examples/progress_bar_example.h',
646 'examples/radio_button_example.cc',
647 'examples/radio_button_example.h',
648 'examples/scroll_view_example.cc',
649 'examples/scroll_view_example.h',
650 'examples/single_split_view_example.cc',
651 'examples/single_split_view_example.h',
652 'examples/tabbed_pane_example.cc',
653 'examples/tabbed_pane_example.h',
654 'examples/table_example.cc',
655 'examples/table_example.h',
656 'examples/table2_example.cc',
657 'examples/table2_example.h',
658 'examples/text_example.cc',
659 'examples/text_example.h',
660 'examples/textfield_example.cc',
661 'examples/textfield_example.h',
662 'examples/throbber_example.cc',
663 'examples/throbber_example.h',
664 'examples/widget_example.cc',
665 'examples/widget_example.h',
666 ],
667 'conditions': [
668 ['OS=="win"', {
669 'include_dirs': [
670 '../third_party/wtl/include',
671 ],
672 }, { # OS!="win"
673 'sources/': [
674 ['exclude', 'examples/table_example.cc'],
675 ['exclude', 'examples/table_example.h'],
676 ],
677 }],
678 ['use_aura==1', {
679 'sources/': [
680 ['exclude', 'examples/table_example.cc'],
681 ['exclude', 'examples/table_example.h'],
682 ['exclude', 'examples/table2_example.cc'],
683 ['exclude', 'examples/table2_example.h'],
684 ],
685 }],
686 ],
687 }, # target_name: views_examples_lib
688 {
689 'target_name': 'views_examples_exe',
690 'type': 'executable',
691 'dependencies': [
692 '../../base/base.gyp:base',
693 '../../base/base.gyp:base_i18n',
694 '../../chrome/chrome_resources.gyp:packed_resources',
695 '../../skia/skia.gyp:skia',
696 '../../third_party/icu/icu.gyp:icui18n',
697 '../../third_party/icu/icu.gyp:icuuc',
698 '../ui.gyp:ui',
699 '../ui.gyp:gfx_resources',
700 '../ui.gyp:ui_resources',
701 '../ui.gyp:ui_resources_standard',
702 'views_examples_lib',
703 ],
704 'include_dirs': [
705 '../..',
706 ],
707 'sources': [
708 'examples/examples_main.cc',
709 'test/test_views_delegate.cc',
710 'test/test_views_delegate.h',
711 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
712 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
713 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa rd.rc',
714 ],
715 'conditions': [
716 ['toolkit_uses_gtk == 1', {
717 'dependencies': [
718 '../../build/linux/system.gyp:gtk',
719 ],
720 'conditions': [
721 ['linux_use_tcmalloc==1', {
722 'dependencies': [
723 '../../base/allocator/allocator.gyp:allocator',
724 ],
725 }],
726 ],
727 },
728 ],
729 ['OS=="win"', {
730 'link_settings': {
731 'libraries': [
732 '-limm32.lib',
733 '-loleacc.lib',
734 ]
735 },
736 'msvs_settings': {
737 'VCManifestTool': {
738 'AdditionalManifestFiles': 'examples\\views_examples.exe.manifest' ,
739 },
740 },
741 }],
742 ],
743 }, # target_name: views_examples_lib
744 ],
745 }
OLDNEW
« no previous file with comments | « ui/views/PRESUBMIT.py ('k') | views/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698