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

Unified Diff: SConscript.common

Issue 13037: Add crash_sender and crash_inspector to Safari gears-scons build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/gears/
Patch Set: '' Created 12 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | SConscript.inputs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: SConscript.common
===================================================================
--- SConscript.common (revision 6176)
+++ SConscript.common (working copy)
@@ -73,13 +73,23 @@
GetInputs('$CRASH_SENDER_CPPSRCS'),
LIBS = Split('advapi32.lib shell32.lib wininet.lib'))
elif env['OS'] == 'osx':
- pass
- # crash_sender = env.Program('crash_sender', crash_sender_srcs,
- # FRAMEWORKS = Split('Carbon Cocoa Foundation IOKit SystemConfiguration'),
- # LIBS='stdc++')
+ outputs['CRASH_SENDER_EXE'] = env.ChromeProgram('crash_sender',
+ GetInputs('$CRASH_SENDER_CPPSRCS'),
+ FRAMEWORKS = env['FRAMEWORKS'] +
+ Split('Carbon Cocoa Foundation IOKit SystemConfiguration'),
+ LIBS = env['LIBS'] + ['crypto', 'stdc++'])
env.Alias('gears', outputs['CRASH_SENDER_EXE'])
if env['OS'] == 'osx':
+# Crash inspector is launched by the crashed process from it's exception
+# handler and is what actually communicates with the crashed process to
+# extract the minidump. It then launches crash_sender in order to actually
+# send the minidump over the wire.
+ outputs['OSX_CRASH_INSPECTOR_EXE'] = env.ChromeProgram('crash_inspector',
+ GetInputs('$OSX_CRASH_INSPECTOR_CPPSRCS'),
+ FRAMEWORKS = env['FRAMEWORKS'] + ['Carbon'],
+ LIBS = env['LIBS'] + ['breakpad_osx-gears'])
+
outputs['SF_INSTALLER_PLUGIN_EXE'] = env.ChromeSharedLibrary('stats_pane',
GetInputs('$SF_INSTALLER_PLUGIN_CPPSRCS'),
FRAMEWORKS = env['FRAMEWORKS'] + Split('Cocoa InstallerPlugins'))
« no previous file with comments | « no previous file | SConscript.inputs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698