| 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 'target_defaults': { |
| 9 'conditions': [ |
| 10 ['use_aura==1', { |
| 11 'dependencies': [ |
| 12 '../aura/aura.gyp:aura', |
| 13 '../wm/wm.gyp:wm', |
| 14 ], |
| 15 }], |
| 16 ], |
| 17 }, |
| 8 'targets': [ | 18 'targets': [ |
| 9 { | 19 { |
| 10 'target_name': 'views', | 20 'target_name': 'views', |
| 11 'type': '<(component)', | 21 'type': '<(component)', |
| 12 'dependencies': [ | 22 'dependencies': [ |
| 13 '../../base/base.gyp:base', | 23 '../../base/base.gyp:base', |
| 14 '../../base/base.gyp:base_i18n', | 24 '../../base/base.gyp:base_i18n', |
| 15 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 25 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
| 16 '../../skia/skia.gyp:skia', | 26 '../../skia/skia.gyp:skia', |
| 17 '../../third_party/icu/icu.gyp:icui18n', | 27 '../../third_party/icu/icu.gyp:icui18n', |
| 18 '../../third_party/icu/icu.gyp:icuuc', | 28 '../../third_party/icu/icu.gyp:icuuc', |
| 19 '../../url/url.gyp:url_lib', | 29 '../../url/url.gyp:url_lib', |
| 20 '../accessibility/accessibility.gyp:accessibility', | 30 '../accessibility/accessibility.gyp:accessibility', |
| 21 '../accessibility/accessibility.gyp:ax_gen', | 31 '../accessibility/accessibility.gyp:ax_gen', |
| 22 '../aura/aura.gyp:aura', | |
| 23 '../base/strings/ui_strings.gyp:ui_strings', | 32 '../base/strings/ui_strings.gyp:ui_strings', |
| 24 '../base/ui_base.gyp:ui_base', | 33 '../base/ui_base.gyp:ui_base', |
| 25 '../compositor/compositor.gyp:compositor', | 34 '../compositor/compositor.gyp:compositor', |
| 26 '../events/events.gyp:events', | 35 '../events/events.gyp:events', |
| 27 '../events/events.gyp:events_base', | 36 '../events/events.gyp:events_base', |
| 28 '../gfx/gfx.gyp:gfx', | 37 '../gfx/gfx.gyp:gfx', |
| 29 '../gfx/gfx.gyp:gfx_geometry', | 38 '../gfx/gfx.gyp:gfx_geometry', |
| 30 '../native_theme/native_theme.gyp:native_theme', | 39 '../native_theme/native_theme.gyp:native_theme', |
| 31 '../resources/ui_resources.gyp:ui_resources', | 40 '../resources/ui_resources.gyp:ui_resources', |
| 32 '../wm/wm.gyp:wm', | |
| 33 ], | 41 ], |
| 34 'export_dependent_settings': [ | 42 'export_dependent_settings': [ |
| 35 '../accessibility/accessibility.gyp:ax_gen', | 43 '../accessibility/accessibility.gyp:ax_gen', |
| 36 ], | 44 ], |
| 37 'defines': [ | 45 'defines': [ |
| 38 'VIEWS_IMPLEMENTATION', | 46 'VIEWS_IMPLEMENTATION', |
| 39 ], | 47 ], |
| 40 'sources': [ | 48 'sources': [ |
| 41 # All .cc, .h under views, except unittests | 49 # All .cc, .h under views, except unittests |
| 42 'accessibility/ax_tree_source_views.cc', | 50 'accessibility/ax_tree_source_views.cc', |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 ], | 507 ], |
| 500 }, # target_name: views | 508 }, # target_name: views |
| 501 { | 509 { |
| 502 'target_name': 'views_test_support', | 510 'target_name': 'views_test_support', |
| 503 'type': 'static_library', | 511 'type': 'static_library', |
| 504 'dependencies': [ | 512 'dependencies': [ |
| 505 '../../base/base.gyp:base', | 513 '../../base/base.gyp:base', |
| 506 '../../ipc/ipc.gyp:test_support_ipc', | 514 '../../ipc/ipc.gyp:test_support_ipc', |
| 507 '../../skia/skia.gyp:skia', | 515 '../../skia/skia.gyp:skia', |
| 508 '../../testing/gtest.gyp:gtest', | 516 '../../testing/gtest.gyp:gtest', |
| 509 '../aura/aura.gyp:aura', | |
| 510 '../aura/aura.gyp:aura_test_support', | |
| 511 '../base/ui_base.gyp:ui_base', | 517 '../base/ui_base.gyp:ui_base', |
| 512 '../compositor/compositor.gyp:compositor', | 518 '../compositor/compositor.gyp:compositor', |
| 513 '../events/events.gyp:events', | 519 '../events/events.gyp:events', |
| 514 '../gfx/gfx.gyp:gfx', | 520 '../gfx/gfx.gyp:gfx', |
| 515 '../gfx/gfx.gyp:gfx_geometry', | 521 '../gfx/gfx.gyp:gfx_geometry', |
| 516 '../wm/wm.gyp:wm', | |
| 517 'views', | 522 'views', |
| 518 ], | 523 ], |
| 519 'include_dirs': [ | 524 'include_dirs': [ |
| 520 '..', | 525 '..', |
| 521 ], | 526 ], |
| 522 'sources': [ | 527 'sources': [ |
| 523 'corewm/tooltip_controller_test_helper.cc', | 528 'corewm/tooltip_controller_test_helper.cc', |
| 524 'corewm/tooltip_controller_test_helper.h', | 529 'corewm/tooltip_controller_test_helper.h', |
| 525 'test/capture_tracking_view.cc', | 530 'test/capture_tracking_view.cc', |
| 526 'test/capture_tracking_view.h', | 531 'test/capture_tracking_view.h', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 543 'test/widget_test.cc', | 548 'test/widget_test.cc', |
| 544 'test/widget_test.h', | 549 'test/widget_test.h', |
| 545 ], | 550 ], |
| 546 'conditions': [ | 551 'conditions': [ |
| 547 ['chromeos==1', { | 552 ['chromeos==1', { |
| 548 'sources!': [ | 553 'sources!': [ |
| 549 'test/ui_controls_factory_desktop_aurax11.cc', | 554 'test/ui_controls_factory_desktop_aurax11.cc', |
| 550 'test/ui_controls_factory_desktop_aurax11.h', | 555 'test/ui_controls_factory_desktop_aurax11.h', |
| 551 ], | 556 ], |
| 552 }], | 557 }], |
| 558 ['use_aura==1', { |
| 559 'dependencies': [ |
| 560 '../aura/aura.gyp:aura_test_support', |
| 561 ], |
| 562 }], |
| 553 ], | 563 ], |
| 554 }, # target_name: views_test_support | 564 }, # target_name: views_test_support |
| 555 { | 565 { |
| 556 'target_name': 'views_unittests', | 566 'target_name': 'views_unittests', |
| 557 'type': 'executable', | 567 'type': 'executable', |
| 558 'dependencies': [ | 568 'dependencies': [ |
| 559 '../../base/base.gyp:base', | 569 '../../base/base.gyp:base', |
| 560 '../../base/base.gyp:base_i18n', | 570 '../../base/base.gyp:base_i18n', |
| 561 '../../base/base.gyp:test_support_base', | 571 '../../base/base.gyp:test_support_base', |
| 562 '../../skia/skia.gyp:skia', | 572 '../../skia/skia.gyp:skia', |
| 563 '../../testing/gtest.gyp:gtest', | 573 '../../testing/gtest.gyp:gtest', |
| 564 '../../third_party/icu/icu.gyp:icui18n', | 574 '../../third_party/icu/icu.gyp:icui18n', |
| 565 '../../third_party/icu/icu.gyp:icuuc', | 575 '../../third_party/icu/icu.gyp:icuuc', |
| 566 '../../url/url.gyp:url_lib', | 576 '../../url/url.gyp:url_lib', |
| 567 '../accessibility/accessibility.gyp:accessibility', | 577 '../accessibility/accessibility.gyp:accessibility', |
| 568 '../aura/aura.gyp:aura', | |
| 569 '../aura/aura.gyp:aura_test_support', | |
| 570 '../base/strings/ui_strings.gyp:ui_strings', | 578 '../base/strings/ui_strings.gyp:ui_strings', |
| 571 '../base/ui_base.gyp:ui_base', | 579 '../base/ui_base.gyp:ui_base', |
| 572 '../base/ui_base.gyp:ui_base_test_support', | 580 '../base/ui_base.gyp:ui_base_test_support', |
| 573 '../compositor/compositor.gyp:compositor', | 581 '../compositor/compositor.gyp:compositor', |
| 574 '../compositor/compositor.gyp:compositor_test_support', | 582 '../compositor/compositor.gyp:compositor_test_support', |
| 575 '../events/events.gyp:events', | 583 '../events/events.gyp:events', |
| 576 '../gfx/gfx.gyp:gfx', | 584 '../gfx/gfx.gyp:gfx', |
| 577 '../gfx/gfx.gyp:gfx_geometry', | 585 '../gfx/gfx.gyp:gfx_geometry', |
| 578 '../resources/ui_resources.gyp:ui_resources', | 586 '../resources/ui_resources.gyp:ui_resources', |
| 579 '../resources/ui_resources.gyp:ui_test_pak', | 587 '../resources/ui_resources.gyp:ui_test_pak', |
| 580 '../wm/wm.gyp:wm', | |
| 581 'views', | 588 'views', |
| 582 'views_test_support', | 589 'views_test_support', |
| 583 ], | 590 ], |
| 584 'include_dirs': [ | 591 'include_dirs': [ |
| 585 '..', | 592 '..', |
| 586 ], | 593 ], |
| 587 'sources': [ | 594 'sources': [ |
| 588 'accessibility/ax_tree_source_views_unittest.cc', | 595 'accessibility/ax_tree_source_views_unittest.cc', |
| 589 'accessibility/native_view_accessibility_win_unittest.cc', | 596 'accessibility/native_view_accessibility_win_unittest.cc', |
| 590 'accessible_pane_view_unittest.cc', | 597 'accessible_pane_view_unittest.cc', |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 # See http://crbug.com/162998#c4 for why this is needed. | 692 # See http://crbug.com/162998#c4 for why this is needed. |
| 686 'dependencies': [ | 693 'dependencies': [ |
| 687 '../../base/allocator/allocator.gyp:allocator', | 694 '../../base/allocator/allocator.gyp:allocator', |
| 688 ], | 695 ], |
| 689 }], | 696 }], |
| 690 ['use_ozone==1', { | 697 ['use_ozone==1', { |
| 691 'sources!': [ | 698 'sources!': [ |
| 692 'corewm/capture_controller_unittest.cc', | 699 'corewm/capture_controller_unittest.cc', |
| 693 ], | 700 ], |
| 694 }], | 701 }], |
| 702 ['use_aura==1', { |
| 703 'dependencies': [ |
| 704 '../aura/aura.gyp:aura_test_support', |
| 705 ], |
| 706 }], |
| 695 ], | 707 ], |
| 696 }, # target_name: views_unittests | 708 }, # target_name: views_unittests |
| 697 ], | 709 ], |
| 698 } | 710 } |
| OLD | NEW |