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

Side by Side Diff: chrome/renderer/renderer.scons

Issue 17603: Generate all chrome .vcproj files: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « chrome/plugin/plugin.scons ('k') | chrome/test/activex_test_control/activex_test_control.scons » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 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 Import('env') 5 Import('env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 env.SConscript([ 9 env.SConscript([
10 '$CHROME_DIR/third_party/wtl/using_wtl.scons', 10 '$CHROME_DIR/third_party/wtl/using_wtl.scons',
11 '$GRIT_DIR/build/using_generated_resources.scons', 11 '$GRIT_DIR/build/using_generated_resources.scons',
12 '$ICU38_DIR/using_icu38.scons', 12 '$ICU38_DIR/using_icu38.scons',
13 '$NPAPI_DIR/using_npapi.scons', 13 '$NPAPI_DIR/using_npapi.scons',
14 '$SKIA_DIR/using_skia.scons', 14 '$SKIA_DIR/using_skia.scons',
15 ], {'env':env}) 15 ], {'env':env})
16 16
17 env.Prepend( 17 env.Prepend(
18 CPPPATH = [ 18 CPPPATH = [
19 '$CHROME_SRC_DIR', 19 '$CHROME_SRC_DIR',
20 ], 20 ],
21 ) 21 )
22 22
23 if env.Bit('windows'): 23 if env.Bit('windows'):
24 env.Prepend( 24 env.Prepend(
25 CPPPATH = [ 25 CPPPATH = [
26 '$CHROME_DIR/tools/build/win', 26 '$CHROME_DIR/tools/build/win',
27 ], 27 ],
28 ) 28 )
29 29
30 input_files = [ 30 input_files = ChromeFileList([
31 # TODO(sgk): violate standard indentation so we don't have to
32 # reindent too much when we remove the explicit MSVSFilter() calls
33 # in favor of generating the hierarchy to reflect the file system.
34 MSVSFilter('automation', [
35 'automation/dom_automation_controller.cc',
36 'automation/dom_automation_controller.h',
37 ]),
38 MSVSFilter('net', [
39 'net/render_dns_master.cc',
40 'net/render_dns_master.h',
41 'net/render_dns_queue.cc',
42 'net/render_dns_queue.h',
43 ]),
31 'about_handler.cc', 44 'about_handler.cc',
45 'about_handler.h',
32 'chrome_plugin_host.cc', 46 'chrome_plugin_host.cc',
47 'chrome_plugin_host.h',
33 'debug_message_handler.cc', 48 'debug_message_handler.cc',
49 'debug_message_handler.h',
34 'dom_ui_bindings.cc', 50 'dom_ui_bindings.cc',
51 'dom_ui_bindings.h',
35 'external_host_bindings.cc', 52 'external_host_bindings.cc',
53 'external_host_bindings.h',
36 'external_js_object.cc', 54 'external_js_object.cc',
55 'external_js_object.h',
37 'localized_error.cc', 56 'localized_error.cc',
57 'localized_error.h',
38 'plugin_channel_host.cc', 58 'plugin_channel_host.cc',
59 'plugin_channel_host.h',
60 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
61 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
39 'render_process.cc', 62 'render_process.cc',
63 'render_process.h',
40 'render_thread.cc', 64 'render_thread.cc',
65 'render_thread.h',
41 'render_view.cc', 66 'render_view.cc',
67 'render_view.h',
42 'render_widget.cc', 68 'render_widget.cc',
69 'render_widget.h',
43 'renderer_glue.cc', 70 'renderer_glue.cc',
44 'renderer_main.cc', 71 'renderer_main.cc',
72 'renderer_resources.h',
45 'user_script_slave.cc', 73 'user_script_slave.cc',
74 'user_script_slave.h',
46 'visitedlink_slave.cc', 75 'visitedlink_slave.cc',
76 'visitedlink_slave.h',
47 'webmediaplayer_delegate_impl.cc', 77 'webmediaplayer_delegate_impl.cc',
78 'webmediaplayer_delegate_impl.h',
48 'webplugin_delegate_proxy.cc', 79 'webplugin_delegate_proxy.cc',
49 'automation/dom_automation_controller.cc', 80 'webplugin_delegate_proxy.h',
81 ])
50 82
51 'net/render_dns_master.cc', 83 if not env.Bit('windows'):
52 'net/render_dns_queue.cc', 84 # Windows-specific.
53 ] 85 input_files.Remove(
86 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
87 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
88 )
54 89
55 # TODO(port): Port these to Linux 90 # TODO(port): Port these to Linux
56 if env.Bit('linux'): 91 if env.Bit('linux'):
57 to_be_ported_files = [ 92 input_files.Remove(
58 'chrome_plugin_host.cc', 93 'chrome_plugin_host.cc',
59 'debug_message_handler.cc', 94 'debug_message_handler.cc',
60 'external_js_object.cc', 95 'external_js_object.cc',
61 'net/render_dns_master.cc', 96 'net/render_dns_master.cc',
62 'plugin_channel_host.cc', 97 'plugin_channel_host.cc',
63 'render_process.cc', 98 'render_process.cc',
64 'render_thread.cc', 99 'render_thread.cc',
65 'render_view.cc', 100 'render_view.cc',
66 'render_widget.cc', 101 'render_widget.cc',
67 'renderer_glue.cc', 102 'renderer_glue.cc',
68 'renderer_main.cc', 103 'renderer_main.cc',
69 'webplugin_delegate_proxy.cc', 104 'webplugin_delegate_proxy.cc',
70 ] 105 )
71 for remove in to_be_ported_files:
72 input_files.remove(remove)
73 106
74 # TODO(port): Port these to Mac 107 # TODO(port): Port these to Mac
75 if env.Bit('mac'): 108 if env.Bit('mac'):
76 to_be_ported_files = [ 109 input_files.Remove(
77 'chrome_plugin_host.cc', 110 'chrome_plugin_host.cc',
78 'debug_message_handler.cc', 111 'debug_message_handler.cc',
79 'external_js_object.cc', 112 'external_js_object.cc',
80 'net/render_dns_master.cc', 113 'net/render_dns_master.cc',
81 'plugin_channel_host.cc', 114 'plugin_channel_host.cc',
82 'render_process.cc', 115 'render_process.cc',
83 'render_thread.cc', 116 'render_thread.cc',
84 'render_view.cc', 117 'render_view.cc',
85 'render_widget.cc', 118 'render_widget.cc',
86 'renderer_glue.cc', 119 'renderer_glue.cc',
87 'renderer_main.cc', 120 'renderer_main.cc',
88 'webplugin_delegate_proxy.cc', 121 'webplugin_delegate_proxy.cc',
89 ] 122 )
90 for remove in to_be_ported_files:
91 input_files.remove(remove)
92 123
93 124
94 # TODO(port): Enable for Mac. 125 # TODO(port): Enable for Mac.
95 if not env.Bit('mac'): 126 if not env.Bit('mac'):
96 env.ChromeLibrary('renderer', input_files) 127 env.ChromeLibrary('renderer', input_files)
97 128
98 env.ChromeMSVSProject('$CHROME_DIR/renderer/renderer.vcproj', 129 # TODO########################################################################
99 dependencies = [ 130
100 '$CHROME_DIR/app/generated_resources.vcproj', 131 p = env.ChromeMSVSProject('renderer.vcproj',
101 ], 132 dest=('$CHROME_SRC_DIR/chrome/'
102 guid='{9301A569-5D2B-4D11-9332-B1E30AEACB8D}') 133 + 'renderer/renderer.vcproj'),
134 guid='{9301A569-5D2B-4D11-9332-B1E30AEACB8D}',
135 keyword='Win32Proj',
136 dependencies = [
137 '$CHROME_DIR/app/generated_resources.vcproj',
138 ],
139 # TODO(sgk): when we can intuit the hierarchy
140 # from the built targets.
141 #buildtargets=TODO,
142 files=input_files,
143 relative_path_prefix='./',
144 tools=[
145 'VCPreBuildEventTool',
146 'VCCustomBuildTool',
147 'VCXMLDataGeneratorTool',
148 'VCWebServiceProxyGeneratorTool',
149 'VCMIDLTool',
150 'VCCLCompilerTool',
151 'VCManagedResourceCompilerTool',
152 'VCResourceCompilerTool',
153 'VCPreLinkEventTool',
154 'VCLibrarianTool',
155 'VCALinkTool',
156 'VCXDCMakeTool',
157 'VCBscMakeTool',
158 'VCFxCopTool',
159 'VCPostBuildEventTool',
160 ],
161 ConfigurationType='4')
162
163
164 p.AddConfig('Debug|Win32',
165 InheritedPropertySheets=[
166 './renderer.vsprops',
167 '$(SolutionDir)../build/debug.vsprops',
168 '../tools/build/win/precompiled_wtl.vsprops',
169 ])
170
171 p.AddConfig('Release|Win32',
172 InheritedPropertySheets=[
173 './renderer.vsprops',
174 '$(SolutionDir)../build/release.vsprops',
175 ])
176
177 p.AddFileConfig('../tools/build/win/precompiled_wtl.cc',
178 'Debug|Win32',
179 tools=[
180 MSVSTool('VCCLCompilerTool',
181 UsePrecompiledHeader='1'),
182 ])
OLDNEW
« no previous file with comments | « chrome/plugin/plugin.scons ('k') | chrome/test/activex_test_control/activex_test_control.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698