Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 }, | 7 }, |
| 8 | 8 |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'conditions': [ | 10 'conditions': [ |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 'target_name': 'views', | 22 'target_name': 'views', |
| 23 'type': '<(component)', | 23 'type': '<(component)', |
| 24 'dependencies': [ | 24 'dependencies': [ |
| 25 '../../base/base.gyp:base', | 25 '../../base/base.gyp:base', |
| 26 '../../base/base.gyp:base_i18n', | 26 '../../base/base.gyp:base_i18n', |
| 27 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations', | 27 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations', |
| 28 '../../build/temp_gyp/googleurl.gyp:googleurl', | 28 '../../build/temp_gyp/googleurl.gyp:googleurl', |
| 29 '../../skia/skia.gyp:skia', | 29 '../../skia/skia.gyp:skia', |
| 30 '../../third_party/icu/icu.gyp:icui18n', | 30 '../../third_party/icu/icu.gyp:icui18n', |
| 31 '../../third_party/icu/icu.gyp:icuuc', | 31 '../../third_party/icu/icu.gyp:icuuc', |
| 32 '../aura/aura.gyp:aura', | |
| 32 '../base/strings/ui_strings.gyp:ui_strings', | 33 '../base/strings/ui_strings.gyp:ui_strings', |
| 33 '../compositor/compositor.gyp:compositor', | 34 '../compositor/compositor.gyp:compositor', |
| 34 '../ui.gyp:ui', | 35 '../ui.gyp:ui', |
| 35 '../ui.gyp:ui_resources', | 36 '../ui.gyp:ui_resources', |
| 36 ], | 37 ], |
| 37 'defines': [ | 38 'defines': [ |
| 38 'VIEWS_IMPLEMENTATION', | 39 'VIEWS_IMPLEMENTATION', |
| 39 ], | 40 ], |
| 40 'sources': [ | 41 'sources': [ |
| 41 # All .cc, .h under views, except unittests | 42 # All .cc, .h under views, except unittests |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 231 'controls/textfield/textfield_views_model.h', | 232 'controls/textfield/textfield_views_model.h', |
| 232 'controls/throbber.cc', | 233 'controls/throbber.cc', |
| 233 'controls/throbber.h', | 234 'controls/throbber.h', |
| 234 'controls/tree/tree_view.h', | 235 'controls/tree/tree_view.h', |
| 235 'controls/tree/tree_view_controller.cc', | 236 'controls/tree/tree_view_controller.cc', |
| 236 'controls/tree/tree_view_controller.h', | 237 'controls/tree/tree_view_controller.h', |
| 237 'controls/tree/tree_view_views.cc', | 238 'controls/tree/tree_view_views.cc', |
| 238 'controls/tree/tree_view_views.h', | 239 'controls/tree/tree_view_views.h', |
| 239 'controls/tree/tree_view_win.cc', | 240 'controls/tree/tree_view_win.cc', |
| 240 'controls/tree/tree_view_win.h', | 241 'controls/tree/tree_view_win.h', |
| 242 # TODO(beng): rename to 'corewm/' hence this sort order: | |
| 243 '../aura/shared/compound_event_filter.cc', | |
| 244 '../aura/shared/compound_event_filter.h', | |
| 245 '../aura/shared/input_method_event_filter.cc', | |
| 246 '../aura/shared/input_method_event_filter.h', | |
| 247 '../aura/shared/root_window_capture_client.cc', | |
| 248 '../aura/shared/root_window_capture_client.h', | |
| 241 'debug_utils.cc', | 249 'debug_utils.cc', |
| 242 'debug_utils.h', | 250 'debug_utils.h', |
| 243 'drag_controller.h', | 251 'drag_controller.h', |
| 244 'drag_utils.cc', | 252 'drag_utils.cc', |
| 245 'drag_utils.h', | 253 'drag_utils.h', |
| 246 'focus/accelerator_handler.h', | 254 'focus/accelerator_handler.h', |
| 247 'focus/accelerator_handler_aura.cc', | 255 'focus/accelerator_handler_aura.cc', |
| 248 'focus/accelerator_handler_win.cc', | 256 'focus/accelerator_handler_win.cc', |
| 249 'focus/external_focus_tracker.cc', | 257 'focus/external_focus_tracker.cc', |
| 250 'focus/external_focus_tracker.h', | 258 'focus/external_focus_tracker.h', |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 309 'view_text_utils.cc', | 317 'view_text_utils.cc', |
| 310 'view_text_utils.h', | 318 'view_text_utils.h', |
| 311 'view_win.cc', | 319 'view_win.cc', |
| 312 'views_delegate.h', | 320 'views_delegate.h', |
| 313 'widget/aero_tooltip_manager.cc', | 321 'widget/aero_tooltip_manager.cc', |
| 314 'widget/aero_tooltip_manager.h', | 322 'widget/aero_tooltip_manager.h', |
| 315 'widget/child_window_message_processor.cc', | 323 'widget/child_window_message_processor.cc', |
| 316 'widget/child_window_message_processor.h', | 324 'widget/child_window_message_processor.h', |
| 317 'widget/default_theme_provider.cc', | 325 'widget/default_theme_provider.cc', |
| 318 'widget/default_theme_provider.h', | 326 'widget/default_theme_provider.h', |
| 327 # TODO(beng): rename to 'widget/desktop_aura/' hence this sort order: | |
| 328 '../aura/desktop/desktop_activation_client.cc', | |
| 329 '../aura/desktop/desktop_activation_client.h', | |
| 330 '../aura/desktop/desktop_cursor_client.cc', | |
| 331 '../aura/desktop/desktop_cursor_client.h', | |
| 332 '../aura/desktop/desktop_dispatcher_client.cc', | |
| 333 '../aura/desktop/desktop_dispatcher_client.h', | |
| 334 '../aura/desktop/desktop_screen.h', | |
| 335 '../aura/desktop/desktop_screen_win.cc', | |
| 336 '../aura/desktop/desktop_screen_win.h', | |
| 337 '../aura/desktop/desktop_screen_x11.cc', | |
| 338 '../aura/desktop/desktop_stacking_client.cc', | |
| 339 '../aura/desktop/desktop_stacking_client.h', | |
| 319 'widget/desktop_capture_client.cc', | 340 'widget/desktop_capture_client.cc', |
| 320 'widget/desktop_capture_client.h', | 341 'widget/desktop_capture_client.h', |
| 321 'widget/desktop_layout_manager.cc', | 342 'widget/desktop_layout_manager.cc', |
| 322 'widget/desktop_layout_manager.h', | 343 'widget/desktop_layout_manager.h', |
| 323 'widget/desktop_native_widget_aura.cc', | 344 'widget/desktop_native_widget_aura.cc', |
| 324 'widget/desktop_native_widget_aura.h', | 345 'widget/desktop_native_widget_aura.h', |
| 325 'widget/desktop_root_window_host.h', | 346 'widget/desktop_root_window_host.h', |
| 326 'widget/desktop_root_window_host_linux.cc', | 347 'widget/desktop_root_window_host_linux.cc', |
| 327 'widget/desktop_root_window_host_linux.h', | 348 'widget/desktop_root_window_host_linux.h', |
| 328 'widget/desktop_root_window_host_win.cc', | 349 'widget/desktop_root_window_host_win.cc', |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 420 ['OS=="mac"', { | 441 ['OS=="mac"', { |
| 421 'sources/': [ | 442 'sources/': [ |
| 422 ['exclude', 'mouse_watcher.cc'], | 443 ['exclude', 'mouse_watcher.cc'], |
| 423 ['exclude', 'controls/menu/*'], | 444 ['exclude', 'controls/menu/*'], |
| 424 ['exclude', 'controls/scrollbar/*'], | 445 ['exclude', 'controls/scrollbar/*'], |
| 425 ['exclude', 'focus/accelerator_handler_aura.cc'], | 446 ['exclude', 'focus/accelerator_handler_aura.cc'], |
| 426 ], | 447 ], |
| 427 }], | 448 }], |
| 428 ['OS=="win"', { | 449 ['OS=="win"', { |
| 429 'sources/': [ | 450 'sources/': [ |
| 451 ['include', '../aura/desktop/desktop_screen_win.cc'], | |
| 452 ['include', '../aura/desktop/desktop_screen_win.h'], | |
| 430 ['include', 'ime/input_method_win.cc'], | 453 ['include', 'ime/input_method_win.cc'], |
| 431 ['include', 'ime/input_method_win.h'], | 454 ['include', 'ime/input_method_win.h'], |
| 432 ['include', 'widget/desktop_root_window_host_win.cc'], | 455 ['include', 'widget/desktop_root_window_host_win.cc'], |
| 433 ['include', 'widget/desktop_root_window_host_win.h'], | 456 ['include', 'widget/desktop_root_window_host_win.h'], |
| 434 ], | 457 ], |
| 435 }], | 458 }], |
| 436 ], | 459 ], |
| 437 }], | 460 }], |
| 438 ['use_aura==0', { | 461 ['use_aura==0', { |
| 439 'sources/': [ | 462 'sources/': [ |
| 463 ['exclude', '../aura/shared/*'], | |
| 464 ['exclude', '../aura/desktop/*'], | |
|
scottmg
2012/10/31 18:01:05
sources/ is a regex, so either drop the * or make
| |
| 440 ['exclude', '/desktop_[^/]*\\.cc$'], | 465 ['exclude', '/desktop_[^/]*\\.cc$'], |
| 441 ['exclude', '/x11_[^/]*\\.cc$'], | 466 ['exclude', '/x11_[^/]*\\.cc$'], |
| 442 ['exclude', 'widget/native_widget_aura_window_observer.cc'], | 467 ['exclude', 'widget/native_widget_aura_window_observer.cc'], |
| 443 ['exclude', 'widget/native_widget_aura_window_observer.h'], | 468 ['exclude', 'widget/native_widget_aura_window_observer.h'], |
| 444 ['exclude', 'widget/widget_aura_utils.cc'], | 469 ['exclude', 'widget/widget_aura_utils.cc'], |
| 445 ['exclude', 'widget/widget_aura_utils.h'], | 470 ['exclude', 'widget/widget_aura_utils.h'], |
| 446 ], | 471 ], |
| 447 }], | 472 }], |
| 448 ['chromeos==1', { | 473 ['chromeos==1', { |
| 449 'sources/': [ | 474 'sources/': [ |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 590 'controls/native/native_view_host_unittest.cc', | 615 'controls/native/native_view_host_unittest.cc', |
| 591 'controls/progress_bar_unittest.cc', | 616 'controls/progress_bar_unittest.cc', |
| 592 'controls/scrollbar/scrollbar_unittest.cc', | 617 'controls/scrollbar/scrollbar_unittest.cc', |
| 593 'controls/single_split_view_unittest.cc', | 618 'controls/single_split_view_unittest.cc', |
| 594 'controls/slider_unittest.cc', | 619 'controls/slider_unittest.cc', |
| 595 'controls/tabbed_pane/tabbed_pane_unittest.cc', | 620 'controls/tabbed_pane/tabbed_pane_unittest.cc', |
| 596 'controls/table/table_view_unittest.cc', | 621 'controls/table/table_view_unittest.cc', |
| 597 'controls/textfield/native_textfield_views_unittest.cc', | 622 'controls/textfield/native_textfield_views_unittest.cc', |
| 598 'controls/textfield/textfield_views_model_unittest.cc', | 623 'controls/textfield/textfield_views_model_unittest.cc', |
| 599 'controls/tree/tree_view_views_unittest.cc', | 624 'controls/tree/tree_view_views_unittest.cc', |
| 625 # TODO(beng): rename 'corewm/' hence this sort order | |
| 626 '../aura/shared/compound_event_filter_unittest.cc', | |
| 627 '../aura/shared/input_method_event_filter_unittest.cc', | |
| 600 'focus/focus_manager_test.h', | 628 'focus/focus_manager_test.h', |
| 601 'focus/focus_manager_test.cc', | 629 'focus/focus_manager_test.cc', |
| 602 'focus/focus_manager_unittest.cc', | 630 'focus/focus_manager_unittest.cc', |
| 603 'focus/focus_manager_unittest_win.cc', | 631 'focus/focus_manager_unittest_win.cc', |
| 604 'focus/focus_traversal_unittest.cc', | 632 'focus/focus_traversal_unittest.cc', |
| 605 'layout/box_layout_unittest.cc', | 633 'layout/box_layout_unittest.cc', |
| 606 'layout/grid_layout_unittest.cc', | 634 'layout/grid_layout_unittest.cc', |
| 607 'view_model_unittest.cc', | 635 'view_model_unittest.cc', |
| 608 'view_model_utils_unittest.cc', | 636 'view_model_utils_unittest.cc', |
| 609 'view_unittest.cc', | 637 'view_unittest.cc', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 642 [ 'use_aura==1', { | 670 [ 'use_aura==1', { |
| 643 'dependencies': [ | 671 'dependencies': [ |
| 644 '../aura/aura.gyp:test_support_aura', | 672 '../aura/aura.gyp:test_support_aura', |
| 645 ], | 673 ], |
| 646 'sources/': [ | 674 'sources/': [ |
| 647 ['exclude', 'controls/table/table_view_unittest.cc'], | 675 ['exclude', 'controls/table/table_view_unittest.cc'], |
| 648 ['exclude', 'widget/native_widget_win_unittest.cc'], | 676 ['exclude', 'widget/native_widget_win_unittest.cc'], |
| 649 ], | 677 ], |
| 650 }, { | 678 }, { |
| 651 'sources/': [ | 679 'sources/': [ |
| 680 ['exclude', '../aura/shared/*'], | |
|
scottmg
2012/10/31 18:01:05
same
| |
| 652 ['exclude', '../aura/test/test_desktop_delegate.cc'], | 681 ['exclude', '../aura/test/test_desktop_delegate.cc'], |
| 653 ['exclude', '../aura/test/test_desktop_delegate.h'], | 682 ['exclude', '../aura/test/test_desktop_delegate.h'], |
| 654 ['exclude', 'widget/native_widget_aura_unittest.cc'], | 683 ['exclude', 'widget/native_widget_aura_unittest.cc'], |
| 655 ], | 684 ], |
| 656 }], | 685 }], |
| 657 ], | 686 ], |
| 658 }, # target_name: views_unittests | 687 }, # target_name: views_unittests |
| 659 { | 688 { |
| 660 'target_name': 'views_examples_lib', | 689 'target_name': 'views_examples_lib', |
| 661 'type': '<(component)', | 690 'type': '<(component)', |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 884 'sources/': [ | 913 'sources/': [ |
| 885 # This is needed because the aura rule strips it from the default | 914 # This is needed because the aura rule strips it from the default |
| 886 # sources list. | 915 # sources list. |
| 887 ['include', '^../../content/app/startup_helper_win.cc'], | 916 ['include', '^../../content/app/startup_helper_win.cc'], |
| 888 ], | 917 ], |
| 889 }], | 918 }], |
| 890 ], | 919 ], |
| 891 }, # target_name: views_examples_with_content_exe | 920 }, # target_name: views_examples_with_content_exe |
| 892 ], | 921 ], |
| 893 } | 922 } |
| OLD | NEW |