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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 }], | 444 }], |
445 ['OS!="win"', { | 445 ['OS!="win"', { |
446 'sources!': [ | 446 'sources!': [ |
447 'widget/widget_hwnd_utils.cc', | 447 'widget/widget_hwnd_utils.cc', |
448 'widget/widget_hwnd_utils.h', | 448 'widget/widget_hwnd_utils.h', |
449 ], | 449 ], |
450 }], | 450 }], |
451 ], | 451 ], |
452 }, # target_name: views | 452 }, # target_name: views |
453 { | 453 { |
| 454 'target_name': 'test_support_views', |
| 455 'type': 'static_library', |
| 456 'dependencies': [ |
| 457 '../../base/base.gyp:base', |
| 458 '../../content/content.gyp:test_support_content', |
| 459 '../../ipc/ipc.gyp:test_support_ipc', |
| 460 '../../net/net.gyp:net_test_support', |
| 461 '../../skia/skia.gyp:skia', |
| 462 '../../testing/gtest.gyp:gtest', |
| 463 '../ui.gyp:ui', |
| 464 'views', |
| 465 ], |
| 466 'include_dirs': [ |
| 467 '..', |
| 468 ], |
| 469 'sources': [ |
| 470 'test/test_tooltip_client.h', |
| 471 'test/test_views_delegate.cc', |
| 472 'test/test_views_delegate.h', |
| 473 'test/views_test_base.cc', |
| 474 'test/views_test_base.h', |
| 475 'test/webview_test_helper.cc', |
| 476 'test/webview_test_helper.h', |
| 477 ], |
| 478 }, # target_name: test_support_views |
| 479 { |
454 'target_name': 'views_unittests', | 480 'target_name': 'views_unittests', |
455 'type': 'executable', | 481 'type': 'executable', |
456 'dependencies': [ | 482 'dependencies': [ |
457 '../../base/base.gyp:base', | 483 '../../base/base.gyp:base', |
458 '../../base/base.gyp:test_support_base', | 484 '../../base/base.gyp:test_support_base', |
459 # TODO(jcivelli): ideally the resource needed by views would be | 485 # TODO(jcivelli): ideally the resource needed by views would be |
460 # factored out. (for some reason it pulls in a bunch | 486 # factored out. (for some reason it pulls in a bunch |
461 # unrelated things like v8, sqlite nss...). | 487 # unrelated things like v8, sqlite nss...). |
462 '../../chrome/chrome_resources.gyp:packed_resources', | 488 '../../chrome/chrome_resources.gyp:packed_resources', |
463 '../../build/temp_gyp/googleurl.gyp:googleurl', | 489 '../../build/temp_gyp/googleurl.gyp:googleurl', |
464 '../../skia/skia.gyp:skia', | 490 '../../skia/skia.gyp:skia', |
465 '../../testing/gmock.gyp:gmock', | 491 '../../testing/gmock.gyp:gmock', |
466 '../../testing/gtest.gyp:gtest', | 492 '../../testing/gtest.gyp:gtest', |
467 '../../third_party/icu/icu.gyp:icui18n', | 493 '../../third_party/icu/icu.gyp:icui18n', |
468 '../../third_party/icu/icu.gyp:icuuc', | 494 '../../third_party/icu/icu.gyp:icuuc', |
469 '../base/strings/ui_strings.gyp:ui_strings', | 495 '../base/strings/ui_strings.gyp:ui_strings', |
470 '../gfx/compositor/compositor.gyp:compositor', | 496 '../gfx/compositor/compositor.gyp:compositor', |
471 '../gfx/compositor/compositor.gyp:compositor_test_support', | 497 '../gfx/compositor/compositor.gyp:compositor_test_support', |
472 '../ui.gyp:gfx_resources', | 498 '../ui.gyp:gfx_resources', |
473 '../ui.gyp:ui', | 499 '../ui.gyp:ui', |
474 '../ui.gyp:ui_resources', | 500 '../ui.gyp:ui_resources', |
475 '../ui.gyp:ui_resources_standard', | 501 '../ui.gyp:ui_resources_standard', |
| 502 'test_support_views', |
476 'views', | 503 'views', |
477 ], | 504 ], |
478 'include_dirs': [ | 505 'include_dirs': [ |
479 '..', | 506 '..', |
480 ], | 507 ], |
481 'sources': [ | 508 'sources': [ |
482 'accessible_pane_view_unittest.cc', | 509 'accessible_pane_view_unittest.cc', |
483 'animation/bounds_animator_unittest.cc', | 510 'animation/bounds_animator_unittest.cc', |
484 'bubble/bubble_delegate_unittest.cc', | 511 'bubble/bubble_delegate_unittest.cc', |
485 'bubble/bubble_frame_view_unittest.cc', | 512 'bubble/bubble_frame_view_unittest.cc', |
(...skipping 11 matching lines...) Expand all Loading... |
497 'controls/textfield/textfield_views_model_unittest.cc', | 524 'controls/textfield/textfield_views_model_unittest.cc', |
498 'controls/tree/tree_view_views_unittest.cc', | 525 'controls/tree/tree_view_views_unittest.cc', |
499 'events/event_unittest.cc', | 526 'events/event_unittest.cc', |
500 'focus/focus_manager_test.h', | 527 'focus/focus_manager_test.h', |
501 'focus/focus_manager_test.cc', | 528 'focus/focus_manager_test.cc', |
502 'focus/focus_manager_unittest.cc', | 529 'focus/focus_manager_unittest.cc', |
503 'focus/focus_manager_unittest_win.cc', | 530 'focus/focus_manager_unittest_win.cc', |
504 'focus/focus_traversal_unittest.cc', | 531 'focus/focus_traversal_unittest.cc', |
505 'layout/box_layout_unittest.cc', | 532 'layout/box_layout_unittest.cc', |
506 'layout/grid_layout_unittest.cc', | 533 'layout/grid_layout_unittest.cc', |
507 'test/test_tooltip_client.h', | |
508 'test/test_views_delegate.cc', | |
509 'test/test_views_delegate.h', | |
510 'test/views_test_base.cc', | |
511 'test/views_test_base.h', | |
512 'view_model_unittest.cc', | 534 'view_model_unittest.cc', |
513 'view_model_utils_unittest.cc', | 535 'view_model_utils_unittest.cc', |
514 'view_unittest.cc', | 536 'view_unittest.cc', |
515 'widget/native_widget_aura_unittest.cc', | 537 'widget/native_widget_aura_unittest.cc', |
516 'widget/native_widget_test_utils.h', | 538 'widget/native_widget_test_utils.h', |
517 'widget/native_widget_test_utils_aura.cc', | 539 'widget/native_widget_test_utils_aura.cc', |
518 'widget/native_widget_test_utils_win.cc', | 540 'widget/native_widget_test_utils_win.cc', |
519 'widget/native_widget_unittest.cc', | 541 'widget/native_widget_unittest.cc', |
520 'widget/native_widget_win_unittest.cc', | 542 'widget/native_widget_win_unittest.cc', |
521 'widget/widget_unittest.cc', | 543 'widget/widget_unittest.cc', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 }, # target_name: views_examples_lib | 670 }, # target_name: views_examples_lib |
649 { | 671 { |
650 'target_name': 'views_examples_exe', | 672 'target_name': 'views_examples_exe', |
651 'type': 'executable', | 673 'type': 'executable', |
652 'dependencies': [ | 674 'dependencies': [ |
653 '../../base/base.gyp:base', | 675 '../../base/base.gyp:base', |
654 '../../base/base.gyp:base_i18n', | 676 '../../base/base.gyp:base_i18n', |
655 '../../chrome/chrome_resources.gyp:packed_resources', | 677 '../../chrome/chrome_resources.gyp:packed_resources', |
656 '../../content/content.gyp:content_shell_lib', | 678 '../../content/content.gyp:content_shell_lib', |
657 '../../content/content.gyp:content', | 679 '../../content/content.gyp:content', |
| 680 '../../content/content.gyp:test_support_content', |
658 '../../skia/skia.gyp:skia', | 681 '../../skia/skia.gyp:skia', |
659 '../../third_party/icu/icu.gyp:icui18n', | 682 '../../third_party/icu/icu.gyp:icui18n', |
660 '../../third_party/icu/icu.gyp:icuuc', | 683 '../../third_party/icu/icu.gyp:icuuc', |
661 '../ui.gyp:ui', | 684 '../ui.gyp:ui', |
662 '../ui.gyp:gfx_resources', | 685 '../ui.gyp:gfx_resources', |
663 '../ui.gyp:ui_resources', | 686 '../ui.gyp:ui_resources', |
664 '../ui.gyp:ui_resources_standard', | 687 '../ui.gyp:ui_resources_standard', |
665 'views_examples_lib', | 688 'views_examples_lib', |
666 ], | 689 ], |
667 'include_dirs': [ | 690 'include_dirs': [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 'sources/': [ | 735 'sources/': [ |
713 # This is needed because the aura rule strips it from the default | 736 # This is needed because the aura rule strips it from the default |
714 # sources list. | 737 # sources list. |
715 ['include', '^../../content/app/startup_helper_win.cc'], | 738 ['include', '^../../content/app/startup_helper_win.cc'], |
716 ], | 739 ], |
717 }], | 740 }], |
718 ], | 741 ], |
719 }, # target_name: views_examples_lib | 742 }, # target_name: views_examples_lib |
720 ], | 743 ], |
721 } | 744 } |
OLD | NEW |