OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 Import('env') | |
6 | |
7 env = env.Clone() | |
8 | |
9 env.Prepend( | |
10 CPPPATH = [ | |
11 'src', | |
12 '$CHROME_SRC_DIR', | |
13 ], | |
14 ) | |
15 | |
16 if env.Bit('windows'): | |
17 env.Append( | |
18 CCFLAGS = [ | |
19 '/TP', | |
20 '/wd4800', | |
21 ], | |
22 ) | |
23 | |
24 input_files = ChromeFileList([ | |
25 'src/client/windows/sender/crash_report_sender.cc', | |
26 'src/common/windows/http_upload.cc', | |
27 'src/client/windows/sender/crash_report_sender.h', | |
28 'src/common/windows/http_upload.h', | |
29 ]) | |
30 | |
31 if env.Bit('windows'): | |
32 env.ChromeLibrary('breakpad_sender', input_files) | |
33 | |
34 p = env.ChromeMSVSProject('breakpad_sender.vcproj', | |
35 dest=('$CHROME_SRC_DIR/breakpad/' + | |
36 'breakpad_sender.vcproj'), | |
37 guid='{9946A048-043B-4F8F-9E07-9297B204714C}', | |
38 keyword='Win32Proj', | |
39 # TODO(sgk): when we can intuit the hierarchy | |
40 # from the built targets. | |
41 #buildtargets=TODO, | |
42 files=input_files, | |
43 tools=[ | |
44 'VCLibrarianTool', | |
45 'VCCLCompilerTool', | |
46 ], | |
47 ConfigurationType='4') | |
48 | |
49 p.AddConfig('Debug|Win32', | |
50 InheritedPropertySheets=[ | |
51 '$(SolutionDir)../build/common.vsprops', | |
52 '$(SolutionDir)../build/debug.vsprops', | |
53 '$(SolutionDir)../build/external_code.vsprops', | |
54 'using_breakpad.vsprops', | |
55 ]) | |
56 | |
57 p.AddConfig('Release|Win32', | |
58 InheritedPropertySheets=[ | |
59 '$(SolutionDir)../build/common.vsprops', | |
60 '$(SolutionDir)../build/release.vsprops', | |
61 '$(SolutionDir)../build/external_code.vsprops', | |
62 'using_breakpad.vsprops', | |
63 ]) | |
OLD | NEW |