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

Side by Side Diff: chrome/common/common.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/chrome.scons ('k') | chrome/common/ipc_tests.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 '$BREAKPAD_DIR/using_breakpad.scons', 10 '$BREAKPAD_DIR/using_breakpad.scons',
(...skipping 21 matching lines...) Expand all
32 ], 32 ],
33 ) 33 )
34 34
35 if env.Bit('windows'): 35 if env.Bit('windows'):
36 env.Prepend( 36 env.Prepend(
37 CPPPATH = [ 37 CPPPATH = [
38 '$CHROME_DIR/tools/build/win', 38 '$CHROME_DIR/tools/build/win',
39 ], 39 ],
40 ) 40 )
41 41
42 input_files = [] 42 input_files = ChromeFileList([
43 43 # TODO(sgk): violate standard indentation so we don't have to
44 input_files.extend([ 44 # reindent too much when we remove the explicit MSVSFilter() calls
45 'animation.cc', 45 # in favor of generating the hierarchy to reflect the file system.
46 'chrome_constants.cc', 46 MSVSFilter('net', [
47 'chrome_counters.cc', 47 'net/cookie_monster_sqlite.cc',
48 'chrome_paths.cc', 48 'net/cookie_monster_sqlite.h',
49 'chrome_switches.cc', 49 'net/dns.h',
50 'common_glue.cc', 50 'net/url_request_intercept_job.cc',
51 'debug_flags.cc', 51 'net/url_request_intercept_job.h',
52 'env_vars.cc', 52 ]),
53 'gfx/chrome_canvas.cc', 53 MSVSFilter('gfx', [
54 'gfx/color_utils.cc', 54 'gfx/chrome_canvas.cc',
55 'ipc_channel_proxy.cc', 55 'gfx/chrome_canvas.h',
56 'ipc_message.cc', 56 'gfx/chrome_canvas_skia.cc',
57 'ipc_message_utils.cc', 57 'gfx/chrome_canvas_win.cc',
58 'ipc_sync_channel.cc', 58 'gfx/chrome_font.h',
59 'ipc_sync_message.cc', 59 'gfx/chrome_font_gtk.cc',
60 'jpeg_codec.cc', 60 'gfx/chrome_font_skia.cc',
61 'json_value_serializer.cc', 61 'gfx/chrome_font_win.cc',
62 'l10n_util.cc', 62 'gfx/color_utils.cc',
63 'libxml_utils.cc', 63 'gfx/color_utils.h',
64 'logging_chrome.cc', 64 'gfx/emf.cc',
65 'message_router.cc', 65 'gfx/emf.h',
66 'net/cookie_monster_sqlite.cc', 66 'gfx/favicon_size.h',
67 'net/url_request_intercept_job.cc', 67 'gfx/icon_util.cc',
68 'notification_registrar.cc', 68 'gfx/icon_util.h',
69 'notification_service.cc', 69 'gfx/insets.h',
70 'pref_member.cc', 70 'gfx/path.cc',
71 'pref_names.cc', 71 'gfx/path.h',
72 'pref_service.cc', 72 'gfx/text_elider.cc',
73 'property_bag.cc', 73 'gfx/text_elider.h',
74 'render_messages.cc', 74 'gfx/utils.h',
75 'resource_bundle.cc', 75 ]),
76 'resource_dispatcher.cc', 76 MSVSFilter('ipc', [
77 'sandbox_init_wrapper.cc', 77 'ipc_channel.h',
78 'slide_animation.cc', 78 'ipc_channel_posix.cc',
79 'sqlite_compiled_statement.cc', 79 'ipc_channel_proxy.cc',
80 'sqlite_utils.cc', 80 'ipc_channel_proxy.h',
81 'task_queue.cc', 81 'ipc_channel_win.cc',
82 'throb_animation.cc', 82 'ipc_logging.cc',
83 'time_format.cc', 83 'ipc_logging.h',
84 'thumbnail_score.cc', 84 'ipc_message.cc',
85 'unzip.cc', 85 'ipc_message.h',
86 'visitedlink_common.cc', 86 'ipc_message_macros.h',
87 'worker_thread_ticker.cc', 87 'ipc_message_utils.cc',
88 'ipc_message_utils.h',
89 'ipc_sync_channel.cc',
90 'ipc_sync_channel.h',
91 'ipc_sync_message.cc',
92 'ipc_sync_message.h',
93 'plugin_messages.cc',
94 'plugin_messages.h',
95 'plugin_messages_internal.h',
96 'render_messages.cc',
97 'render_messages.h',
98 'render_messages_internal.h',
99 ]),
100 'animation.cc',
101 'animation.h',
102 'child_process.cc',
103 'child_process.h',
104 'chrome_constants.cc',
105 'chrome_constants.h',
106 'chrome_counters.cc',
107 'chrome_counters.h',
108 'chrome_paths.cc',
109 'chrome_paths.h',
110 'chrome_plugin_api.h',
111 'chrome_plugin_lib.cc',
112 'chrome_plugin_lib.h',
113 'chrome_plugin_util.cc',
114 'chrome_plugin_util.h',
115 'chrome_process_filter.cc',
116 'chrome_process_filter.h',
117 'chrome_switches.cc',
118 'chrome_switches.h',
119 'classfactory.cc',
120 'classfactory.h',
121 'clipboard_service.h',
122 'common_glue.cc',
123 'common_resources.h',
124 'debug_flags.cc',
125 'debug_flags.h',
126 'drag_drop_types.cc',
127 'drag_drop_types.h',
128 'env_vars.cc',
129 'env_vars.h',
130 'filter_policy.h',
131 'gears_api.h',
132 'jpeg_codec.cc',
133 'jpeg_codec.h',
134 'json_value_serializer.cc',
135 'json_value_serializer.h',
136 'jstemplate_builder.cc',
137 'jstemplate_builder.h',
138 'l10n_util.cc',
139 'l10n_util.h',
140 'libxml_utils.cc',
141 'libxml_utils.h',
142 'logging_chrome.cc',
143 'logging_chrome.h',
144 'main_function_params.h',
145 'message_router.cc',
146 'message_router.h',
147 'mru_cache.h',
148 'navigation_types.h',
149 'notification_details.h',
150 'notification_registrar.cc',
151 'notification_registrar.h',
152 'notification_service.cc',
153 'notification_service.h',
154 'notification_source.h',
155 'notification_types.h',
156 'os_exchange_data.cc',
157 'os_exchange_data.h',
158 'page_transition_types.h',
159 'page_zoom.h',
160 '$CHROME_DIR/tools/build/win/precompiled$OBJSUFFIX',
161 '$CHROME_DIR/tools/build/win/precompiled.h',
162 'pref_member.cc',
163 'pref_member.h',
164 'pref_names.cc',
165 'pref_names.h',
166 'pref_service.cc',
167 'pref_service.h',
168 'process_watcher.cc',
169 'process_watcher.h',
170 'property_bag.cc',
171 'property_bag.h',
172 'ref_counted_util.h',
173 'resource_bundle.cc',
174 'resource_bundle.h',
175 'resource_bundle_win.cc',
176 'resource_dispatcher.cc',
177 'resource_dispatcher.h',
178 'sandbox_init_wrapper.cc',
179 'sandbox_init_wrapper.h',
180 'scoped_vector.h',
181 'security_filter_peer.cc',
182 'security_filter_peer.h',
183 'slide_animation.cc',
184 'slide_animation.h',
185 'sqlite_compiled_statement.cc',
186 'sqlite_compiled_statement.h',
187 'sqlite_utils.cc',
188 'sqlite_utils.h',
189 'stl_util-inl.h',
190 'task_queue.cc',
191 'task_queue.h',
192 'throb_animation.cc',
193 'throb_animation.h',
194 'thumbnail_score.cc',
195 'thumbnail_score.h',
196 'time_format.cc',
197 'time_format.h',
198 'unzip.cc',
199 'unzip.h',
200 'visitedlink_common.cc',
201 'visitedlink_common.h',
202 'win_safe_util.cc',
203 'win_safe_util.h',
204 'win_util.cc',
205 'win_util.h',
206 'worker_thread_ticker.cc',
207 'worker_thread_ticker.h',
88 ]) 208 ])
89 209
90 if env.Bit('windows'): 210 if not env.Bit('windows'):
91 # TODO(port): Port these. 211 # TODO(port): Port these.
92 input_files.extend([ 212 input_files.Remove(
93 'child_process.cc', 213 'child_process.cc',
94 'chrome_plugin_lib.cc', 214 'chrome_plugin_lib.cc',
95 'chrome_plugin_util.cc', 215 'chrome_plugin_util.cc',
96 'chrome_process_filter.cc', 216 'chrome_process_filter.cc',
97 'drag_drop_types.cc', 217 'drag_drop_types.cc',
98 'gfx/emf.cc', 218 'gfx/emf.cc',
99 'gfx/icon_util.cc', 219 'gfx/icon_util.cc',
100 'gfx/path.cc', 220 'gfx/path.cc',
101 'gfx/text_elider.cc', 221 'gfx/text_elider.cc',
102 'ipc_logging.cc', 222 'ipc_logging.cc',
103 'jstemplate_builder.cc', 223 'jstemplate_builder.cc',
104 'os_exchange_data.cc', 224 'os_exchange_data.cc',
105 'plugin_messages.cc', 225 'plugin_messages.cc',
106 'process_watcher.cc', 226 'process_watcher.cc',
107 'security_filter_peer.cc', 227 'security_filter_peer.cc',
108 'win_safe_util.cc', 228 'win_safe_util.cc',
109 'win_util.cc', 229 'win_util.cc',
110 ]) 230 )
111 231
112 if env.Bit('windows'): 232 if not env.Bit('windows'):
113 # Windows specific files 233 # Windows specific files
114 input_files.extend([ 234 input_files.Remove(
115 'classfactory.cc', 235 'classfactory.cc',
116 'gfx/chrome_canvas_win.cc', 236 'gfx/chrome_canvas_win.cc',
117 'gfx/chrome_font_win.cc', 237 'gfx/chrome_font_win.cc',
118 'ipc_channel_win.cc', 238 'ipc_channel_win.cc',
119 'resource_bundle_win.cc', 239 'resource_bundle_win.cc',
120 ]) 240 '$CHROME_DIR/tools/build/win/precompiled$OBJSUFFIX',
121 elif env.Bit('linux'): 241 )
122 input_files.extend([ 242
243 if not env.Bit('linux'):
244 # Linux specific files
245 input_files.Remove(
123 'gfx/chrome_canvas_skia.cc', 246 'gfx/chrome_canvas_skia.cc',
124 'gfx/chrome_font_gtk.cc', 247 'gfx/chrome_font_gtk.cc',
125 'gfx/chrome_font_skia.cc', 248 'gfx/chrome_font_skia.cc',
126 ]) 249 )
127 250
128 if env.Bit('posix'): 251 if not env.Bit('posix'):
129 input_files.extend([ 252 input_files.Remove(
130 'ipc_channel_posix.cc', 253 'ipc_channel_posix.cc',
131 ]) 254 )
132
133 255
134 if not env.Bit('mac'): 256 if not env.Bit('mac'):
135 # TODO(port): This should be enabled for all platforms. 257 # TODO(port): This should be enabled for all platforms.
136 env.ChromeLibrary('common', input_files) 258 env.ChromeLibrary('common', input_files)
137 259
138 env.ChromeMSVSProject('$CHROME_DIR/common/common.vcproj', 260 p = env.ChromeMSVSProject('common.vcproj',
139 dependencies = [ 261 dest='$CHROME_SRC_DIR/chrome/common/common.vcproj',
140 '$LIBXML_DIR/build/libxml_config.vcproj', 262 guid='{899F1280-3441-4D1F-BA04-CCD6208D9146}',
141 '$CHROME_DIR/app/generated_resources.vcproj', 263 keyword='Win32Proj',
142 ], 264 dependencies = [
143 guid='{899F1280-3441-4D1F-BA04-CCD6208D9146}') 265 '$LIBXML_DIR/build/libxml_config.vcproj',
266 '$CHROME_DIR/app/generated_resources.vcproj',
267 ],
268 # TODO(sgk): when we can intuit the hierarchy
269 # from the built targets.
270 #buildtargets=TODO,
271 files=input_files,
272 relative_path_prefix='./',
273 tools=[
274 'VCPreBuildEventTool',
275 'VCCustomBuildTool',
276 'VCXMLDataGeneratorTool',
277 'VCWebServiceProxyGeneratorTool',
278 'VCMIDLTool',
279 'VCCLCompilerTool',
280 'VCManagedResourceCompilerTool',
281 'VCResourceCompilerTool',
282 'VCPreLinkEventTool',
283 'VCLibrarianTool',
284 'VCALinkTool',
285 'VCXDCMakeTool',
286 'VCBscMakeTool',
287 'VCFxCopTool',
288 'VCPostBuildEventTool',
289 ],
290 ConfigurationType='4')
291
292
293 p.AddConfig('Debug|Win32',
294 InheritedPropertySheets=[
295 './common.vsprops',
296 '$(SolutionDir)../build/debug.vsprops',
297 '../tools/build/win/precompiled.vsprops',
298 ])
299
300 p.AddConfig('Release|Win32',
301 InheritedPropertySheets=[
302 './common.vsprops',
303 '$(SolutionDir)../build/release.vsprops',
304 ])
305
306 p.AddFileConfig('../tools/build/win/precompiled.cc',
307 'Debug|Win32',
308 tools=[
309 MSVSTool('VCCLCompilerTool',
310 UsePrecompiledHeader='1'),
311 ])
OLDNEW
« no previous file with comments | « chrome/chrome.scons ('k') | chrome/common/ipc_tests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698