diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:57:37 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:57:37 +0000 |
commit | b4ed8dd5ed1728b961e3840a74c21c66d1a9b3c8 (patch) | |
tree | 9c790d7b4553fad6e91f68916c10ac1a588778d1 /gears/SConscript.common | |
parent | 985aadb7da9e96436c4815e6789bae6daf2abdc3 (diff) | |
download | chromium_src-b4ed8dd5ed1728b961e3840a74c21c66d1a9b3c8.zip chromium_src-b4ed8dd5ed1728b961e3840a74c21c66d1a9b3c8.tar.gz chromium_src-b4ed8dd5ed1728b961e3840a74c21c66d1a9b3c8.tar.bz2 |
Add crash_sender and crash_inspector to Safari gears-scons build.
Review URL: http://codereview.chromium.org/13037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6235 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.common')
-rw-r--r-- | gears/SConscript.common | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gears/SConscript.common b/gears/SConscript.common index 47ad2bd..ce6d9e90 100644 --- a/gears/SConscript.common +++ b/gears/SConscript.common @@ -73,13 +73,23 @@ if env['OS'] == 'win32': 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')) |