OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 | |
5 { | 4 { |
6 'variables': { | 5 'variables': { |
7 'chromium_code': 1, | 6 'chromium_code': 1, |
8 }, | 7 }, |
9 | 8 |
10 'target_defaults': { | 9 'target_defaults': { |
11 'conditions': [ | 10 'conditions': [ |
12 ['OS=="win"', {'sources/': [ | 11 ['OS=="win"', {'sources/': [ |
13 ['include', '_(win)\\.cc$'], | 12 ['include', '_(win)\\.cc$'], |
14 ['include', '/win/'], | 13 ['include', '/win/'], |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 ], | 542 ], |
544 }], | 543 }], |
545 ], | 544 ], |
546 }, | 545 }, |
547 { | 546 { |
548 'target_name': 'views_unittests', | 547 'target_name': 'views_unittests', |
549 'type': 'executable', | 548 'type': 'executable', |
550 'dependencies': [ | 549 'dependencies': [ |
551 '../base/base.gyp:base', | 550 '../base/base.gyp:base', |
552 '../base/base.gyp:test_support_base', | 551 '../base/base.gyp:test_support_base', |
| 552 # TODO(jcivelli): ideally the resource needed by views would be |
| 553 # factored out. (for some reason it pulls in a bunch |
| 554 # unrelated things like v8, sqlite nss...). |
| 555 '../chrome/chrome_resources.gyp:packed_resources', |
553 '../build/temp_gyp/googleurl.gyp:googleurl', | 556 '../build/temp_gyp/googleurl.gyp:googleurl', |
554 '../skia/skia.gyp:skia', | 557 '../skia/skia.gyp:skia', |
555 '../testing/gmock.gyp:gmock', | 558 '../testing/gmock.gyp:gmock', |
556 '../testing/gtest.gyp:gtest', | 559 '../testing/gtest.gyp:gtest', |
557 '../third_party/icu/icu.gyp:icui18n', | 560 '../third_party/icu/icu.gyp:icui18n', |
558 '../third_party/icu/icu.gyp:icuuc', | 561 '../third_party/icu/icu.gyp:icuuc', |
559 '../ui/base/strings/ui_strings.gyp:ui_strings', | 562 '../ui/base/strings/ui_strings.gyp:ui_strings', |
560 '../ui/gfx/compositor/compositor.gyp:compositor_test_support', | 563 '../ui/gfx/compositor/compositor.gyp:compositor_test_support', |
561 '../ui/gfx/compositor/compositor.gyp:test_compositor', | 564 '../ui/gfx/compositor/compositor.gyp:test_compositor', |
562 '../ui/ui.gyp:gfx_resources', | 565 '../ui/ui.gyp:gfx_resources', |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 ['exclude', 'controls/combobox/native_combobox_views_unittest.cc'], | 660 ['exclude', 'controls/combobox/native_combobox_views_unittest.cc'], |
658 ['exclude', 'controls/table/table_view_unittest.cc'], | 661 ['exclude', 'controls/table/table_view_unittest.cc'], |
659 ['exclude', 'controls/tabbed_pane/tabbed_pane_unittest.cc'], | 662 ['exclude', 'controls/tabbed_pane/tabbed_pane_unittest.cc'], |
660 ], | 663 ], |
661 }, { | 664 }, { |
662 'sources/': [ | 665 'sources/': [ |
663 ['exclude', '../ui/aura/test/test_desktop_delegate.cc'], | 666 ['exclude', '../ui/aura/test/test_desktop_delegate.cc'], |
664 ['exclude', '../ui/aura/test/test_desktop_delegate.h'], | 667 ['exclude', '../ui/aura/test/test_desktop_delegate.h'], |
665 ], | 668 ], |
666 }], | 669 }], |
667 ['OS!="mac"', { | |
668 'dependencies': [ | |
669 # TODO(jcivelli): ideally the resource needed by views would be | |
670 # factored out. (for some reason it pulls in a bunch | |
671 # unrelated things like v8, sqlite nss...). | |
672 '../chrome/chrome.gyp:packed_resources', | |
673 ], | |
674 }], | |
675 ], | 670 ], |
676 }, | 671 }, |
677 { | 672 { |
678 'target_name': 'views_examples', | 673 'target_name': 'views_examples', |
679 'type': 'executable', | 674 'type': 'executable', |
680 'dependencies': [ | 675 'dependencies': [ |
681 '../base/base.gyp:base', | 676 '../base/base.gyp:base', |
682 '../base/base.gyp:base_i18n', | 677 '../base/base.gyp:base_i18n', |
| 678 '../chrome/chrome_resources.gyp:packed_resources', |
683 '../skia/skia.gyp:skia', | 679 '../skia/skia.gyp:skia', |
684 '../third_party/icu/icu.gyp:icui18n', | 680 '../third_party/icu/icu.gyp:icui18n', |
685 '../third_party/icu/icu.gyp:icuuc', | 681 '../third_party/icu/icu.gyp:icuuc', |
686 '../ui/ui.gyp:ui', | 682 '../ui/ui.gyp:ui', |
687 '../ui/ui.gyp:gfx_resources', | 683 '../ui/ui.gyp:gfx_resources', |
688 '../ui/ui.gyp:ui_resources', | 684 '../ui/ui.gyp:ui_resources', |
689 '../ui/ui.gyp:ui_resources_standard', | 685 '../ui/ui.gyp:ui_resources_standard', |
690 'views', | 686 'views', |
691 ], | 687 ], |
692 'include_dirs': [ | 688 'include_dirs': [ |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 'msvs_settings': { | 768 'msvs_settings': { |
773 'VCManifestTool': { | 769 'VCManifestTool': { |
774 'AdditionalManifestFiles': '$(ProjectDir)\\examples\\views_example
s.exe.manifest', | 770 'AdditionalManifestFiles': '$(ProjectDir)\\examples\\views_example
s.exe.manifest', |
775 }, | 771 }, |
776 }, | 772 }, |
777 'sources': [ | 773 'sources': [ |
778 'examples/table_example.cc', | 774 'examples/table_example.cc', |
779 'examples/table_example.h', | 775 'examples/table_example.h', |
780 ], | 776 ], |
781 }], | 777 }], |
782 ['OS!="mac"', { | |
783 'dependencies': [ | |
784 '../chrome/chrome.gyp:packed_resources', | |
785 ], | |
786 }], | |
787 ], | 778 ], |
788 }, | 779 }, |
789 { | 780 { |
790 'target_name': 'views_desktop_lib', | 781 'target_name': 'views_desktop_lib', |
791 'type': 'static_library', | 782 'type': 'static_library', |
792 'dependencies': [ | 783 'dependencies': [ |
793 '../base/base.gyp:base', | 784 '../base/base.gyp:base', |
| 785 '../chrome/chrome_resources.gyp:packed_resources', |
794 '../skia/skia.gyp:skia', | 786 '../skia/skia.gyp:skia', |
795 '../third_party/icu/icu.gyp:icui18n', | 787 '../third_party/icu/icu.gyp:icui18n', |
796 '../third_party/icu/icu.gyp:icuuc', | 788 '../third_party/icu/icu.gyp:icuuc', |
797 '../ui/gfx/compositor/compositor.gyp:compositor', | 789 '../ui/gfx/compositor/compositor.gyp:compositor', |
798 '../ui/ui.gyp:gfx_resources', | 790 '../ui/ui.gyp:gfx_resources', |
799 '../ui/ui.gyp:ui', | 791 '../ui/ui.gyp:ui', |
800 '../ui/ui.gyp:ui_resources', | 792 '../ui/ui.gyp:ui_resources', |
801 'views', | 793 'views', |
802 ], | 794 ], |
803 'include_dirs': [ | 795 'include_dirs': [ |
(...skipping 25 matching lines...) Expand all Loading... |
829 'link_settings': { | 821 'link_settings': { |
830 'libraries': [ | 822 'libraries': [ |
831 '-limm32.lib', | 823 '-limm32.lib', |
832 '-loleacc.lib', | 824 '-loleacc.lib', |
833 ] | 825 ] |
834 }, | 826 }, |
835 'include_dirs': [ | 827 'include_dirs': [ |
836 '../third_party/wtl/include', | 828 '../third_party/wtl/include', |
837 ], | 829 ], |
838 }], | 830 }], |
839 ['OS!="mac"', { | |
840 'dependencies': [ | |
841 '../chrome/chrome.gyp:packed_resources', | |
842 ], | |
843 }], | |
844 ], | 831 ], |
845 }, | 832 }, |
846 { | 833 { |
847 'target_name': 'views_desktop', | 834 'target_name': 'views_desktop', |
848 'type': 'executable', | 835 'type': 'executable', |
849 'dependencies': [ | 836 'dependencies': [ |
850 '../base/base.gyp:base', | 837 '../base/base.gyp:base', |
851 '../base/base.gyp:base_i18n', | 838 '../base/base.gyp:base_i18n', |
| 839 '../chrome/chrome_resources.gyp:packed_resources', |
852 '../skia/skia.gyp:skia', | 840 '../skia/skia.gyp:skia', |
853 '../third_party/icu/icu.gyp:icui18n', | 841 '../third_party/icu/icu.gyp:icui18n', |
854 '../third_party/icu/icu.gyp:icuuc', | 842 '../third_party/icu/icu.gyp:icuuc', |
855 '../ui/ui.gyp:gfx_resources', | 843 '../ui/ui.gyp:gfx_resources', |
856 '../ui/ui.gyp:ui', | 844 '../ui/ui.gyp:ui', |
857 '../ui/ui.gyp:ui_resources', | 845 '../ui/ui.gyp:ui_resources', |
858 '../ui/ui.gyp:ui_resources_standard', | 846 '../ui/ui.gyp:ui_resources_standard', |
859 '../ui/gfx/compositor/compositor.gyp:compositor', | 847 '../ui/gfx/compositor/compositor.gyp:compositor', |
860 'views', | 848 'views', |
861 'views_desktop_lib', | 849 'views_desktop_lib', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 'link_settings': { | 882 'link_settings': { |
895 'libraries': [ | 883 'libraries': [ |
896 '-limm32.lib', | 884 '-limm32.lib', |
897 '-loleacc.lib', | 885 '-loleacc.lib', |
898 ] | 886 ] |
899 }, | 887 }, |
900 'include_dirs': [ | 888 'include_dirs': [ |
901 '../third_party/wtl/include', | 889 '../third_party/wtl/include', |
902 ], | 890 ], |
903 }], | 891 }], |
904 ['OS!="mac"', { | |
905 'dependencies': [ | |
906 '../chrome/chrome.gyp:packed_resources', | |
907 ], | |
908 }], | |
909 ], | 892 ], |
910 }, | 893 }, |
911 ], | 894 ], |
912 'conditions': [ | 895 'conditions': [ |
913 ['use_aura==1', { | 896 ['use_aura==1', { |
914 'targets': [ | 897 'targets': [ |
915 { | 898 { |
916 'target_name': 'views_aura_desktop', | 899 'target_name': 'views_aura_desktop', |
917 'type': 'executable', | 900 'type': 'executable', |
918 'dependencies': [ | 901 'dependencies': [ |
919 '../base/base.gyp:base', | 902 '../base/base.gyp:base', |
920 '../base/base.gyp:base_i18n', | 903 '../base/base.gyp:base_i18n', |
| 904 '../chrome/chrome_resources.gyp:packed_resources', |
921 '../skia/skia.gyp:skia', | 905 '../skia/skia.gyp:skia', |
922 '../third_party/icu/icu.gyp:icui18n', | 906 '../third_party/icu/icu.gyp:icui18n', |
923 '../third_party/icu/icu.gyp:icuuc', | 907 '../third_party/icu/icu.gyp:icuuc', |
924 '../ui/aura/aura.gyp:aura', | 908 '../ui/aura/aura.gyp:aura', |
925 '../ui/ui.gyp:gfx_resources', | 909 '../ui/ui.gyp:gfx_resources', |
926 '../ui/ui.gyp:ui', | 910 '../ui/ui.gyp:ui', |
927 '../ui/ui.gyp:ui_resources', | 911 '../ui/ui.gyp:ui_resources', |
928 '../ui/ui.gyp:ui_resources_standard', | 912 '../ui/ui.gyp:ui_resources_standard', |
929 'views', | 913 'views', |
930 ], | 914 ], |
(...skipping 11 matching lines...) Expand all Loading... |
942 'link_settings': { | 926 'link_settings': { |
943 'libraries': [ | 927 'libraries': [ |
944 '-limm32.lib', | 928 '-limm32.lib', |
945 '-loleacc.lib', | 929 '-loleacc.lib', |
946 ] | 930 ] |
947 }, | 931 }, |
948 'include_dirs': [ | 932 'include_dirs': [ |
949 '../third_party/wtl/include', | 933 '../third_party/wtl/include', |
950 ], | 934 ], |
951 }], | 935 }], |
952 ['OS!="mac"', { | |
953 'dependencies': [ | |
954 '../chrome/chrome.gyp:packed_resources', | |
955 ], | |
956 }], | |
957 ], | 936 ], |
958 }, | 937 }, |
959 ], | 938 ], |
960 }], | 939 }], |
961 ], | 940 ], |
962 } | 941 } |
OLD | NEW |