Chromium Code Reviews| 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 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
| 9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
| 10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
| (...skipping 3577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3588 'msvs_settings': { | 3588 'msvs_settings': { |
| 3589 'VCLinkerTool': { | 3589 'VCLinkerTool': { |
| 3590 'LinkIncremental': '1', # /INCREMENTAL:NO | 3590 'LinkIncremental': '1', # /INCREMENTAL:NO |
| 3591 }, | 3591 }, |
| 3592 }, | 3592 }, |
| 3593 }, | 3593 }, |
| 3594 }, | 3594 }, |
| 3595 }, | 3595 }, |
| 3596 ], | 3596 ], |
| 3597 }], # OS!="mac" | 3597 }], # OS!="mac" |
| 3598 ['OS!="win"', | |
| 3599 { 'targets': [ | |
| 3600 { | |
| 3601 # Executable that runs each browser test in a new process. | |
| 3602 'target_name': 'browser_tests', | |
| 3603 'type': 'executable', | |
| 3604 'dependencies': [ | |
| 3605 'app', | |
| 3606 'browser', | |
| 3607 'chrome_resources', | |
| 3608 'debugger', | |
| 3609 'test_support_common', | |
| 3610 '../skia/skia.gyp:skia', | |
| 3611 '../testing/gtest.gyp:gtest', | |
| 3612 ], | |
| 3613 'include_dirs': [ | |
| 3614 '..', | |
| 3615 ], | |
| 3616 'sources': [ | |
| 3617 'test/browser/run_all_unittests.cc', | |
| 3618 'test/in_process_browser_test.cc', | |
| 3619 'test/in_process_browser_test.h', | |
| 3620 'test/browser/browser_test_launcher_out_of_proc.cc', | |
| 3621 'test/browser/browser_test_runner.cc', | |
| 3622 'test/browser/browser_test_runner.h', | |
| 3623 'test/unit/chrome_test_suite.h', | |
| 3624 'test/ui_test_utils.cc', | |
| 3625 # Put your tests below. | |
| 3626 # IMPORTANT NOTE: you must also put them in browser_tests_dll | |
|
sgk
2009/06/05 21:59:10
So people don't have to duplicate, let's put these
| |
| 3627 'browser/ssl/ssl_browser_tests.cc', | |
| 3628 'browser/child_process_security_policy_browser_test.cc', | |
| 3629 # TODO(jcampan): make the task manager test compile on Mac. | |
| 3630 # 'browser/task_manager_browsertest.cc', | |
| 3631 'browser/renderer_host/web_cache_manager_browser_test.cc', | |
| 3632 # Below is the list of Windows specific tests. | |
| 3633 # 'browser/views/find_bar_win_browsertest.cc', | |
| 3634 ], | |
| 3635 'conditions': [ | |
| 3636 ['OS=="linux"', { | |
| 3637 'dependencies': [ | |
| 3638 '../build/linux/system.gyp:gtk', | |
| 3639 ], | |
| 3640 }], | |
| 3641 ['OS=="mac"', { | |
| 3642 # The test fetches resources which means Mac need the app bundle t o | |
| 3643 # exist on disk so it can pull from it. | |
| 3644 'dependencies': [ | |
| 3645 'app', | |
| 3646 ], | |
| 3647 'sources': [ | |
| 3648 'app/breakpad_mac_stubs.mm', | |
| 3649 'app/keystone_glue.h', | |
| 3650 'app/keystone_glue.m', | |
| 3651 ], | |
| 3652 # TODO(mark): We really want this for all non-static library targe ts, | |
| 3653 # but when we tried to pull it up to the common.gypi level, it bro ke | |
| 3654 # other things like the ui, startup, and page_cycler tests. *shrug * | |
| 3655 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | |
| 3656 }], | |
| 3657 ], | |
| 3658 }, | |
| 3659 ] | |
| 3660 }], | |
| 3598 ['OS=="win"', | 3661 ['OS=="win"', |
| 3599 { 'targets': [ | 3662 { 'targets': [ |
| 3600 { | 3663 { |
| 3601 # TODO(sgk): remove this when we change the buildbots to | 3664 # TODO(sgk): remove this when we change the buildbots to |
| 3602 # use the generated build\all.sln file to build the world. | 3665 # use the generated build\all.sln file to build the world. |
| 3603 'target_name': 'pull_in_all', | 3666 'target_name': 'pull_in_all', |
| 3604 'type': 'none', | 3667 'type': 'none', |
| 3605 'dependencies': [ | 3668 'dependencies': [ |
| 3606 'installer/installer.gyp:*', | 3669 'installer/installer.gyp:*', |
| 3607 '../app/app.gyp:*', | 3670 '../app/app.gyp:*', |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3850 'test/automation/browser_proxy.cc', | 3913 'test/automation/browser_proxy.cc', |
| 3851 'test/automation/browser_proxy.h', | 3914 'test/automation/browser_proxy.h', |
| 3852 'test/automation/constrained_window_proxy.cc', | 3915 'test/automation/constrained_window_proxy.cc', |
| 3853 'test/automation/constrained_window_proxy.h', | 3916 'test/automation/constrained_window_proxy.h', |
| 3854 'test/automation/tab_proxy.cc', | 3917 'test/automation/tab_proxy.cc', |
| 3855 'test/automation/tab_proxy.h', | 3918 'test/automation/tab_proxy.h', |
| 3856 'test/automation/window_proxy.cc', | 3919 'test/automation/window_proxy.cc', |
| 3857 'test/automation/window_proxy.h', | 3920 'test/automation/window_proxy.h', |
| 3858 ], | 3921 ], |
| 3859 }, | 3922 }, |
| 3860 # TODO(sgk,bradnelson): re-enable once problems with | 3923 { |
| 3861 # LNK1104 errors for browser_tests.{ilk,pdb} have been fixed. | 3924 # Shared library used by the in-proc browser tests. |
| 3862 #{ | 3925 'target_name': 'browser_tests_dll', |
| 3863 # 'target_name': 'browser_tests', | 3926 'type': 'shared_library', |
| 3864 # 'type': 'executable', | 3927 'product_name': 'browser_tests', |
| 3865 # 'msvs_guid': '9B87804D-2502-480B-95AE-5A572CE91809', | 3928 'msvs_guid': 'D7589D0D-304E-4589-85A4-153B7D84B07F', |
| 3866 # 'msvs_existing_vcproj': 'test/browser/browser_tests_launcher.vcproj', | 3929 'dependencies': [ |
| 3867 # 'dependencies': [ | 3930 'app', |
| 3868 # 'installer/installer.gyp:installer_util', | 3931 'browser', |
| 3869 # ], | 3932 'chrome_resources', |
| 3870 # 'include_dirs': [ | 3933 'installer/installer.gyp:installer_util_strings', |
| 3871 # '..', | 3934 'debugger', |
| 3872 # ], | 3935 'renderer', |
| 3873 # 'sources': [ | 3936 '../skia/skia.gyp:skia', |
| 3874 # 'test/browser/browser_tests_launcher.cc', | 3937 '../testing/gtest.gyp:gtest', |
| 3875 # ], | 3938 ], |
| 3876 #}, | 3939 'include_dirs': [ |
| 3877 #{ | 3940 '..', |
| 3878 # 'target_name': 'browser_tests_dll', | 3941 'third_party/wtl/include', |
| 3879 # 'type': 'shared_library', | 3942 ], |
| 3880 # 'msvs_guid': 'D7589D0D-304E-4589-85A4-153B7D84B07F', | 3943 'configurations': { |
| 3881 # 'msvs_existing_vcproj': 'test/browser/browser_tests_dll.vcproj', | 3944 'Debug': { |
| 3882 # 'product_name': 'browser_tests', | 3945 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', |
| 3883 # 'dependencies': [ | 3946 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', |
| 3884 # 'browser', | 3947 'msvs_settings': { |
| 3885 # 'chrome_resources', | 3948 'VCLinkerTool': { |
| 3886 # 'debugger', | 3949 'LinkIncremental': '1', # /INCREMENTAL:NO |
| 3887 # 'renderer', | 3950 }, |
| 3888 # 'installer/installer.gyp:installer_util_strings', | 3951 }, |
| 3889 # '../base/base.gyp:base', | 3952 }, |
| 3890 # '../base/base.gyp:base_gfx', | 3953 }, |
| 3891 # '../net/net.gyp:net', | 3954 'rules': [ |
| 3892 # '../net/net.gyp:net_resources', | 3955 { |
| 3893 # '../skia/skia.gyp:skia', | 3956 'rule_name': 'win_version', |
| 3894 # '../testing/gtest.gyp:gtest', | 3957 'extension': 'version', |
| 3895 # '../webkit/webkit.gyp:glue', | 3958 'variables': { |
| 3896 # '../webkit/webkit.gyp:webkit_resources', | 3959 'lastchange_path': |
| 3897 # ], | 3960 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
| 3898 # 'include_dirs': [ | 3961 'version_py': 'tools/build/version.py', |
| 3899 # '..', | 3962 'version_path': 'VERSION', |
| 3900 # 'third_party/wtl/include', | 3963 'template_input_path': 'app/chrome_dll_version.rc.version', |
| 3901 # ], | 3964 'template_output_path': '<(grit_out_dir)/chrome_dll_version.rc', |
| 3902 # 'sources': [ | 3965 }, |
| 3903 # '../webkit/glue/resources/aliasb.cur', | 3966 'conditions': [ |
| 3904 # '../webkit/glue/resources/cell.cur', | 3967 [ 'branding == "Chrome"', { |
| 3905 # '../webkit/glue/resources/col_resize.cur', | 3968 'variables': { |
| 3906 # '../webkit/glue/resources/copy.cur', | 3969 'branding_path': 'app/theme/google_chrome/BRANDING', |
| 3907 # '../webkit/glue/resources/row_resize.cur', | 3970 }, |
| 3908 # '../webkit/glue/resources/vertical_text.cur', | 3971 }, { # else branding!="Chrome" |
| 3909 # '../webkit/glue/resources/zoom_in.cur', | 3972 'variables': { |
| 3910 # '../webkit/glue/resources/zoom_out.cur', | 3973 'branding_path': 'app/theme/chromium/BRANDING', |
| 3911 # 'app/chrome_dll.rc', | 3974 }, |
| 3912 # 'app/chrome_dll_resource.h', | 3975 }], |
| 3913 # 'app/chrome_dll_version.rc.version', | 3976 ], |
| 3914 # 'browser/child_process_security_policy_browser_test.cc', | 3977 'inputs': [ |
| 3915 # 'browser/renderer_host/web_cache_manager_browser_test.cc', | 3978 '<(template_input_path)', |
| 3916 # 'browser/ssl/ssl_browser_tests.cc', | 3979 '<(version_path)', |
| 3917 # 'browser/task_manager_browsertest.cc', | 3980 '<(branding_path)', |
| 3918 # 'browser/views/find_bar_win_browsertest.cc', | 3981 '<(lastchange_path)', |
| 3919 # 'test/browser/run_all_unittests.cc', | 3982 ], |
| 3920 # 'test/data/resource.h', | 3983 'outputs': [ |
| 3921 # 'test/data/resource.rc', | 3984 # Use a non-existant output so this action always runs and |
| 3922 # 'test/in_process_browser_test.cc', | 3985 # generates version information, e.g. to capture revision |
| 3923 # 'test/in_process_browser_test.h', | 3986 # changes, which aren't captured by file dependencies. |
| 3924 # 'test/ui_test_utils.cc', | 3987 '<(grit_out_dir)/chrome_dll_version.always', |
| 3925 # 'test/ui_test_utils.h', | 3988 |
| 3926 # 'test/unit/chrome_test_suite.h', | 3989 # And this is the real output, so that the build system knows |
| 3927 # 'tools/build/win/precompiled_wtl.cc', | 3990 # what action generates it. |
| 3928 # 'tools/build/win/precompiled_wtl.h', | 3991 '<(template_output_path)', |
| 3929 # ], | 3992 ], |
| 3930 # 'configurations': { | 3993 'action': [ |
| 3931 # 'Debug': { | 3994 'python', |
| 3932 # 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', | 3995 '<(version_py)', |
| 3933 # 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', | 3996 '-f', '<(version_path)', |
| 3934 # }, | 3997 '-f', '<(branding_path)', |
| 3935 # }, | 3998 '-f', '<(lastchange_path)', |
| 3936 #}, | 3999 '<(template_input_path)', |
| 4000 '<(template_output_path)', | |
| 4001 ], | |
| 4002 'process_outputs_as_sources': 1, | |
| 4003 'message': 'Generating version information in <(template_output_pa th)' | |
| 4004 }, | |
| 4005 ], | |
| 4006 'sources': [ | |
| 4007 » 'test/browser/run_all_unittests.cc', | |
| 4008 'test/in_process_browser_test.cc', | |
| 4009 'test/in_process_browser_test.h', | |
| 4010 'test/unit/chrome_test_suite.h', | |
| 4011 'test/ui_test_utils.cc', | |
| 4012 'app/chrome_dll.rc', | |
| 4013 'app/chrome_dll_resource.h', | |
| 4014 'app/chrome_dll_version.rc.version', | |
| 4015 'tools/build/win/precompiled_wtl.h', | |
| 4016 'tools/build/win/precompiled_wtl.cc', | |
| 4017 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | |
| 4018 # Put your tests below. | |
| 4019 # IMPORTANT NOTE: you must also put them in browser_tests in | |
| 4020 # the Mac/Linux section. | |
| 4021 'browser/views/find_bar_win_browsertest.cc', | |
| 4022 'browser/ssl/ssl_browser_tests.cc', | |
| 4023 'browser/child_process_security_policy_browser_test.cc', | |
| 4024 'browser/task_manager_browsertest.cc', | |
| 4025 'browser/renderer_host/web_cache_manager_browser_test.cc' | |
| 4026 ], | |
| 4027 }, | |
| 4028 { | |
| 4029 # Executable that runs the browser tests in-process. | |
| 4030 'target_name': 'browser_tests', | |
| 4031 'type': 'executable', | |
| 4032 'msvs_guid': '9B87804D-2502-480B-95AE-5A572CE91809', | |
| 4033 'dependencies': [ | |
|
sgk
2009/06/05 21:59:10
I'd expect this to have a dependency on 'browser_t
| |
| 4034 '../base/base.gyp:base', | |
| 4035 ], | |
| 4036 'include_dirs': [ | |
| 4037 '..', | |
| 4038 ], | |
| 4039 'sources': [ | |
| 4040 » 'test/browser/browser_test_launcher_in_proc.cc', | |
| 4041 » 'test/browser/browser_test_runner.cc', | |
| 4042 » 'test/browser/browser_test_runner.h', | |
| 4043 ], | |
| 4044 }, | |
| 3937 { | 4045 { |
| 3938 'target_name': 'crash_service', | 4046 'target_name': 'crash_service', |
| 3939 'type': 'executable', | 4047 'type': 'executable', |
| 3940 'msvs_guid': '89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC', | 4048 'msvs_guid': '89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC', |
| 3941 'dependencies': [ | 4049 'dependencies': [ |
| 3942 'common', | 4050 'common', |
| 3943 '../base/base.gyp:base', | 4051 '../base/base.gyp:base', |
| 3944 '../breakpad/breakpad.gyp:breakpad_handler', | 4052 '../breakpad/breakpad.gyp:breakpad_handler', |
| 3945 '../breakpad/breakpad.gyp:breakpad_sender', | 4053 '../breakpad/breakpad.gyp:breakpad_sender', |
| 3946 ], | 4054 ], |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4305 # Use outputs of this action as inputs for the main target build. | 4413 # Use outputs of this action as inputs for the main target build. |
| 4306 # Seems as a misnomer but makes this happy on Linux (scons). | 4414 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4307 'process_outputs_as_sources': 1, | 4415 'process_outputs_as_sources': 1, |
| 4308 }, | 4416 }, |
| 4309 ], # 'actions' | 4417 ], # 'actions' |
| 4310 }, | 4418 }, |
| 4311 ] | 4419 ] |
| 4312 }], | 4420 }], |
| 4313 ], # 'conditions' | 4421 ], # 'conditions' |
| 4314 } | 4422 } |
| OLD | NEW |