Fix the regression caused by r72061.
[chromium-blink-merge.git] / gears / SConscript.inputs
blob60ee805f2a7c07c4bfc663cd391af46e32507792
1 # Copyright (c) 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.
5 Import('env')
7 types = ['CPPSRCS', 'M4SRCS', 'HTML_M4SRCS', 'I18N_M4SRCS', 'STABSRCS',
8          'IDLSRCS', 'RESSRCS', 'LINKSRCS', 'SHLINKSRCS']
10 # Set up aliases for shared inputs.
11 for type in types:
12   env['FF2_' + type] = ['$FF3_' + type]
13   env['NPAPI_' + type] = ['$USING_NPAPI_' + type]
14   env['SF_' + type] = ['$USING_NPAPI_' + type]
16 def InitBrowserInputs(env):
17   """Set up $BROWSER_XXXSRC = $${BROWSER}_XXXSRC.  Must be called by
18   SConscript.browser, when we have a BROWSER variable available."""
19   for type in types:
20     eval('env.Append(BROWSER_%s = ["$%s_%s"])' % (type, env['BROWSER'], type))
21 env.AddMethod(InitBrowserInputs)
24 #-----------------------------------------------------------------------------
25 # crash_sender
27 if env['OS'] == 'win32':
28   env.Append(CRASH_SENDER_CPPSRCS = [
29       '$OPEN_DIR/crash_sender/crash_sender_win32.cc',
30       '$THIRD_PARTY_DIR/breakpad/src/client/windows/sender/crash_report_sender.cc',
31       '$THIRD_PARTY_DIR/breakpad/src/common/windows/http_upload.cc',
32   ])
33 elif env['OS'] == 'osx':
34   env.Append(CRASH_SENDER_CPPSRCS = [
35       '$OPEN_DIR/base/common/exception_handler_osx/nshost_macaddress.m',
36       '$OPEN_DIR/crash_sender/crash_sender_osx.m',
37       '$THIRD_PARTY_DIR/breakpad/src/common/mac/HTTPMultipartUpload.m',
38   ])
40   env.Append(OSX_CRASH_INSPECTOR_CPPSRCS = [
41       '$THIRD_PARTY_DIR/breakpad_osx/src/common/convert_UTF.c',
42       '$OPEN_DIR/base/common/exception_handler_osx/inspector.mm',
43       '$OPEN_DIR/base/common/exception_handler_osx/mach_ipc.mm',
44       '$OPEN_DIR/base/common/exception_handler_osx/on_demand_server.mm',
45       '$OPEN_DIR/base/common/exception_handler_osx/simple_string_dictionary.mm',
46   ])
48 #-----------------------------------------------------------------------------
49 # launch_url_with_browser
51 env.Append(OSX_LAUNCHURL_CPPSRCS = [
52     '$OPEN_DIR/base/safari/launch_url_in_browser.cc',
55 #-----------------------------------------------------------------------------
56 # ipc_test
58 env.Append(COMMON_M4SRCS = [
59     '$OPEN_DIR/base/common/product_constants.h.m4',
62 env.Append(IPC_TEST_CPPSRCS = [
63     '$OPEN_DIR/base/common/event.cc',
64     '$OPEN_DIR/base/common/ipc_message_queue_linux.cc',
65     '$OPEN_DIR/base/common/ipc_message_queue_null.cc',
66     '$OPEN_DIR/base/common/ipc_message_queue_test.cc',
67     '$OPEN_DIR/base/common/ipc_message_queue_test_linux.cc',
68     '$OPEN_DIR/base/common/ipc_message_queue_test_win32.cc',
69     '$OPEN_DIR/base/common/ipc_message_queue_win32.cc',
70     '$OPEN_DIR/base/common/mutex.cc',
71     '$OPEN_DIR/base/common/mutex_posix.cc',
72     '$OPEN_DIR/base/common/mutex_win32.cc',
73     '$OPEN_DIR/base/common/serialization.cc',
74     '$OPEN_DIR/base/common/stopwatch.cc',
75     '$OPEN_DIR/base/common/stopwatch_posix.cc',
76     '$OPEN_DIR/base/common/stopwatch_win32.cc',
77     '$OPEN_DIR/base/common/string16.cc',
78     '$OPEN_DIR/base/common/string_utils.cc',
79     '$OPEN_DIR/base/common/string_utils_osx.cc',
80     '$OPEN_DIR/base/common/thread.cc',
81     '$OPEN_DIR/base/common/thread_posix.cc',
82     '$OPEN_DIR/base/common/thread_win32.cc',
83     '$OPEN_DIR/base/common/time_utils_win32.cc',
86 if env['OS'] == 'osx':
87   env.Append(IPC_TEST_CPPSRCS = [
88     '$OPEN_DIR/base/common/common_osx.mm',
89     '$OPEN_DIR/base/common/ipc_message_queue_test_osx.mm',
90   ])
92 env.Append(IPC_TEST_CPPSRCS = [
93     '$THIRD_PARTY_DIR/convert_utf/ConvertUTF.c'
96 #-----------------------------------------------------------------------------
97 # inspector
99 if not env['OFFICIAL_BUILD']:
100   env.Append(COMMON_BINSRCS = [
101       '$OPEN_DIR/inspector/console.html',
102       '$OPEN_DIR/inspector/database.html',
103       '$OPEN_DIR/inspector/index.html',
104       '$OPEN_DIR/inspector/localserver.html',
105       '$OPEN_DIR/inspector/common/alert-35.png',
106       '$OPEN_DIR/inspector/common/database.gif',
107       '$OPEN_DIR/inspector/common/error-35.png',
108       '$OPEN_DIR/inspector/common/ie6hacks.css',
109       '$OPEN_DIR/inspector/common/inspector_links.js',
110       '$OPEN_DIR/inspector/common/lightbulb-35.png',
111       '$OPEN_DIR/inspector/common/localserver.gif',
112       '$OPEN_DIR/inspector/common/question-35.png',
113       '$OPEN_DIR/inspector/common/styles.css',
114       '$OPEN_DIR/inspector/common/workerpool.gif',
115       '$OPEN_DIR/sdk/gears_init.js',
116       '$OPEN_DIR/ui/common/base.js',
117       '$OPEN_DIR/ui/common/dom.js',
118       '$OPEN_DIR/ui/common/icon_32x32.png',
119   ])
121 #-----------------------------------------------------------------------------
122 # installer
124 env.Append(COMMON_M4SRCS = [
125     '$OPEN_DIR/installer/npapi_msi.wxs.m4',
126     '$OPEN_DIR/installer/win32_msi.wxs.m4',
127     '$OPEN_DIR/installer/wince_cab_ie.inf.m4',
128     '$OPEN_DIR/installer/wince_cab_op.inf.m4',
131 #-----------------------------------------------------------------------------
132 # installer/safari
134 env.Append(SF_M4SRCS = [
135     '$OPEN_DIR/installer/safari/installer.packproj.m4',
136     '$OPEN_DIR/tools/osx/Info.plist.m4',
139 #-----------------------------------------------------------------------------
140 # Keystone
142 env.Append(SF_M4SRCS = [
143     '$PRIVATE_DIR/tools/osx/installer/InstallationCheck.strings.m4',
144     '$PRIVATE_DIR/tools/osx/installer/keystone_installer.packproj.m4',
145     '$PRIVATE_DIR/tools/osx/installer/postflight.sh.m4',
148 #-----------------------------------------------------------------------------
149 # mozjs bindings
151 mozjs_sources = [
152     '$MOZJS_DIR/gears_npapi_bindings/mozjs_npruntime.cc',
153     '$MOZJS_DIR/gears_npapi_bindings/mozjs_npruntime_utils.cc',
154     '$OPEN_DIR/base/common/js_standalone_engine_mozjs.cc',
155     '$MOZJS_DIR/gears_npapi_bindings/mozjs_npapi_storage.cc'
158 def MozjsSources(env):
159   return env.SharedObject(mozjs_sources,
160       CPPPATH = env['CPPPATH'] + env['MOZJS_INCLUDE_PATHS'])
161 env['MozjsSources'] = MozjsSources
163 env.Append(SF_LINKSRCS = '${MozjsSources(__env__)}')
165 #-----------------------------------------------------------------------------
166 # third_party/breakpad
168 if env['OS'] == 'win32':
169   env.Append(NPAPI_CPPSRCS = [
170       '$THIRD_PARTY_DIR/breakpad/src/client/exception_handler_stub.cc',
171   ])
173   env.Append(IE_CPPSRCS = [
174       '$THIRD_PARTY_DIR/breakpad/src/client/windows/handler/exception_handler.cc',
175       '$THIRD_PARTY_DIR/breakpad/src/common/windows/guid_string.cc',
176       '$OPEN_DIR/base/common/exception_handler_win32.cc',
177   ])
179   env.Append(FF3_CPPSRCS = [
180       '$THIRD_PARTY_DIR/breakpad/src/client/windows/handler/exception_handler.cc',
181       '$THIRD_PARTY_DIR/breakpad/src/common/windows/guid_string.cc',
182       '$OPEN_DIR/base/common/exception_handler_win32.cc',
183   ])
185 #-----------------------------------------------------------------------------
186 # third_party/breakpad_osx
188 env.Append(SF_CPPSRCS = [
189     '$OPEN_DIR/base/common/exception_handler_osx.mm',
190     '$OPEN_DIR/base/common/exception_handler_osx/google_breakpad.mm',
191     '$OPEN_DIR/base/common/exception_handler_osx/mach_ipc.mm',
192     '$OPEN_DIR/base/common/exception_handler_osx/on_demand_server.mm',
193     '$OPEN_DIR/base/common/exception_handler_osx/simple_string_dictionary.mm'
196 #-----------------------------------------------------------------------------
197 # third_party/v8/bindings
199 if env['OS'] == 'win32':
200   env.Append(NPAPI_CPPSRCS = [
201       '$THIRD_PARTY_DIR/v8/bindings_local/npruntime.cc',
202       '$THIRD_PARTY_DIR/v8/bindings_local/np_v8object.cc',
203       '$THIRD_PARTY_DIR/v8/bindings_local/v8_helpers.cc',
204       '$THIRD_PARTY_DIR/v8/bindings_local/v8_np_utils.cc',
205       '$THIRD_PARTY_DIR/v8/bindings_local/v8_npobject.cc',
206   ])
208 #-----------------------------------------------------------------------------
209 # third_party/convert_utf
211 env.Append(BROWSER_CPPSRCS = [
212     '$THIRD_PARTY_DIR/convert_utf/ConvertUTF.c'
215 #-----------------------------------------------------------------------------
216 # third_party/jsoncpp
218 env.Append(BROWSER_CPPSRCS = [
219     '$THIRD_PARTY_DIR/jsoncpp/json_reader.cc',
220     '$THIRD_PARTY_DIR/jsoncpp/json_value.cc',
221     '$THIRD_PARTY_DIR/jsoncpp/json_writer.cc',
224 #-----------------------------------------------------------------------------
225 # third_party/modp_b64
227 env.Append(BROWSER_CPPSRCS = [
228     '$THIRD_PARTY_DIR/modp_b64/modp_b64.cc',
231 #-----------------------------------------------------------------------------
232 # base/common
234 env.Append(BROWSER_M4SRCS = [
235     '$OPEN_DIR/base/common/product_version.rc.m4'
238 env.Append(BROWSER_CPPSRCS = [
239     '$OPEN_DIR/base/common/async_router.cc',
240     '$OPEN_DIR/base/common/base_class.cc',
241     '$OPEN_DIR/base/common/base64.cc',
242     '$OPEN_DIR/base/common/byte_store.cc',
243     '$OPEN_DIR/base/common/byte_store_test.cc',
244     '$OPEN_DIR/base/common/circular_buffer_test.cc',
245     '$OPEN_DIR/base/common/common_np_android.cc',
246     '$OPEN_DIR/base/common/common_win32.cc',
247     '$OPEN_DIR/base/common/database_name_table.cc',
248     '$OPEN_DIR/base/common/event.cc',
249     '$OPEN_DIR/base/common/event_test.cc',
250     '$OPEN_DIR/base/common/file.cc',
251     '$OPEN_DIR/base/common/file_posix.cc',
252     '$OPEN_DIR/base/common/file_test.cc',
253     '$OPEN_DIR/base/common/file_win32.cc',
254     '$OPEN_DIR/base/common/file_wince.cc',
255     '$OPEN_DIR/base/common/html_event_monitor.cc',
256     '$OPEN_DIR/base/common/http_utils.cc',
257     '$OPEN_DIR/base/common/js_dom_element.cc',
258     '$OPEN_DIR/base/common/js_marshal.cc',
259     '$OPEN_DIR/base/common/js_runner_utils.cc',
260     '$OPEN_DIR/base/common/js_types.cc',
261     '$OPEN_DIR/base/common/leak_counter.cc',
262     '$OPEN_DIR/base/common/memory_buffer.cc',
263     '$OPEN_DIR/base/common/memory_buffer_test.cc',
264     '$OPEN_DIR/base/common/message_queue.cc',
265     '$OPEN_DIR/base/common/message_queue_android.cc',
266     '$OPEN_DIR/base/common/message_service.cc',
267     '$OPEN_DIR/base/common/message_service_test.cc',
268     '$OPEN_DIR/base/common/mime_detect.cc',
269     '$OPEN_DIR/base/common/mutex.cc',
270     '$OPEN_DIR/base/common/mutex_posix.cc',
271     '$OPEN_DIR/base/common/mutex_test.cc',
272     '$OPEN_DIR/base/common/mutex_win32.cc',
273     '$OPEN_DIR/base/common/name_value_table.cc',
274     '$OPEN_DIR/base/common/name_value_table_test.cc',
275     '$OPEN_DIR/base/common/paths.cc',
276     '$OPEN_DIR/base/common/paths_android.cc',
277     '$OPEN_DIR/base/common/permissions_db.cc',
278     '$OPEN_DIR/base/common/permissions_db_test.cc',
279     '$OPEN_DIR/base/common/permissions_manager.cc',
280     '$OPEN_DIR/base/common/position_table.cc',
281     '$OPEN_DIR/base/common/process_utils_win32.cc',
282     '$OPEN_DIR/base/common/png_utils.cc',
283     '$OPEN_DIR/base/common/scoped_refptr_test.cc',
284     '$OPEN_DIR/base/common/security_model.cc',
285     '$OPEN_DIR/base/common/security_model_test.cc',
286     '$OPEN_DIR/base/common/serialization.cc',
287     '$OPEN_DIR/base/common/serialization_test.cc',
288     '$OPEN_DIR/base/common/shortcut_table.cc',
289     '$OPEN_DIR/base/common/sqlite_wrapper.cc',
290     '$OPEN_DIR/base/common/sqlite_wrapper_test.cc',
291     '$OPEN_DIR/base/common/stopwatch.cc',
292     '$OPEN_DIR/base/common/stopwatch_posix.cc',
293     '$OPEN_DIR/base/common/stopwatch_win32.cc',
294     '$OPEN_DIR/base/common/string16.cc',
295     '$OPEN_DIR/base/common/string_utils.cc',
296     '$OPEN_DIR/base/common/string_utils_osx.cc',
297     '$OPEN_DIR/base/common/string_utils_test.cc',
298     '$OPEN_DIR/base/common/thread.cc',
299     '$OPEN_DIR/base/common/thread_locals.cc',
300     '$OPEN_DIR/base/common/thread_posix.cc',
301     '$OPEN_DIR/base/common/thread_win32.cc',
302     '$OPEN_DIR/base/common/timed_call.cc',
303     '$OPEN_DIR/base/common/timed_call_test.cc',
304     '$OPEN_DIR/base/common/time_utils_win32.cc',
305     '$OPEN_DIR/base/common/url_utils.cc',
306     '$OPEN_DIR/base/common/url_utils_test.cc',
307     '$OPEN_DIR/base/common/user_config.cc',
308     '$OPEN_DIR/base/common/vista_utils.cc',
309     '$OPEN_DIR/base/common/wince_compatibility.cc',
312 if env['OS'] == 'osx':
313   env.Append(BROWSER_CPPSRCS = [
314       '$OPEN_DIR/base/common/common_osx.mm',
315       '$OPEN_DIR/base/safari/nsstring_utils.mm',
316       '$OPEN_DIR/base/common/user_config_osx.cc',
317       '$OPEN_DIR/notifier/notifier_process_osx.mm',
318   ])
320 #-----------------------------------------------------------------------------
321 # base/firefox
323 env.Append(FF3_M4SRCS = [
324     '$OPEN_DIR/base/firefox/install.rdf.m4',
327 env.Append(FF3_IDLSRCS = [
328     '$OPEN_DIR/base/firefox/interfaces.idl',
331 env.Append(FF3_CPPSRCS = [
332     '$OPEN_DIR/base/common/html_event_monitor_ff.cc',
333     '$OPEN_DIR/base/common/ipc_message_queue_linux.cc',
334     '$OPEN_DIR/base/common/ipc_message_queue_null.cc',
335     '$OPEN_DIR/base/common/ipc_message_queue_test.cc',
336     '$OPEN_DIR/base/common/ipc_message_queue_test_linux.cc',
337     '$OPEN_DIR/base/common/ipc_message_queue_test_win32.cc',
338     '$OPEN_DIR/base/common/ipc_message_queue_win32.cc',
339     '$OPEN_DIR/base/common/js_runner_ff.cc',
340     '$OPEN_DIR/base/common/js_runner_ff_marshaling.cc',
341     '$OPEN_DIR/base/common/message_queue_ff.cc',
342     '$OPEN_DIR/base/common/paths_ff.cc',
343     '$OPEN_DIR/base/firefox/dom_utils.cc',
344     '$OPEN_DIR/base/firefox/module.cc',
345     '$OPEN_DIR/base/firefox/ns_file_utils.cc',
346     '$OPEN_DIR/base/firefox/xpcom_dynamic_load.cc',
349 if env['OS'] == 'osx':
350   env.Append(FF3_CPPSRCS = [
351       '$OPEN_DIR/base/common/ipc_message_queue_test_osx.mm',
352   ])
354 #-----------------------------------------------------------------------------
355 # base/ie
357 env.Append(IE_M4SRCS = [
358     '$OPEN_DIR/base/ie/bho.rgs.m4',
359     '$OPEN_DIR/base/ie/interfaces.idl.m4',
360     '$OPEN_DIR/base/ie/module.rgs.m4',
363 env.Append(IE_IDLSRCS = [
364     '$GENFILES_DIR/interfaces.idl',
367 env.Append(IE_CPPSRCS = [
368     '$OPEN_DIR/base/ie/activex_utils.cc',
369     '$OPEN_DIR/base/ie/bho.cc',
370     '$OPEN_DIR/base/common/detect_version_collision_win32.cc',
371     '$OPEN_DIR/base/ie/dispatcher_to_idispatch.cc',
372     '$OPEN_DIR/base/common/ipc_message_queue_null.cc',
373     '$OPEN_DIR/base/common/ipc_message_queue_test.cc',
374     '$OPEN_DIR/base/common/ipc_message_queue_test_win32.cc',
375     '$OPEN_DIR/base/common/ipc_message_queue_win32.cc',
376     '$OPEN_DIR/base/common/js_runner_ie.cc',
377     '$OPEN_DIR/base/common/message_queue_win32.cc',
378     '$OPEN_DIR/base/ie/module.cc',
379     '$OPEN_DIR/base/ie/module_wrapper.cc',
380     '$OPEN_DIR/base/common/paths_ie.cc',
383 if env['OS'] == 'win32':
384   env.Append(IE_CPPSRCS = [
385       '$OPEN_DIR/base/common/html_event_monitor_ie.cc',
386       '$OPEN_DIR/base/ie/browser_listener.cc',
387       '$OPEN_DIR/base/ie/ie_version.cc',
388   ])
389 elif env['OS'] == 'wince':
390   env.Append(IE_CPPSRCS = [
391       '$OPEN_DIR/base/common/html_event_monitor_iemobile.cc',
392   ])
394 #-----------------------------------------------------------------------------
395 # base/chrome + npapi
397 env.Append(NPAPI_CPPSRCS = [
398     '$OPEN_DIR/base/common/html_event_monitor_np.cc',
399     '$OPEN_DIR/base/common/ipc_message_queue_linux.cc',
400     '$OPEN_DIR/base/common/ipc_message_queue_null.cc',
401     '$OPEN_DIR/base/common/ipc_message_queue_test.cc',
402     '$OPEN_DIR/base/common/ipc_message_queue_test_linux.cc',
403     '$OPEN_DIR/base/common/ipc_message_queue_test_win32.cc',
404     '$OPEN_DIR/base/common/ipc_message_queue_win32.cc',
405     '$OPEN_DIR/base/npapi/browser_utils.cc',
406     '$OPEN_DIR/base/npapi/module.cc',
407     '$OPEN_DIR/base/npapi/np_utils.cc',
408     '$OPEN_DIR/base/npapi/npn_bindings.cc',
409     '$OPEN_DIR/base/npapi/npp_bindings.cc',
410     '$OPEN_DIR/base/npapi/plugin.cc',
413 if env['OS'] == 'win32':
414   env.Append(NPAPI_CPPSRCS = [
415       '$OPEN_DIR/base/chrome/module_cr.cc',
416       '$OPEN_DIR/base/common/js_runner_cr.cc',
417       '$OPEN_DIR/base/common/paths_cr.cc',
418       '$OPEN_DIR/base/common/detect_version_collision_win32.cc',
419       '$OPEN_DIR/base/common/message_queue_cr.cc',
420       '$OPEN_DIR/base/ie/ie_version.cc',
421   ])
423 #-----------------------------------------------------------------------------
424 # base/safari
425 env.Append(SF_CPPSRCS = [
426     '$OPEN_DIR/base/common/common_sf.mm',
427     '$OPEN_DIR/base/common/detect_version_collision_osx.cc',
428     '$OPEN_DIR/base/common/html_event_monitor_np.cc',
429     '$OPEN_DIR/base/common/ipc_message_queue_linux.cc',
430     '$OPEN_DIR/base/common/ipc_message_queue_test.cc',
431     '$OPEN_DIR/base/common/ipc_message_queue_test_osx.mm',
432     '$OPEN_DIR/base/common/js_runner_np.cc',
433     '$OPEN_DIR/base/common/message_queue_sf.cc',
434     '$OPEN_DIR/base/common/paths_sf.mm',
435     '$OPEN_DIR/base/common/paths_sf_more.mm',
436     '$OPEN_DIR/base/npapi/browser_utils.cc',
437     '$OPEN_DIR/base/npapi/module.cc',
438     '$OPEN_DIR/base/npapi/np_utils.cc',
439     '$OPEN_DIR/base/npapi/npn_bindings.cc',
440     '$OPEN_DIR/base/npapi/npp_bindings.cc',
441     '$OPEN_DIR/base/npapi/plugin.cc',
442     '$OPEN_DIR/base/safari/browser_load_hook.mm',
443     '$OPEN_DIR/base/safari/browser_utils_sf.cc',
444     '$OPEN_DIR/base/safari/curl_downloader.mm',
445     '$OPEN_DIR/base/safari/messagebox.mm',
446     '$OPEN_DIR/base/safari/proxy_resolver_mac.cc',
447     '$OPEN_DIR/base/safari/safari_workarounds.m',
450 #-----------------------------------------------------------------------------
451 # console
453 env.Append(BROWSER_CPPSRCS = [
454     '$OPEN_DIR/console/console.cc',
455     '$OPEN_DIR/console/js_callback_logging_backend.cc',
458 #-----------------------------------------------------------------------------
459 # canvas
461 # The Canvas API is not yet enabled in official builds.
462 if not env['OFFICIAL_BUILD'] and env['OS'] in ['win32', 'osx']:
463   env.Append(BROWSER_CPPSRCS = [
464       '$OPEN_DIR/canvas/blob_backed_skia_input_stream.cc',
465       '$OPEN_DIR/canvas/blob_backed_skia_output_stream.cc',
466       '$OPEN_DIR/canvas/canvas.cc',
467       '$OPEN_DIR/canvas/canvas_rendering_context_2d.cc',
468   ])
470 #-----------------------------------------------------------------------------
471 # database
473 env.Append(BROWSER_CPPSRCS = [
474     '$OPEN_DIR/database/database.cc',
475     '$OPEN_DIR/database/database_utils.cc',
476     '$OPEN_DIR/database/database_utils_test.cc',
477     '$OPEN_DIR/database/result_set.cc',
480 #-----------------------------------------------------------------------------
481 # database2
483 env.Append(BROWSER_CPPSRCS = [
484     '$OPEN_DIR/database2/connection.cc',
485     '$OPEN_DIR/database2/commands.cc',
486     '$OPEN_DIR/database2/database2.cc',
487     '$OPEN_DIR/database2/database2_common.cc',
488     '$OPEN_DIR/database2/database2_metadata.cc',
489     '$OPEN_DIR/database2/interpreter.cc',
490     '$OPEN_DIR/database2/manager.cc',
491     '$OPEN_DIR/database2/result_set2.cc',
492     '$OPEN_DIR/database2/statement.cc',
493     '$OPEN_DIR/database2/transaction.cc',
496 #-----------------------------------------------------------------------------
497 # desktop
499 env.Append(BROWSER_CPPSRCS = [
500     '$OPEN_DIR/desktop/desktop.cc',
501     '$OPEN_DIR/desktop/desktop_android.cc',
502     '$OPEN_DIR/desktop/desktop_linux.cc',
503     '$OPEN_DIR/desktop/desktop_osx.cc',
504     '$OPEN_DIR/desktop/desktop_test.cc',
505     '$OPEN_DIR/desktop/desktop_win32.cc',
506     '$OPEN_DIR/desktop/dll_data_wince.cc',
507     '$OPEN_DIR/desktop/drop_target_base.cc',
508     '$OPEN_DIR/desktop/drop_target_registration.cc',
509     '$OPEN_DIR/desktop/notification_message_orderer.cc',
510     '$OPEN_DIR/desktop/shortcut_utils_win32.cc',
513 if env['OS'] == 'win32':
514   env.Append(NPAPI_CPPSRCS = [
515       '$OPEN_DIR/desktop/desktop_cr.cc',
516   ])
518 env.Append(BROWSER_CPPSRCS = [
519     '$OPEN_DIR/desktop/file_dialog.cc',
520     '$OPEN_DIR/desktop/file_dialog_gtk.cc',
521     '$OPEN_DIR/desktop/file_dialog_osx.cc',
522     '$OPEN_DIR/desktop/file_dialog_win32.cc',
523     '$OPEN_DIR/desktop/file_dialog_android.cc',
526 # The browser module also needs these files, to communicate with the notifier.
527 env.Append(BROWSER_CPPSRCS = [
528     '$OPEN_DIR/notifier/const_notifier.cc',
529     '$OPEN_DIR/notifier/notifier_process_linux.cc',
530     '$OPEN_DIR/notifier/notifier_process_posix.cc',
531     '$OPEN_DIR/notifier/notifier_process_win32.cc',
532     '$OPEN_DIR/notifier/notifier_proxy.cc',
533     '$OPEN_DIR/notifier/notifier_utils_win32.cc',
534     '$OPEN_DIR/notifier/notification.cc',
537 if not env['OFFICIAL_BUILD']:
538   # The Drag-and-Drop API has not been finalized for official builds.
539   env.Append(BROWSER_CPPSRCS = [
540       '$OPEN_DIR/desktop/drag_and_drop_utils_common.cc',
541   ])
543   env.Append(FF3_CPPSRCS = [
544       '$OPEN_DIR/desktop/drag_and_drop_utils_ff.cc',
545       '$OPEN_DIR/desktop/drop_target_ff.cc',
546   ])
548   env.Append(IE_CPPSRCS = [
549       '$OPEN_DIR/desktop/drag_and_drop_utils_ie.cc',
550       '$OPEN_DIR/desktop/drop_target_ie.cc',
551   ])
553   env.Append(SF_CPPSRCS = [
554       '$OPEN_DIR/desktop/drag_and_drop_utils_sf.mm',
555       '$OPEN_DIR/desktop/drop_target_sf.cc',
556   ])
558 #-----------------------------------------------------------------------------
559 # localserver/common
561 env.Append(BROWSER_CPPSRCS = [
562     '$OPEN_DIR/localserver/common/async_task_test.cc',
563     '$OPEN_DIR/localserver/common/blob_store.cc',
564     '$OPEN_DIR/localserver/common/capture_task.cc',
565     '$OPEN_DIR/localserver/common/file_store.cc',
566     '$OPEN_DIR/localserver/common/http_constants.cc',
567     '$OPEN_DIR/localserver/common/localserver.cc',
568     '$OPEN_DIR/localserver/common/localserver_db.cc',
569     '$OPEN_DIR/localserver/common/localserver_perf_test.cc',
570     '$OPEN_DIR/localserver/common/managed_resource_store.cc',
571     '$OPEN_DIR/localserver/common/manifest.cc',
572     '$OPEN_DIR/localserver/common/progress_event.cc',
573     '$OPEN_DIR/localserver/common/resource_store.cc',
574     '$OPEN_DIR/localserver/common/safe_http_request.cc',
575     '$OPEN_DIR/localserver/common/update_task.cc',
576     '$OPEN_DIR/localserver/common/update_task_single_process.cc',
577     '$OPEN_DIR/localserver/file_submitter.cc',
578     '$OPEN_DIR/localserver/localserver_module.cc',
579     '$OPEN_DIR/localserver/managed_resource_store_module.cc',
580     '$OPEN_DIR/localserver/resource_store_module.cc',
583 env.Append(IE_CPPSRCS = [
584     '$OPEN_DIR/localserver/common/http_cookies.cc',
587 env.Append(FF3_CPPSRCS = [
588     '$OPEN_DIR/localserver/common/http_cookies.cc',
591 env.Append(SF_CPPSRCS = [
592     '$OPEN_DIR/localserver/common/http_cookies.cc',
595 #-----------------------------------------------------------------------------
596 # localserver/chrome + npapi
598 env.Append(NPAPI_CPPSRCS = [
599     '$OPEN_DIR/localserver/npapi/async_task_np.cc',
602 if env['OS'] == 'win32':
603   env.Append(NPAPI_CPPSRCS = [
604       '$OPEN_DIR/localserver/chrome/gears_protocol_handler.cc',
605       '$OPEN_DIR/localserver/chrome/network_intercept_cr.cc',
606       '$OPEN_DIR/localserver/chrome/http_cookies_cr.cc',
607       '$OPEN_DIR/localserver/chrome/http_request_cr.cc',
608       '$OPEN_DIR/localserver/chrome/update_task_cr.cc',
609   ])
611 #-----------------------------------------------------------------------------
612 # localserver/safari
614 env.Append(SF_CPPSRCS = [
615     '$OPEN_DIR/localserver/safari/async_task_sf.mm',
616      '$OPEN_DIR/localserver/safari/http_cookies_sf.mm',
617      '$OPEN_DIR/localserver/safari/http_handler.mm',
618      '$OPEN_DIR/localserver/safari/http_request_delegate.mm',
619      '$OPEN_DIR/localserver/safari/http_request_sf.mm',
620      '$OPEN_DIR/localserver/safari/localserver_db_proxy.mm',
621      '$OPEN_DIR/localserver/safari/progress_input_stream.mm',
622      '$OPEN_DIR/localserver/safari/ui_thread.cc'
625 #-----------------------------------------------------------------------------
626 # localserver/firefox
628 env.Append(FF3_CPPSRCS = [
629     '$OPEN_DIR/localserver/firefox/async_task_ff.cc',
630     '$OPEN_DIR/localserver/firefox/cache_intercept.cc',
631     '$OPEN_DIR/localserver/firefox/http_request_ff.cc',
632     '$OPEN_DIR/localserver/firefox/progress_input_stream.cc',
635 #-----------------------------------------------------------------------------
636 # localserver/ie
638 env.Append(IE_CPPSRCS = [
639     '$OPEN_DIR/localserver/ie/async_task_ie.cc',
640     '$OPEN_DIR/localserver/ie/file_submit_behavior.cc',
641     '$OPEN_DIR/localserver/ie/http_handler_ie.cc',
642     '$OPEN_DIR/localserver/ie/http_request_ie.cc',
643     '$OPEN_DIR/localserver/ie/progress_input_stream.cc',
644     '$OPEN_DIR/localserver/ie/update_task_ie.cc',
645     '$OPEN_DIR/localserver/ie/urlmon_utils.cc',
648 #-----------------------------------------------------------------------------
649 # dummy_module
651 env.Append(BROWSER_CPPSRCS = [
652     '$OPEN_DIR/dummy/dummy_module.cc',
655 #-----------------------------------------------------------------------------
656 # test
658 env.Append(BROWSER_CPPSRCS = [
659     '$OPEN_DIR/cctests/test.cc',
662 #-----------------------------------------------------------------------------
663 # ui/generated
665 # Anything with the _I18N suffix will be expanded for each language in
666 # I18N_LANGS
668 env.Append(BROWSER_HTML_M4SRCS = [
669     '$OPEN_DIR/ui/common/alert_dialog.html_m4',
670     '$OPEN_DIR/ui/common/permissions_dialog.html_m4',
671     '$OPEN_DIR/ui/common/settings_dialog.html_m4',
672     '$OPEN_DIR/ui/common/shortcuts_dialog.html_m4',
675 env.Append(FF3_I18N_M4SRCS = [
676     '$OPEN_DIR/ui/generated/' + lang + '/i18n.dtd.m4'
677     for lang in env['I18N_LANGS']
680 #-----------------------------------------------------------------------------
681 # ui/common (built for all browsers)
683 env.Append(BROWSER_CPPSRCS = [
684     '$OPEN_DIR/ui/common/alert_dialog.cc',
685     '$OPEN_DIR/ui/common/html_dialog.cc',
686     '$OPEN_DIR/ui/common/i18n_strings.cc',
687     '$OPEN_DIR/ui/common/permissions_dialog.cc',
688     '$OPEN_DIR/ui/common/window_utils.cc',
691 env.Append(IE_CPPSRCS = [
692     '$OPEN_DIR/ui/common/settings_dialog.cc',
695 env.Append(FF3_CPPSRCS = [
696     '$OPEN_DIR/ui/common/settings_dialog.cc',
699 env.Append(SF_CPPSRCS = [
700     '$OPEN_DIR/ui/common/settings_dialog.cc',
703 env.Append(BROWSER_STABSRCS = [
704     '$OPEN_DIR/ui/common/alert_dialog.js.stab',
705     '$OPEN_DIR/ui/common/permissions_dialog.js.stab',
706     '$OPEN_DIR/ui/common/settings_dialog.js.stab',
707     '$OPEN_DIR/ui/common/shortcuts_dialog.js.stab',
710 #-----------------------------------------------------------------------------
711 # ui/npapi
713 env.Append(NPAPI_M4SRCS = [
714     '$OPEN_DIR/ui/ie/ui_resources.rc.m4',
717 #-----------------------------------------------------------------------------
718 # ui/chrome
720 if env['OS'] == 'win32':
721   env.Append(NPAPI_CPPSRCS = [
722       '$OPEN_DIR/ui/chrome/settings_dialog_cr.cc',
723       '$OPEN_DIR/ui/chrome/html_dialog_cr.cc',
724   ])
726 #-----------------------------------------------------------------------------
727 # ui/safari
729 env.Append(SF_CPPSRCS = [
730     '$OPEN_DIR/ui/safari/html_dialog_sf.mm',
731     '$OPEN_DIR/ui/safari/html_modeless_dialog_sf.mm',
732     '$OPEN_DIR/ui/safari/native_dialogs_osx.mm',
733     '$OPEN_DIR/ui/safari/settings_menu.mm',
736 #-----------------------------------------------------------------------------
737 # ui/factory
739 env.Append(FF3_M4SRCS = [
740     '$OPEN_DIR/ui/firefox/browser-overlay.js.m4',
741     '$OPEN_DIR/ui/firefox/browser-overlay.xul.m4',
742     '$OPEN_DIR/ui/firefox/chrome.manifest.m4',
745 env.Append(FF3_IDLSRCS = [
746     '$OPEN_DIR/ui/firefox/ui_utils.idl',
749 env.Append(FF3_CPPSRCS = [
750     '$OPEN_DIR/ui/firefox/html_dialog_ff.cc',
751     '$OPEN_DIR/ui/firefox/ui_utils.cc',
754 #-----------------------------------------------------------------------------
755 # ui/ie
757 env.Append(IE_M4SRCS = [
758     '$OPEN_DIR/ui/ie/tools_menu_item.rgs.m4',
759     '$OPEN_DIR/ui/ie/ui_resources.rc.m4',
762 env.Append(IE_IDLSRCS = [
763     '$OPEN_DIR/ui/ie/html_dialog_host.idl',
766 env.Append(IE_CPPSRCS = [
767     '$OPEN_DIR/ui/ie/html_dialog_ie.cc',
768     '$OPEN_DIR/ui/ie/tools_menu_item.cc',
771 env.Append(IE_STABSRCS = [
772     '$OPEN_DIR/ui/ie/string_table.rc.stab',
775 # Additional files specific to Win32 or WinCE.
776 if env['OS'] == 'win32':
777   env.Append(IE_CPPSRCS = [
778       '$OPEN_DIR/ui/ie/html_dialog_host.cc',
779   ])
780 elif env['OS'] == 'wince':
781   env.Append(IE_M4SRCS = [
782       '$OPEN_DIR/ui/ie/html_dialog_bridge_iemobile.rgs.m4',
783   ])
785   env.Append(IE_IDLSRCS = [
786       '$OPEN_DIR/ui/ie/html_dialog_host_iemobile.idl',
787       '$OPEN_DIR/ui/ie/html_dialog_bridge_iemobile.idl',
788   ])
790   env.Append(IE_CPPSRCS = [
791       '$OPEN_DIR/ui/ie/html_dialog_host_iemobile.cc',
792       '$OPEN_DIR/ui/ie/html_dialog_bridge_iemobile.cc',
793   ])
795 #-----------------------------------------------------------------------------
796 # workerpool/npapi
798 env.Append(USING_NPAPI_CPPSRCS = [
799     '$OPEN_DIR/workerpool/common/workerpool_utils.cc',
800     '$OPEN_DIR/workerpool/npapi/pool_threads_manager.cc',
801     '$OPEN_DIR/workerpool/workerpool.cc',
804 #-----------------------------------------------------------------------------
805 # workerpool/firefox
807 env.Append(FF3_CPPSRCS = [
808     '$OPEN_DIR/workerpool/common/workerpool_utils.cc',
809     '$OPEN_DIR/workerpool/firefox/pool_threads_manager.cc',
810     '$OPEN_DIR/workerpool/workerpool.cc',
813 #-----------------------------------------------------------------------------
814 # workerpool/ie
816 env.Append(IE_CPPSRCS = [
817     '$OPEN_DIR/workerpool/common/workerpool_utils.cc',
818     '$OPEN_DIR/workerpool/ie/pool_threads_manager.cc',
819     '$OPEN_DIR/workerpool/workerpool.cc',
822 #-----------------------------------------------------------------------------
823 # timer
825 env.Append(BROWSER_CPPSRCS = [
826     '$OPEN_DIR/timer/timer.cc',
829 #-----------------------------------------------------------------------------
830 # httprequest
832 env.Append(BROWSER_CPPSRCS = [
833     '$OPEN_DIR/httprequest/httprequest.cc',
834     '$OPEN_DIR/httprequest/httprequest_upload.cc',
837 #-----------------------------------------------------------------------------
838 # blob
840 env.Append(BROWSER_CPPSRCS = [
841     '$OPEN_DIR/blob/blob.cc',
842     '$OPEN_DIR/blob/blob_builder.cc',
843     '$OPEN_DIR/blob/blob_builder_module.cc',
844     '$OPEN_DIR/blob/blob_interface.cc',
845     '$OPEN_DIR/blob/blob_test.cc',
846     '$OPEN_DIR/blob/blob_utils.cc',
847     '$OPEN_DIR/blob/buffer_blob.cc',
848     '$OPEN_DIR/blob/fail_blob.cc',
849     '$OPEN_DIR/blob/file_blob.cc',
850     '$OPEN_DIR/blob/join_blob.cc',
851     '$OPEN_DIR/blob/slice_blob.cc',
854 # TODO(bpm): Make this cross-browser, not Firefox- or Safari-specific.
855 env.Append(FF3_CPPSRCS = [
856     '$OPEN_DIR/blob/blob_input_stream_ff.cc',
857     '$OPEN_DIR/blob/blob_input_stream_ff_test.cc',
860 env.Append(SF_CPPSRCS = [
861     '$OPEN_DIR/blob/blob_input_stream_sf.mm',
862     '$OPEN_DIR/blob/blob_input_stream_sf_test.mm',
865 #-----------------------------------------------------------------------------
866 # inspector
868 if not env['OFFICIAL_BUILD']:
869   env.Append(BROWSER_CPPSRCS = [
870       '$OPEN_DIR/inspector/inspector_resources.cc',
871   ])
873 #-----------------------------------------------------------------------------
874 # installer/wince
876 if env['OS'] == 'wince':
877   env.Append(IE_CPPSRCS = [
878       '$OPEN_DIR/installer/common/cab_updater.cc',
879       '$OPEN_DIR/installer/common/download_task.cc',
880       '$OPEN_DIR/installer/common/installer_utils.cc',
881       '$OPEN_DIR/installer/common/periodic_checker.cc',
882       '$OPEN_DIR/installer/common/process_restarter.cc',
883   ])
885   env.Append(IE_STABSRCS = [
886       '$OPEN_DIR/installer/iemobile/setup.rc.stab',
887   ])
889   env.Append(WINCE_SETUP_CPPSRCS = [
890       '$OPEN_DIR/installer/common/process_restarter.cc',
891       '$OPEN_DIR/installer/iemobile/setup.cc',
892   ])
894   env.Append(WINCE_SETUP_RESSRCS = [
895       '$GENFILES_DIR/setup.rc',
896   ])
898 #-----------------------------------------------------------------------------
899 # image
901 # The Image API is not yet enabled in official builds.
902 if not env['OFFICIAL_BUILD'] and env['OS'] != 'wince':
903   env.Append(BROWSER_CPPSRCS = [
904       '$OPEN_DIR/image/backing_image.cc',
905       '$OPEN_DIR/image/image.cc',
906       '$OPEN_DIR/image/image_loader.cc',
907   ])
909 #-----------------------------------------------------------------------------
910 # factory/npapi
912 env.Append(USING_NPAPI_CPPSRCS = [
913     '$OPEN_DIR/factory/factory_impl.cc',
914     '$OPEN_DIR/factory/factory_np.cc',
915     '$OPEN_DIR/factory/factory_utils.cc',
918 #-----------------------------------------------------------------------------
919 # factory/firefox
921 env.Append(FF3_CPPSRCS = [
922     '$OPEN_DIR/factory/factory_impl.cc',
923     '$OPEN_DIR/factory/factory_ff.cc',
924     '$OPEN_DIR/factory/factory_utils.cc',
927 #-----------------------------------------------------------------------------
928 # factory/ie
930 env.Append(IE_M4SRCS = [
931     '$OPEN_DIR/factory/factory_ie.rgs.m4',
934 env.Append(IE_CPPSRCS = [
935     '$OPEN_DIR/factory/factory_impl.cc',
936     '$OPEN_DIR/factory/factory_ie.cc',
937     '$OPEN_DIR/factory/factory_utils.cc',
940 #-----------------------------------------------------------------------------
941 # geolocation
943 env.Append(BROWSER_CPPSRCS = [
944     '$OPEN_DIR/geolocation/access_token_manager.cc',
945     '$OPEN_DIR/geolocation/backoff_manager.cc',
946     '$OPEN_DIR/geolocation/empty_device_data_provider.cc',
947     '$OPEN_DIR/geolocation/geolocation.cc',
948     '$OPEN_DIR/geolocation/geolocation_db.cc',
949     '$OPEN_DIR/geolocation/geolocation_db_test.cc',
950     '$OPEN_DIR/geolocation/geolocation_test.cc',
951     '$OPEN_DIR/geolocation/gps_device_android.cc',
952     '$OPEN_DIR/geolocation/gps_device_wince.cc',
953     '$OPEN_DIR/geolocation/gps_location_provider.cc',
954     '$OPEN_DIR/geolocation/location_provider.cc',
955     '$OPEN_DIR/geolocation/location_provider_pool.cc',
956     '$OPEN_DIR/geolocation/looper_thread_android.cc',
957     '$OPEN_DIR/geolocation/network_location_provider.cc',
958     '$OPEN_DIR/geolocation/network_location_request.cc',
959     '$OPEN_DIR/geolocation/radio_data_provider_android.cc',
960     '$OPEN_DIR/geolocation/radio_data_provider_wince.cc',
961     '$OPEN_DIR/geolocation/reverse_geocoder.cc',
962     '$OPEN_DIR/geolocation/timed_callback.cc',
963     '$OPEN_DIR/geolocation/wifi_data_provider_android.cc',
964     '$OPEN_DIR/geolocation/wifi_data_provider_common.cc',
965     '$OPEN_DIR/geolocation/wifi_data_provider_linux.cc',
966     '$OPEN_DIR/geolocation/wifi_data_provider_osx.cc',
967     '$OPEN_DIR/geolocation/wifi_data_provider_win32.cc',
968     '$OPEN_DIR/geolocation/wifi_data_provider_wince.cc',
969     '$OPEN_DIR/geolocation/wifi_data_provider_windows_common.cc',
972 #-----------------------------------------------------------------------------
973 # vista_broker
975 env.Append(VISTA_BROKER_CPPSRCS = [
976     '$OPEN_DIR/base/common/process_utils_win32.cc',
977     '$OPEN_DIR/base/common/string16.cc',
978     '$OPEN_DIR/base/common/string_utils.cc',
979     '$OPEN_DIR/desktop/shortcut_utils_win32.cc',
980     '$OPEN_DIR/vista_broker/vista_broker.cc',
982     '$THIRD_PARTY_DIR/convert_utf/ConvertUTF.c'
985 env.Append(VISTA_BROKER_RESSRCS = [
986     '$GENFILES_DIR/string_table.rc',
987     '$OPEN_DIR/vista_broker/vista_broker.rc',
990 #-----------------------------------------------------------------------------
991 # Safari Installer Plugin
993 env.Append(SF_INSTALLER_PLUGIN_CPPSRCS = [
994     '$OPEN_DIR/base/safari/advanced_stats_sheet.m',
997 #-----------------------------------------------------------------------------
998 # Safari InputManager
1000 env.Append(SF_INPUTMANAGER_CPPSRCS = [
1001     '$OPEN_DIR/base/safari/enabler.m',
1002     '$OPEN_DIR/base/safari/loader.mm',
1005 #-----------------------------------------------------------------------------
1006 # Safari Proxy DLL
1008 env.Append(SF_PROXY_DLL_CPPSRCS = [
1009     '$OPEN_DIR/base/safari/plugin_proxy.mm',
1012 #-----------------------------------------------------------------------------
1013 # resources
1015 env.Append(NPAPI_RESSRCS = [
1016     '$GENFILES_DIR/ui_resources.rc',
1017     '$OPEN_DIR/base/npapi/module.rc',
1020 # The string table uses multiple languages, which are not supported by
1021 # LoadString on WinCE.
1022 if env['OS'] != 'wince':
1023   env.Append(IE_RESSRCS = [
1024       '$GENFILES_DIR/string_table.rc',
1025   ])
1027 env.Append(IE_RESSRCS = [
1028     '$GENFILES_DIR/ui_resources.rc',
1029     '$OPEN_DIR/base/npapi/module.rc',
1032 env.Append(FF3_RESOURCES = [
1033     '$FF3_OUTDIR/genfiles/browser-overlay.js',
1034     '$FF3_OUTDIR/genfiles/browser-overlay.xul',
1035     '$FF3_OUTDIR/genfiles/permissions_dialog.html',
1036     '$FF3_OUTDIR/genfiles/settings_dialog.html',
1037     '$FF3_OUTDIR/genfiles/shortcuts_dialog.html',
1040 env.Append(COMMON_RESOURCES = [
1041     '$OPEN_DIR/ui/common/blank.gif',
1042     '$OPEN_DIR/ui/common/button_bg.gif',
1043     '$OPEN_DIR/ui/common/button_corner_black.gif',
1044     '$OPEN_DIR/ui/common/button_corner_blue.gif',
1045     '$OPEN_DIR/ui/common/button_corner_grey.gif',
1046     '$OPEN_DIR/ui/common/icon_32x32.png',
1047     '$OPEN_DIR/ui/common/local_data.png',
1048     '$OPEN_DIR/ui/common/location_data.png',
1051 #-----------------------------------------------------------------------------
1052 # libs
1054 if not env['OFFICIAL_BUILD'] and env['OS'] in ['win32', 'osx']:
1055   env.Append(
1056       LIBPATH = ['$THIRD_PARTY_DIR/skia'],
1057       LIBS = ['${LIBPREFIX}skia-${MODE}-${OS}-${ARCH}${LIBSUFFIX}'],
1058   )
1060 if env['OS'] == 'win32':
1061   env.Append(NPAPI_SHLINKSRCS = [
1062       '$THIRD_PARTY_DIR/v8/bin-${MODE}/v8_base.lib',
1063       '$THIRD_PARTY_DIR/v8/bin-${MODE}/v8_snapshot.lib',
1064   ])
1065   env.Append(NPAPI_SHLINKSRCS = [
1066       '$OPEN_DIR/base/chrome/module.def',
1067   ])
1068   env.Append(IE_SHLINKSRCS = [
1069       '$OPEN_DIR/tools/mscom.def',
1070   ])
1072 Return('env')