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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | SConscript.inputs » ('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) 2008 The Chromium Authors. All rights reserved. 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 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 os 5 import os
6 6
7 import utils 7 import utils
8 8
9 Import('env') 9 Import('env')
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 GetInputs('$IPC_TEST_CPPSRCS')) 66 GetInputs('$IPC_TEST_CPPSRCS'))
67 67
68 # Note: crash_sender.exe name needs to stay in sync with name used in 68 # Note: crash_sender.exe name needs to stay in sync with name used in
69 # exception_handler_win32.cc and exception_handler_osx/google_breakpad.mm. 69 # exception_handler_win32.cc and exception_handler_osx/google_breakpad.mm.
70 outputs['CRASH_SENDER_EXE'] = None 70 outputs['CRASH_SENDER_EXE'] = None
71 if env['OS'] == 'win32': 71 if env['OS'] == 'win32':
72 outputs['CRASH_SENDER_EXE'] = env.ChromeProgram('crash_sender', 72 outputs['CRASH_SENDER_EXE'] = env.ChromeProgram('crash_sender',
73 GetInputs('$CRASH_SENDER_CPPSRCS'), 73 GetInputs('$CRASH_SENDER_CPPSRCS'),
74 LIBS = Split('advapi32.lib shell32.lib wininet.lib')) 74 LIBS = Split('advapi32.lib shell32.lib wininet.lib'))
75 elif env['OS'] == 'osx': 75 elif env['OS'] == 'osx':
76 pass 76 outputs['CRASH_SENDER_EXE'] = env.ChromeProgram('crash_sender',
77 # crash_sender = env.Program('crash_sender', crash_sender_srcs, 77 GetInputs('$CRASH_SENDER_CPPSRCS'),
78 # FRAMEWORKS = Split('Carbon Cocoa Foundation IOKit SystemConfiguration'), 78 FRAMEWORKS = env['FRAMEWORKS'] +
79 # LIBS='stdc++') 79 Split('Carbon Cocoa Foundation IOKit SystemConfiguration'),
80 LIBS = env['LIBS'] + ['crypto', 'stdc++'])
80 env.Alias('gears', outputs['CRASH_SENDER_EXE']) 81 env.Alias('gears', outputs['CRASH_SENDER_EXE'])
81 82
82 if env['OS'] == 'osx': 83 if env['OS'] == 'osx':
84 # Crash inspector is launched by the crashed process from it's exception
85 # handler and is what actually communicates with the crashed process to
86 # extract the minidump. It then launches crash_sender in order to actually
87 # send the minidump over the wire.
88 outputs['OSX_CRASH_INSPECTOR_EXE'] = env.ChromeProgram('crash_inspector',
89 GetInputs('$OSX_CRASH_INSPECTOR_CPPSRCS'),
90 FRAMEWORKS = env['FRAMEWORKS'] + ['Carbon'],
91 LIBS = env['LIBS'] + ['breakpad_osx-gears'])
92
83 outputs['SF_INSTALLER_PLUGIN_EXE'] = env.ChromeSharedLibrary('stats_pane', 93 outputs['SF_INSTALLER_PLUGIN_EXE'] = env.ChromeSharedLibrary('stats_pane',
84 GetInputs('$SF_INSTALLER_PLUGIN_CPPSRCS'), 94 GetInputs('$SF_INSTALLER_PLUGIN_CPPSRCS'),
85 FRAMEWORKS = env['FRAMEWORKS'] + Split('Cocoa InstallerPlugins')) 95 FRAMEWORKS = env['FRAMEWORKS'] + Split('Cocoa InstallerPlugins'))
86 96
87 # See main SConscript for how 'outputs' is used. 97 # See main SConscript for how 'outputs' is used.
88 Return('outputs') 98 Return('outputs')
OLDNEW
« 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