Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: chrome/chrome.gyp

Issue 125021: Updates prior to cutting over chrome.dll to gyp generation:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 3807 matching lines...) Expand 10 before | Expand all | Expand 10 after
3818 'include_dirs': [ 3818 'include_dirs': [
3819 'third_party/wtl/include', 3819 'third_party/wtl/include',
3820 ], 3820 ],
3821 'dependencies': [ 3821 'dependencies': [
3822 # On Windows, link the dependencies (libraries) that make 3822 # On Windows, link the dependencies (libraries) that make
3823 # up actual Chromium functionality into this .dll. 3823 # up actual Chromium functionality into this .dll.
3824 '<@(chromium_dependencies)', 3824 '<@(chromium_dependencies)',
3825 'chrome_dll_version', 3825 'chrome_dll_version',
3826 'chrome_resources', 3826 'chrome_resources',
3827 'installer/installer.gyp:installer_util_strings', 3827 'installer/installer.gyp:installer_util_strings',
3828 # TODO(sgk): causes problems because theme_dll doesn't
3829 # actually generate default.lib, but now expects it.
3830 #'theme_dll',
3828 'worker', 3831 'worker',
3829 '../net/net.gyp:net_resources', 3832 '../net/net.gyp:net_resources',
3830 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', 3833 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc',
3831 '../views/views.gyp:views', 3834 '../views/views.gyp:views',
3832 '../webkit/webkit.gyp:webkit_resources', 3835 '../webkit/webkit.gyp:webkit_resources',
3833 '../gears/gears.gyp:gears', 3836 '../gears/gears.gyp:gears',
3834 ], 3837 ],
3838 'defines': [
3839 'CHROME_DLL',
3840 'BROWSER_DLL',
3841 'RENDERER_DLL',
3842 'PLUGIN_DLL',
3843 ],
3835 'sources': [ 3844 'sources': [
3836 'app/chrome_dll.rc', 3845 'app/chrome_dll.rc',
3837 'app/chrome_dll_main.cc', 3846 'app/chrome_dll_main.cc',
3838 'app/chrome_dll_resource.h', 3847 'app/chrome_dll_resource.h',
3839 '<(grit_out_dir)/chrome_dll_version/chrome_dll_version.rc', 3848 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc ',
3840 3849
3841 '../webkit/glue/resources/aliasb.cur', 3850 '../webkit/glue/resources/aliasb.cur',
3842 '../webkit/glue/resources/cell.cur', 3851 '../webkit/glue/resources/cell.cur',
3843 '../webkit/glue/resources/col_resize.cur', 3852 '../webkit/glue/resources/col_resize.cur',
3844 '../webkit/glue/resources/copy.cur', 3853 '../webkit/glue/resources/copy.cur',
3845 '../webkit/glue/resources/row_resize.cur', 3854 '../webkit/glue/resources/row_resize.cur',
3846 '../webkit/glue/resources/vertical_text.cur', 3855 '../webkit/glue/resources/vertical_text.cur',
3847 '../webkit/glue/resources/zoom_in.cur', 3856 '../webkit/glue/resources/zoom_in.cur',
3848 '../webkit/glue/resources/zoom_out.cur', 3857 '../webkit/glue/resources/zoom_out.cur',
3858
3859 # TODO: It would be nice to have these pulled in
3860 # automatically from direct_dependent_settings in
3861 # their various targets (net.gyp:net_resources, etc.),
3862 # but that causes errors in other targets when
3863 # resulting .res files get referenced multiple times.
3864 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
3865 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
3866 '<(SHARED_INTERMEDIATE_DIR)/chrome/debugger_resources.rc',
3867 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc',
3868 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
3869 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
3870
3849 # TODO(sgk): left-over from pre-gyp build, figure out 3871 # TODO(sgk): left-over from pre-gyp build, figure out
3850 # if we still need them and/or how to update to gyp. 3872 # if we still need them and/or how to update to gyp.
3851 #'app/check_dependents.bat', 3873 #'app/check_dependents.bat',
3852 #'app/chrome.dll.deps', 3874 #'app/chrome.dll.deps',
3853 ], 3875 ],
3854 'msvs_settings': { 3876 'msvs_settings': {
3855 'VCLinkerTool': { 3877 'VCLinkerTool': {
3878 'BaseAddress': '0x01c30000',
3879 'DelayLoadDLLs': 'crypt32.dll;cryptui.dll;winhttp.dll;wininet.dll; wsock32.dll;ws2_32.dll;winspool.drv;comdlg32.dll;imagehlp.dll;psapi.dll;urlmon.d ll;imm32.dll',
3856 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', 3880 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib',
3857 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). 3881 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency).
3858 'SubSystem': '2', 3882 'SubSystem': '2',
3859 }, 3883 },
3860 }, 3884 },
3861 'configurations': { 3885 'configurations': {
3862 'Debug': { 3886 'Debug': {
3863 'msvs_settings': { 3887 'msvs_settings': {
3864 'VCLinkerTool': { 3888 'VCLinkerTool': {
3865 'LinkIncremental': '1', # /INCREMENTAL:NO 3889 'LinkIncremental': '1', # /INCREMENTAL:NO
3866 }, 3890 },
3867 }, 3891 },
3868 }, 3892 },
3869 }, 3893 },
3870 }, 3894 },
3871 { 3895 {
3872 'target_name': 'chrome_dll_version', 3896 'target_name': 'chrome_dll_version',
3873 'type': 'none', 3897 'type': 'none',
3874 #'msvs_guid': '414D4D24-5D65-498B-A33F-3A29AD3CDEDC', 3898 #'msvs_guid': '414D4D24-5D65-498B-A33F-3A29AD3CDEDC',
3875 'dependencies': [ 3899 'dependencies': [
3876 '../build/util/build_util.gyp:lastchange', 3900 '../build/util/build_util.gyp:lastchange',
3877 ], 3901 ],
3878 'direct_dependent_settings': { 3902 'direct_dependent_settings': {
3879 'include_dirs': [ 3903 'include_dirs': [
3880 '<(grit_out_dir)/chrome_dll_version', 3904 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version',
3881 ], 3905 ],
3882 }, 3906 },
3883 'actions': [ 3907 'actions': [
3884 { 3908 {
3885 'action_name': 'version', 3909 'action_name': 'version',
3886 'variables': { 3910 'variables': {
3887 'lastchange_path': 3911 'lastchange_path':
3888 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', 3912 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
3889 'version_py': 'tools/build/version.py', 3913 'version_py': 'tools/build/version.py',
3890 'version_path': 'VERSION', 3914 'version_path': 'VERSION',
(...skipping 10 matching lines...) Expand all
3901 }, 3925 },
3902 }], 3926 }],
3903 ], 3927 ],
3904 'inputs': [ 3928 'inputs': [
3905 '<(template_input_path)', 3929 '<(template_input_path)',
3906 '<(version_path)', 3930 '<(version_path)',
3907 '<(branding_path)', 3931 '<(branding_path)',
3908 '<(lastchange_path)', 3932 '<(lastchange_path)',
3909 ], 3933 ],
3910 'outputs': [ 3934 'outputs': [
3911 '<(grit_out_dir)/chrome_dll_version/chrome_dll_version.rc', 3935 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_versio n.rc',
3912 ], 3936 ],
3913 'action': [ 3937 'action': [
3914 'python', 3938 'python',
3915 '<(version_py)', 3939 '<(version_py)',
3916 '-f', '<(version_path)', 3940 '-f', '<(version_path)',
3917 '-f', '<(branding_path)', 3941 '-f', '<(branding_path)',
3918 '-f', '<(lastchange_path)', 3942 '-f', '<(lastchange_path)',
3919 '<(template_input_path)', 3943 '<(template_input_path)',
3920 '<@(_outputs)', 3944 '<@(_outputs)',
3921 ], 3945 ],
3922 'process_outputs_as_sources': 1,
3923 'message': 'Generating version information in <(_outputs)' 3946 'message': 'Generating version information in <(_outputs)'
3924 }, 3947 },
3925 ], 3948 ],
3926 }, 3949 },
3927 { 3950 {
3928 'target_name': 'activex_test_control', 3951 'target_name': 'activex_test_control',
3929 'type': 'shared_library', 3952 'type': 'shared_library',
3930 'msvs_guid': '414D4D24-5D65-498B-A33F-3A29AD3CDEDC', 3953 'msvs_guid': '414D4D24-5D65-498B-A33F-3A29AD3CDEDC',
3931 'include_dirs': [ 3954 'include_dirs': [
3932 '..', 3955 '..',
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
4493 # Use outputs of this action as inputs for the main target build. 4516 # Use outputs of this action as inputs for the main target build.
4494 # Seems as a misnomer but makes this happy on Linux (scons). 4517 # Seems as a misnomer but makes this happy on Linux (scons).
4495 'process_outputs_as_sources': 1, 4518 'process_outputs_as_sources': 1,
4496 }, 4519 },
4497 ], # 'actions' 4520 ], # 'actions'
4498 }, 4521 },
4499 ] 4522 ]
4500 }], 4523 }],
4501 ], # 'conditions' 4524 ], # 'conditions'
4502 } 4525 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698