OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 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 | 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('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.Prepend( | 9 env.Prepend( |
10 CPPPATH = [ | 10 CPPPATH = [ |
11 'src', | 11 'src', |
12 '$CHROME_SRC_DIR', | 12 '$CHROME_SRC_DIR', |
13 ], | 13 ], |
14 ) | 14 ) |
15 | 15 |
16 if env.Bit('windows'): | 16 if env.Bit('windows'): |
17 env.Append( | 17 env.Append( |
18 CCFLAGS = [ | 18 CCFLAGS = [ |
19 '/TP', | 19 '/TP', |
20 '/wd4800', | 20 '/wd4800', |
21 ], | 21 ], |
22 ) | 22 ) |
23 | 23 |
24 sender_input_files = [ | 24 sender_input_files = [ |
25 'src/client/windows/sender/crash_report_sender.cc', | 25 'src/client/windows/sender/crash_report_sender.cc', |
26 'src/common/windows/http_upload.cc', | 26 'src/common/windows/http_upload.cc', |
27 ] | 27 ] |
28 | 28 |
29 env.ChromeStaticLibrary('breakpad_sender', sender_input_files) | 29 env.ChromeLibrary('breakpad_sender', sender_input_files) |
30 | 30 |
31 env.ChromeMSVSProject('$BREAKPAD_DIR/breakpad_sender.vcproj', | 31 env.ChromeMSVSProject('$BREAKPAD_DIR/breakpad_sender.vcproj', |
32 guid='{9946A048-043B-4F8F-9E07-9297B204714C}') | 32 guid='{9946A048-043B-4F8F-9E07-9297B204714C}') |
33 | 33 |
34 if env.Bit('windows'): | 34 if env.Bit('windows'): |
35 handler_input_files = [ | 35 handler_input_files = [ |
36 'src/client/windows/crash_generation/client_info.cc', | 36 'src/client/windows/crash_generation/client_info.cc', |
37 'src/client/windows/crash_generation/minidump_generator.cc', | 37 'src/client/windows/crash_generation/minidump_generator.cc', |
38 'src/common/windows/guid_string.cc', | 38 'src/common/windows/guid_string.cc', |
39 'src/client/windows/handler/exception_handler.cc', | 39 'src/client/windows/handler/exception_handler.cc', |
40 'src/client/windows/crash_generation/crash_generation_server.cc', | 40 'src/client/windows/crash_generation/crash_generation_server.cc', |
41 'src/client/windows/crash_generation/crash_generation_client.cc', | 41 'src/client/windows/crash_generation/crash_generation_client.cc', |
42 ] | 42 ] |
43 elif env.Bit('linux'): | 43 elif env.Bit('linux'): |
44 handler_input_files = [ | 44 handler_input_files = [ |
45 'src/common/linux/guid_creator.cc', | 45 'src/common/linux/guid_creator.cc', |
46 'src/client/linux/handler/exception_handler.cc', | 46 'src/client/linux/handler/exception_handler.cc', |
47 'src/client/linux/handler/minidump_generator.cc', | 47 'src/client/linux/handler/minidump_generator.cc', |
48 'src/client/linux/handler/linux_thread.cc', | 48 'src/client/linux/handler/linux_thread.cc', |
49 ] | 49 ] |
50 | 50 |
51 env.ChromeStaticLibrary('breakpad_handler', handler_input_files) | 51 env.ChromeLibrary('breakpad_handler', handler_input_files) |
52 | 52 |
53 env.ChromeMSVSProject('$BREAKPAD_DIR/breakpad_handler.vcproj', | 53 env.ChromeMSVSProject('$BREAKPAD_DIR/breakpad_handler.vcproj', |
54 guid='{B55CA863-B374-4BAF-95AC-539E4FA4C90C}') | 54 guid='{B55CA863-B374-4BAF-95AC-539E4FA4C90C}') |
55 | 55 |
OLD | NEW |