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

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

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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_sln.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
(Empty)
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
3 # found in the LICENSE file.
4
5 Import('env')
6
7 env = env.Clone()
8
9 env.SConscript([
10 '$BREAKPAD_DIR/using_breakpad.scons',
11 '$CHROME_DIR/third_party/wtl/using_wtl.scons',
12 '$GRIT_DIR/build/using_generated_resources.scons',
13 '$ICU38_DIR/using_icu38.scons',
14 '$LIBJPEG_DIR/using_libjpeg.scons',
15 '$LIBPNG_DIR/using_libpng.scons',
16 '$LIBXML_DIR/using_libxml.scons',
17 '$NPAPI_DIR/using_npapi.scons',
18 '$SKIA_DIR/using_skia.scons',
19 '$ZLIB_DIR/using_zlib.scons',
20 ], {'env':env})
21
22 env.Prepend(
23 CPPPATH = [
24 '$CHROME_DIR/app',
25 '$CHROME_SRC_DIR',
26 ],
27 )
28
29 env.Append(
30 CPPPATH = [
31 '$WEBKIT_DIR/build/localized_strings',
32 ],
33 )
34
35 if env.Bit('windows'):
36 env.Prepend(
37 CPPPATH = [
38 '$CHROME_DIR/tools/build/win',
39 ],
40 )
41
42 input_files = ChromeFileList([
43 # TODO(sgk): violate standard indentation so we don't have to
44 # reindent too much when we remove the explicit MSVSFilter() calls
45 # in favor of generating the hierarchy to reflect the file system.
46 MSVSFilter('extensions', [
47 'extensions/url_pattern.cc',
48 'extensions/url_pattern.h',
49 'extensions/user_script.cc',
50 'extensions/user_script.h',
51 ]),
52 MSVSFilter('net', [
53 'net/cookie_monster_sqlite.cc',
54 'net/cookie_monster_sqlite.h',
55 'net/dns.h',
56 'net/url_request_intercept_job.cc',
57 'net/url_request_intercept_job.h',
58 ]),
59 MSVSFilter('gfx', [
60 'gfx/chrome_canvas.cc',
61 'gfx/chrome_canvas.h',
62 'gfx/chrome_canvas_skia.cc',
63 'gfx/chrome_canvas_win.cc',
64 'gfx/chrome_font.h',
65 'gfx/chrome_font_gtk.cc',
66 'gfx/chrome_font_skia.cc',
67 'gfx/chrome_font_win.cc',
68 'gfx/color_utils.cc',
69 'gfx/color_utils.h',
70 'gfx/emf.cc',
71 'gfx/emf.h',
72 'gfx/favicon_size.h',
73 'gfx/icon_util.cc',
74 'gfx/icon_util.h',
75 'gfx/insets.h',
76 'gfx/path_gtk.cc',
77 'gfx/path_win.cc',
78 'gfx/path.h',
79 'gfx/text_elider.cc',
80 'gfx/text_elider.h',
81 'gfx/utils.h',
82 ]),
83 MSVSFilter('ipc', [
84 'ipc_channel.h',
85 'ipc_channel_posix.cc',
86 'ipc_channel_proxy.cc',
87 'ipc_channel_proxy.h',
88 'ipc_channel_win.cc',
89 'ipc_logging.cc',
90 'ipc_logging.h',
91 'ipc_message.cc',
92 'ipc_message.h',
93 'ipc_message_macros.h',
94 'ipc_message_utils.cc',
95 'ipc_message_utils.h',
96 'ipc_sync_channel.cc',
97 'ipc_sync_channel.h',
98 'ipc_sync_message.cc',
99 'ipc_sync_message.h',
100 'plugin_messages.h',
101 'plugin_messages_internal.h',
102 'render_messages.h',
103 'render_messages_internal.h',
104 'worker_messages.h',
105 'worker_messages_internal.h',
106 ]),
107 'accessibility.h',
108 'animation.cc',
109 'animation.h',
110 'bindings_policy.h',
111 'child_process.cc',
112 'child_process.h',
113 'child_process_host.cc',
114 'child_process_host.h',
115 'child_process_info.cc',
116 'child_process_info.h',
117 'child_thread.cc',
118 'child_thread.h',
119 'chrome_constants.cc',
120 'chrome_constants.h',
121 'chrome_counters.cc',
122 'chrome_counters.h',
123 'chrome_paths.cc',
124 'chrome_paths.h',
125 'chrome_paths_internal.h',
126 'chrome_paths_linux.cc',
127 'chrome_paths_mac.cc',
128 'chrome_paths_win.cc',
129 'chrome_plugin_api.h',
130 'chrome_plugin_lib.cc',
131 'chrome_plugin_lib.h',
132 'chrome_plugin_util.cc',
133 'chrome_plugin_util.h',
134 'chrome_process_filter.cc',
135 'chrome_process_filter.h',
136 'chrome_switches.cc',
137 'chrome_switches.h',
138 'classfactory.cc',
139 'classfactory.h',
140 'clipboard_service.h',
141 'common_glue.cc',
142 'common_resources.h',
143 'debug_flags.cc',
144 'debug_flags.h',
145 'drag_drop_types.cc',
146 'drag_drop_types.h',
147 'env_vars.cc',
148 'env_vars.h',
149 'filter_policy.h',
150 'gears_api.h',
151 'json_value_serializer.cc',
152 'json_value_serializer.h',
153 'jstemplate_builder.cc',
154 'jstemplate_builder.h',
155 'l10n_util.cc',
156 'l10n_util.h',
157 'l10n_util_posix.cc',
158 'libxml_utils.cc',
159 'libxml_utils.h',
160 'logging_chrome.cc',
161 'logging_chrome.h',
162 'main_function_params.h',
163 'message_router.cc',
164 'message_router.h',
165 'mru_cache.h',
166 'native_web_keyboard_event.h',
167 'native_web_keyboard_event_linux.cc',
168 'navigation_types.h',
169 'notification_details.h',
170 'notification_registrar.cc',
171 'notification_registrar.h',
172 'notification_service.cc',
173 'notification_service.h',
174 'notification_source.h',
175 'notification_types.h',
176 'os_exchange_data.cc',
177 'os_exchange_data.h',
178 'owned_widget_gtk.cc',
179 'owned_widget_gtk.h',
180 'page_transition_types.h',
181 'page_zoom.h',
182 'platform_util.h',
183 'platform_util_linux.cc',
184 'platform_util_mac.mm',
185 'platform_util_win.cc',
186 '$CHROME_DIR/tools/build/win/precompiled$OBJSUFFIX',
187 '$CHROME_DIR/tools/build/win/precompiled.h',
188 'pref_member.cc',
189 'pref_member.h',
190 'pref_names.cc',
191 'pref_names.h',
192 'pref_service.cc',
193 'pref_service.h',
194 'process_watcher.cc',
195 'process_watcher.h',
196 'property_bag.cc',
197 'property_bag.h',
198 'ref_counted_util.h',
199 'resource_bundle.cc',
200 'resource_bundle.h',
201 'resource_bundle_linux.cc',
202 'resource_bundle_win.cc',
203 'resource_dispatcher.cc',
204 'resource_dispatcher.h',
205 'sandbox_init_wrapper.cc',
206 'sandbox_init_wrapper.h',
207 'scoped_vector.h',
208 'security_filter_peer.cc',
209 'security_filter_peer.h',
210 'slide_animation.cc',
211 'slide_animation.h',
212 'sqlite_compiled_statement.cc',
213 'sqlite_compiled_statement.h',
214 'sqlite_utils.cc',
215 'sqlite_utils.h',
216 'stl_util-inl.h',
217 'task_queue.cc',
218 'task_queue.h',
219 'throb_animation.cc',
220 'throb_animation.h',
221 'thumbnail_score.cc',
222 'thumbnail_score.h',
223 'time_format.cc',
224 'time_format.h',
225 'unzip.cc',
226 'unzip.h',
227 'url_constants.cc',
228 'url_constants.h',
229 'visitedlink_common.cc',
230 'visitedlink_common.h',
231 'win_safe_util.cc',
232 'win_safe_util.h',
233 'win_util.cc',
234 'win_util.h',
235 'worker_thread_ticker.cc',
236 'worker_thread_ticker.h',
237 ])
238
239 if not env.Bit('windows'):
240 # TODO(port): This is temporary so we can link.
241 input_files.Append(
242 'temp_scaffolding_stubs.cc',
243 'file_descriptor_set_posix.cc',
244 )
245
246 # TODO(port): Port these.
247 input_files.Remove(
248 'chrome_process_filter.cc',
249 'drag_drop_types.cc',
250 'gfx/emf.cc',
251 'gfx/icon_util.cc',
252 'os_exchange_data.cc',
253 'process_watcher.cc',
254 )
255
256 if not env.Bit('windows'):
257 # Windows specific files
258 input_files.Remove(
259 'chrome_paths_win.cc',
260 'classfactory.cc',
261 'gfx/chrome_canvas_win.cc',
262 'gfx/chrome_font_win.cc',
263 'gfx/path_win.cc',
264 'ipc_channel_win.cc',
265 'platform_util_win.cc',
266 'resource_bundle_win.cc',
267 'win_safe_util.cc',
268 'win_util.cc',
269 '$CHROME_DIR/tools/build/win/precompiled$OBJSUFFIX',
270 )
271
272 if not env.Bit('linux'):
273 # Linux specific files
274 input_files.Remove(
275 'chrome_paths_linux.cc',
276 'gfx/chrome_canvas_skia.cc',
277 'gfx/chrome_font_gtk.cc',
278 'gfx/chrome_font_skia.cc',
279 'gfx/path_gtk.cc',
280 'owned_widget_gtk.cc',
281 'owned_widget_gtk.h',
282 'platform_util_linux.cc',
283 'resource_bundle_linux.cc',
284 )
285
286 if not env.Bit('mac'):
287 # Mac specific files
288 input_files.Remove(
289 'chrome_paths_mac.cc',
290 'platform_util_mac.mm',
291 )
292
293 if not env.Bit('posix'):
294 input_files.Remove(
295 'ipc_channel_posix.cc',
296 'l10n_util_posix.cc',
297 )
298
299 if env.Bit('windows'):
300 input_files.Append(
301 'transport_dib_win.cc'
302 )
303
304 if env.Bit('linux'):
305 input_files.Append(
306 '$CHROME_DIR/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
307 'transport_dib_linux.cc',
308 'x11_util.cc'
309 )
310
311 if env.Bit('mac'):
312 input_files.Append(
313 'transport_dib_mac.cc'
314 )
315
316 if not env.Bit('mac'):
317 # TODO(port): This should be enabled for all platforms.
318 env.ChromeLibrary('common', input_files)
319
320 p = env.ChromeMSVSProject('common.vcproj',
321 dest='$CHROME_SRC_DIR/chrome/common/common.vcproj',
322 guid='{899F1280-3441-4D1F-BA04-CCD6208D9146}',
323 keyword='Win32Proj',
324 dependencies = [
325 '$LIBXML_DIR/build/libxml_config.vcproj',
326 '$CHROME_DIR/app/generated_resources.vcproj',
327 ],
328 # TODO(sgk): when we can intuit the hierarchy
329 # from the built targets.
330 #buildtargets=TODO,
331 files=input_files,
332 relative_path_prefix='./',
333 tools=[
334 'VCPreBuildEventTool',
335 'VCCustomBuildTool',
336 'VCXMLDataGeneratorTool',
337 'VCWebServiceProxyGeneratorTool',
338 'VCMIDLTool',
339 'VCCLCompilerTool',
340 'VCManagedResourceCompilerTool',
341 'VCResourceCompilerTool',
342 'VCPreLinkEventTool',
343 'VCLibrarianTool',
344 'VCALinkTool',
345 'VCXDCMakeTool',
346 'VCBscMakeTool',
347 'VCFxCopTool',
348 'VCPostBuildEventTool',
349 ],
350 ConfigurationType='4')
351
352
353 p.AddConfig('Debug|Win32',
354 InheritedPropertySheets=[
355 './common.vsprops',
356 '$(SolutionDir)../build/debug.vsprops',
357 '../tools/build/win/precompiled.vsprops',
358 ])
359
360 p.AddConfig('Release|Win32',
361 InheritedPropertySheets=[
362 './common.vsprops',
363 '$(SolutionDir)../build/release.vsprops',
364 ])
365
366 p.AddFileConfig('../tools/build/win/precompiled.cc',
367 'Debug|Win32',
368 tools=[
369 MSVSTool('VCCLCompilerTool',
370 UsePrecompiledHeader='1'),
371 ])
OLDNEW
« no previous file with comments | « chrome/chrome_sln.scons ('k') | chrome/common/ipc_tests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698