OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 | 8 |
9 # Define the common dependencies that contain all the actual | 9 # Define the common dependencies that contain all the actual |
10 # Chromium functionality. This list gets pulled in below by | 10 # Chromium functionality. This list gets pulled in below by |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 ], | 620 ], |
621 'direct_dependent_settings': { | 621 'direct_dependent_settings': { |
622 'include_dirs': [ | 622 'include_dirs': [ |
623 '..', | 623 '..', |
624 ], | 624 ], |
625 }, | 625 }, |
626 'export_dependent_settings': [ | 626 'export_dependent_settings': [ |
627 '../app/app.gyp:app_base', | 627 '../app/app.gyp:app_base', |
628 ], | 628 ], |
629 'conditions': [ | 629 'conditions': [ |
630 ['OS=="linux"', { | 630 ['OS=="linux" or OS=="freebsd"', { |
631 'dependencies': [ | 631 'dependencies': [ |
632 '../build/linux/system.gyp:gtk', | 632 '../build/linux/system.gyp:gtk', |
633 ], | 633 ], |
634 'export_dependent_settings': [ | 634 'export_dependent_settings': [ |
635 '../third_party/sqlite/sqlite.gyp:sqlite', | 635 '../third_party/sqlite/sqlite.gyp:sqlite', |
636 ], | 636 ], |
637 'link_settings': { | 637 'link_settings': { |
638 'libraries': [ | 638 'libraries': [ |
639 '-lX11', | 639 '-lX11', |
640 '-lXrender', | 640 '-lXrender', |
641 '-lXext', | 641 '-lXext', |
642 ], | 642 ], |
643 }, | 643 }, |
644 }, { # else: 'OS!="linux"' | 644 }, { # else: 'OS!="linux" and OS!="freebsd"' |
645 'sources!': [ | 645 'sources!': [ |
646 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', | 646 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
647 ], | 647 ], |
648 }], | 648 }], |
649 ['OS=="win"', { | 649 ['OS=="win"', { |
650 'include_dirs': [ | 650 'include_dirs': [ |
651 'third_party/wtl/include', | 651 'third_party/wtl/include', |
652 ], | 652 ], |
653 'sources!': [ | 653 'sources!': [ |
654 'common/temp_scaffolding_stubs.cc', | 654 'common/temp_scaffolding_stubs.cc', |
(...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2188 ['javascript_engine=="v8"', { | 2188 ['javascript_engine=="v8"', { |
2189 'defines': [ | 2189 'defines': [ |
2190 'CHROME_V8', | 2190 'CHROME_V8', |
2191 ], | 2191 ], |
2192 }], | 2192 }], |
2193 ['chromeos==0', { | 2193 ['chromeos==0', { |
2194 'sources/': [ | 2194 'sources/': [ |
2195 ['exclude', '^browser/chromeos'], | 2195 ['exclude', '^browser/chromeos'], |
2196 ], | 2196 ], |
2197 }], | 2197 }], |
2198 ['OS=="linux"', { | 2198 ['OS=="linux" or OS=="freebsd"', { |
2199 'dependencies': [ | 2199 'dependencies': [ |
2200 # Temporarily disabled while we figure some stuff out. | 2200 # Temporarily disabled while we figure some stuff out. |
2201 # http://code.google.com/p/chromium/issues/detail?id=12351 | 2201 # http://code.google.com/p/chromium/issues/detail?id=12351 |
2202 # '../build/linux/system.gyp:dbus-glib', | 2202 # '../build/linux/system.gyp:dbus-glib', |
2203 # '../build/linux/system.gyp:gnome-keyring', | 2203 # '../build/linux/system.gyp:gnome-keyring', |
2204 '../build/linux/system.gyp:gtk', | 2204 '../build/linux/system.gyp:gtk', |
2205 '../build/linux/system.gyp:nss', | 2205 '../build/linux/system.gyp:nss', |
2206 '../base/base.gyp:linux_versioninfo', | 2206 '../base/base.gyp:linux_versioninfo', |
2207 # Build placeholder libraries to work around buggy plugins; | 2207 # Build placeholder libraries to work around buggy plugins; |
2208 # see webkit.gyp for details. | 2208 # see webkit.gyp for details. |
2209 '../webkit/webkit.gyp:xul', | 2209 '../webkit/webkit.gyp:xul', |
2210 '../webkit/webkit.gyp:xpcom', | 2210 '../webkit/webkit.gyp:xpcom', |
2211 ], | 2211 ], |
2212 'sources!': [ | 2212 'sources!': [ |
2213 'browser/views/extensions/extension_shelf.cc', | 2213 'browser/views/extensions/extension_shelf.cc', |
2214 'browser/views/extensions/extension_shelf.h', | 2214 'browser/views/extensions/extension_shelf.h', |
2215 'browser/views/extensions/extension_view.cc', | 2215 'browser/views/extensions/extension_view.cc', |
2216 'browser/views/extensions/extension_view.h', | 2216 'browser/views/extensions/extension_view.h', |
2217 # Windows-specific files. | 2217 # Windows-specific files. |
2218 'browser/password_manager/password_store_win.cc', | 2218 'browser/password_manager/password_store_win.cc', |
2219 'browser/password_manager/password_store_win.h', | 2219 'browser/password_manager/password_store_win.h', |
2220 ], | 2220 ], |
2221 'sources': [ | 2221 'sources': [ |
2222 'browser/net/ssl_config_service_manager_pref.cc', | 2222 'browser/net/ssl_config_service_manager_pref.cc', |
2223 ], | 2223 ], |
2224 'conditions': [ | 2224 'conditions': [ |
2225 ['linux_breakpad==1', { | 2225 ['OS=="linux" and linux_breakpad==1', { |
2226 'sources': [ | 2226 'sources': [ |
2227 'browser/renderer_host/render_crash_handler_host_linux.cc', | 2227 'browser/renderer_host/render_crash_handler_host_linux.cc', |
2228 'app/breakpad_linux.cc', | 2228 'app/breakpad_linux.cc', |
2229 'app/breakpad_linux.h', | 2229 'app/breakpad_linux.h', |
2230 ], | 2230 ], |
2231 'dependencies': [ | 2231 'dependencies': [ |
2232 '../breakpad/breakpad.gyp:breakpad_client', | 2232 '../breakpad/breakpad.gyp:breakpad_client', |
2233 ], | 2233 ], |
2234 'include_dirs': [ | 2234 'include_dirs': [ |
2235 # breakpad_linux.cc wants file_version_info_linux.h | 2235 # breakpad_linux.cc wants file_version_info_linux.h |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2879 'renderer/render_view.cc', | 2879 'renderer/render_view.cc', |
2880 'renderer/render_view_linux.cc', | 2880 'renderer/render_view_linux.cc', |
2881 'renderer/render_view.h', | 2881 'renderer/render_view.h', |
2882 'renderer/render_widget.cc', | 2882 'renderer/render_widget.cc', |
2883 'renderer/render_widget.h', | 2883 'renderer/render_widget.h', |
2884 'renderer/renderer_glue.cc', | 2884 'renderer/renderer_glue.cc', |
2885 'renderer/renderer_histogram_snapshots.cc', | 2885 'renderer/renderer_histogram_snapshots.cc', |
2886 'renderer/renderer_histogram_snapshots.h', | 2886 'renderer/renderer_histogram_snapshots.h', |
2887 'renderer/renderer_main.cc', | 2887 'renderer/renderer_main.cc', |
2888 'renderer/renderer_main_platform_delegate.h', | 2888 'renderer/renderer_main_platform_delegate.h', |
| 2889 'renderer/renderer_main_platform_delegate_freebsd.cc', |
2889 'renderer/renderer_main_platform_delegate_linux.cc', | 2890 'renderer/renderer_main_platform_delegate_linux.cc', |
2890 'renderer/renderer_main_platform_delegate_mac.mm', | 2891 'renderer/renderer_main_platform_delegate_mac.mm', |
2891 'renderer/renderer_main_platform_delegate_win.cc', | 2892 'renderer/renderer_main_platform_delegate_win.cc', |
2892 'renderer/renderer_sandbox_support_linux.cc', | 2893 'renderer/renderer_sandbox_support_linux.cc', |
2893 'renderer/renderer_sandbox_support_linux.h', | 2894 'renderer/renderer_sandbox_support_linux.h', |
2894 'renderer/renderer_webkitclient_impl.cc', | 2895 'renderer/renderer_webkitclient_impl.cc', |
2895 'renderer/renderer_webkitclient_impl.h', | 2896 'renderer/renderer_webkitclient_impl.h', |
2896 'renderer/renderer_webstoragearea_impl.cc', | 2897 'renderer/renderer_webstoragearea_impl.cc', |
2897 'renderer/renderer_webstoragearea_impl.h', | 2898 'renderer/renderer_webstoragearea_impl.h', |
2898 'renderer/renderer_webstoragenamespace_impl.cc', | 2899 'renderer/renderer_webstoragenamespace_impl.cc', |
(...skipping 11 matching lines...) Expand all Loading... |
2910 'mac_bundle_resources': [ | 2911 'mac_bundle_resources': [ |
2911 'renderer/renderer.sb', | 2912 'renderer/renderer.sb', |
2912 ], | 2913 ], |
2913 }, | 2914 }, |
2914 'conditions': [ | 2915 'conditions': [ |
2915 # Linux-specific rules. | 2916 # Linux-specific rules. |
2916 ['OS=="linux"', { | 2917 ['OS=="linux"', { |
2917 'dependencies': [ | 2918 'dependencies': [ |
2918 '../build/linux/system.gyp:gtk', | 2919 '../build/linux/system.gyp:gtk', |
2919 ], | 2920 ], |
| 2921 # You can't use 'sources!' here because the 'sources/' rules above |
| 2922 # are applied second and override the choices here. |
| 2923 'sources/': [ |
| 2924 [ 'exclude', '^renderer/renderer_main_platform_delegate_freebsd.cc$'
], |
| 2925 ], |
| 2926 }], |
| 2927 # FreeBSD-specific rules. |
| 2928 ['OS=="freebsd"', { |
| 2929 'dependencies': [ |
| 2930 '../build/linux/system.gyp:gtk', |
| 2931 ], |
| 2932 # You can't use 'sources!' here because the 'sources/' rules above |
| 2933 # are applied second and override the choices here. |
| 2934 'sources/': [ |
| 2935 [ 'exclude', '^renderer/renderer_main_platform_delegate_linux.cc$' ]
, ], |
2920 }], | 2936 }], |
2921 # Windows-specific rules. | 2937 # Windows-specific rules. |
2922 ['OS=="win"', { | 2938 ['OS=="win"', { |
2923 'include_dirs': [ | 2939 'include_dirs': [ |
2924 'third_party/wtl/include', | 2940 'third_party/wtl/include', |
2925 ], | 2941 ], |
2926 },], | 2942 },], |
2927 ], | 2943 ], |
2928 }, | 2944 }, |
2929 { | 2945 { |
2930 'target_name': 'utility', | 2946 'target_name': 'utility', |
2931 'type': '<(library)', | 2947 'type': '<(library)', |
2932 'msvs_guid': '4D2B38E6-65FF-4F97-B88A-E441DF54EBF7', | 2948 'msvs_guid': '4D2B38E6-65FF-4F97-B88A-E441DF54EBF7', |
2933 'dependencies': [ | 2949 'dependencies': [ |
2934 '../base/base.gyp:base', | 2950 '../base/base.gyp:base', |
2935 '../skia/skia.gyp:skia', | 2951 '../skia/skia.gyp:skia', |
2936 ], | 2952 ], |
2937 'sources': [ | 2953 'sources': [ |
2938 'utility/utility_main.cc', | 2954 'utility/utility_main.cc', |
2939 'utility/utility_thread.cc', | 2955 'utility/utility_thread.cc', |
2940 'utility/utility_thread.h', | 2956 'utility/utility_thread.h', |
2941 ], | 2957 ], |
2942 'include_dirs': [ | 2958 'include_dirs': [ |
2943 '..', | 2959 '..', |
2944 ], | 2960 ], |
2945 'conditions': [ | 2961 'conditions': [ |
2946 ['OS=="linux"', { | 2962 ['OS=="linux" or OS=="freebsd"', { |
2947 'dependencies': [ | 2963 'dependencies': [ |
2948 '../build/linux/system.gyp:gtk', | 2964 '../build/linux/system.gyp:gtk', |
2949 ], | 2965 ], |
2950 }], | 2966 }], |
2951 ], | 2967 ], |
2952 }, | 2968 }, |
2953 { | 2969 { |
2954 'target_name': 'worker', | 2970 'target_name': 'worker', |
2955 'type': '<(library)', | 2971 'type': '<(library)', |
2956 'msvs_guid': 'C78D02D0-A366-4EC6-A248-AA8E64C4BA18', | 2972 'msvs_guid': 'C78D02D0-A366-4EC6-A248-AA8E64C4BA18', |
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3628 'test/perf/mem_usage_linux.cc', | 3644 'test/perf/mem_usage_linux.cc', |
3629 'test/perf/mem_usage_mac.cc', | 3645 'test/perf/mem_usage_mac.cc', |
3630 'test/perf/mem_usage_win.cc', | 3646 'test/perf/mem_usage_win.cc', |
3631 'test/perf/mem_usage.h', | 3647 'test/perf/mem_usage.h', |
3632 'test/testing_profile.cc', | 3648 'test/testing_profile.cc', |
3633 'test/testing_profile.h', | 3649 'test/testing_profile.h', |
3634 'test/ui_test_utils.cc', | 3650 'test/ui_test_utils.cc', |
3635 'test/ui_test_utils.h', | 3651 'test/ui_test_utils.h', |
3636 ], | 3652 ], |
3637 'conditions': [ | 3653 'conditions': [ |
3638 ['OS=="linux"', { | 3654 ['OS=="linux" or OS=="freebsd"', { |
3639 'dependencies': [ | 3655 'dependencies': [ |
3640 '../build/linux/system.gyp:gtk', | 3656 '../build/linux/system.gyp:gtk', |
3641 ], | 3657 ], |
3642 }], | 3658 }], |
3643 ['OS=="win"', { | 3659 ['OS=="win"', { |
3644 'include_dirs': [ | 3660 'include_dirs': [ |
3645 'third_party/wtl/include', | 3661 'third_party/wtl/include', |
3646 ], | 3662 ], |
3647 }], | 3663 }], |
3648 ], | 3664 ], |
(...skipping 21 matching lines...) Expand all Loading... |
3670 'test/ui/npapi_test_helper.h', | 3686 'test/ui/npapi_test_helper.h', |
3671 'test/ui/run_all_unittests.cc', | 3687 'test/ui/run_all_unittests.cc', |
3672 'test/ui/ui_layout_test.cc', | 3688 'test/ui/ui_layout_test.cc', |
3673 'test/ui/ui_layout_test.h', | 3689 'test/ui/ui_layout_test.h', |
3674 'test/ui/ui_test.cc', | 3690 'test/ui/ui_test.cc', |
3675 'test/ui/ui_test.h', | 3691 'test/ui/ui_test.h', |
3676 'test/ui/ui_test_suite.cc', | 3692 'test/ui/ui_test_suite.cc', |
3677 'test/ui/ui_test_suite.h', | 3693 'test/ui/ui_test_suite.h', |
3678 ], | 3694 ], |
3679 'conditions': [ | 3695 'conditions': [ |
3680 ['OS=="linux"', { | 3696 ['OS=="linux" or OS=="freebsd"', { |
3681 'dependencies': [ | 3697 'dependencies': [ |
3682 '../build/linux/system.gyp:gtk', | 3698 '../build/linux/system.gyp:gtk', |
3683 ], | 3699 ], |
3684 }], | 3700 }], |
3685 ['OS!="win"', { | 3701 ['OS!="win"', { |
3686 'sources!': [ | 3702 'sources!': [ |
3687 'test/ui/npapi_test_helper.cc', | 3703 'test/ui/npapi_test_helper.cc', |
3688 ], | 3704 ], |
3689 }], | 3705 }], |
3690 ], | 3706 ], |
3691 }, | 3707 }, |
3692 { | 3708 { |
3693 'target_name': 'test_support_unit', | 3709 'target_name': 'test_support_unit', |
3694 'type': '<(library)', | 3710 'type': '<(library)', |
3695 'dependencies': [ | 3711 'dependencies': [ |
3696 'test_support_common', | 3712 'test_support_common', |
3697 'chrome_resources', | 3713 'chrome_resources', |
3698 'chrome_strings', | 3714 'chrome_strings', |
3699 '../skia/skia.gyp:skia', | 3715 '../skia/skia.gyp:skia', |
3700 '../testing/gtest.gyp:gtest', | 3716 '../testing/gtest.gyp:gtest', |
3701 ], | 3717 ], |
3702 'include_dirs': [ | 3718 'include_dirs': [ |
3703 '..', | 3719 '..', |
3704 ], | 3720 ], |
3705 'sources': [ | 3721 'sources': [ |
3706 'test/unit/run_all_unittests.cc', | 3722 'test/unit/run_all_unittests.cc', |
3707 ], | 3723 ], |
3708 'conditions': [ | 3724 'conditions': [ |
3709 ['OS=="linux"', { | 3725 ['OS=="linux" or OS=="freebsd"', { |
3710 'dependencies': [ | 3726 'dependencies': [ |
3711 # Needed for the following #include chain: | 3727 # Needed for the following #include chain: |
3712 # test/unit/run_all_unittests.cc | 3728 # test/unit/run_all_unittests.cc |
3713 # test/unit/chrome_test_suite.h | 3729 # test/unit/chrome_test_suite.h |
3714 # gtk/gtk.h | 3730 # gtk/gtk.h |
3715 '../build/linux/system.gyp:gtk', | 3731 '../build/linux/system.gyp:gtk', |
3716 ], | 3732 ], |
3717 }], | 3733 }], |
3718 ], | 3734 ], |
3719 }, | 3735 }, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3812 'test/ui/history_uitest.cc', | 3828 'test/ui/history_uitest.cc', |
3813 'test/ui/layout_plugin_uitest.cc', | 3829 'test/ui/layout_plugin_uitest.cc', |
3814 'test/ui/npapi_uitest.cc', | 3830 'test/ui/npapi_uitest.cc', |
3815 'test/ui/omnibox_uitest.cc', | 3831 'test/ui/omnibox_uitest.cc', |
3816 'test/ui/sandbox_uitests.cc', | 3832 'test/ui/sandbox_uitests.cc', |
3817 'test/ui/sunspider_uitest.cc', | 3833 'test/ui/sunspider_uitest.cc', |
3818 'test/ui/v8_benchmark_uitest.cc', | 3834 'test/ui/v8_benchmark_uitest.cc', |
3819 'worker/worker_uitest.cc', | 3835 'worker/worker_uitest.cc', |
3820 ], | 3836 ], |
3821 'conditions': [ | 3837 'conditions': [ |
3822 ['OS=="linux"', { | 3838 ['OS=="linux" or OS=="freebsd"', { |
3823 'dependencies': [ | 3839 'dependencies': [ |
3824 '../build/linux/system.gyp:gtk', | 3840 '../build/linux/system.gyp:gtk', |
3825 ], | 3841 ], |
3826 'sources!': [ | 3842 'sources!': [ |
3827 # TODO(port) | 3843 # TODO(port) |
3828 'browser/login_prompt_uitest.cc', | 3844 'browser/login_prompt_uitest.cc', |
3829 'test/ui/layout_plugin_uitest.cc', | 3845 'test/ui/layout_plugin_uitest.cc', |
3830 ], | 3846 ], |
3831 }, { # else: OS != "linux" | 3847 }, { # else: OS != "linux" |
3832 'sources!': [ | 3848 'sources!': [ |
(...skipping 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6085 # Use outputs of this action as inputs for the main target build. | 6101 # Use outputs of this action as inputs for the main target build. |
6086 # Seems as a misnomer but makes this happy on Linux (scons). | 6102 # Seems as a misnomer but makes this happy on Linux (scons). |
6087 'process_outputs_as_sources': 1, | 6103 'process_outputs_as_sources': 1, |
6088 }, | 6104 }, |
6089 ], # 'actions' | 6105 ], # 'actions' |
6090 }, | 6106 }, |
6091 ] | 6107 ] |
6092 }], | 6108 }], |
6093 ], # 'conditions' | 6109 ], # 'conditions' |
6094 } | 6110 } |
OLD | NEW |