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