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.ApplySConscript([ | 9 env.ApplySConscript([ |
10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
(...skipping 24 matching lines...) Expand all Loading... |
35 '/MACHINE:X86', | 35 '/MACHINE:X86', |
36 '/FIXED:No', | 36 '/FIXED:No', |
37 | 37 |
38 '/safeseh', | 38 '/safeseh', |
39 '/dynamicbase', | 39 '/dynamicbase', |
40 '/ignore:4199', | 40 '/ignore:4199', |
41 '/nxcompat', | 41 '/nxcompat', |
42 ], | 42 ], |
43 ) | 43 ) |
44 | 44 |
45 input_files = [ | 45 input_files = ChromeFileList([ |
| 46 'crash_service.cc', |
| 47 'crash_service.h', |
46 'main.cc', | 48 'main.cc', |
47 'crash_service.cc', | 49 ]) |
48 ] | |
49 | 50 |
50 # TODO(port): | 51 # TODO(port): |
51 if env.Bit('windows'): | 52 if env.Bit('windows'): |
52 env.ChromeProgram('crash_service', input_files) | 53 env.ChromeProgram('crash_service', input_files) |
53 | 54 |
54 env.ChromeMSVSProject('$CHROME_DIR/tools/crash_service/crash_service.vcproj', | 55 p = env.ChromeMSVSProject('crash_service.vcproj', |
55 dependencies = [ | 56 dest=('$CHROME_SRC_DIR/chrome/' |
56 '$BASE_DIR/build/base.vcproj', | 57 + 'tools/crash_service/crash_service.vcproj'), |
57 '$ZLIB_DIR/zlib.vcproj', | 58 guid='{89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC}', |
58 '$CHROME_DIR/common/common.vcproj', | 59 keyword='Win32Proj', |
59 '$ICU38_DIR/build/icu.vcproj', | 60 dependencies = [ |
60 '$BREAKPAD_DIR/breakpad_sender.vcproj', | 61 '$BASE_DIR/build/base.vcproj', |
61 '$BASE_DIR/build/base_gfx.vcproj', | 62 '$ZLIB_DIR/zlib.vcproj', |
62 '$BREAKPAD_DIR/breakpad_handler.vcproj', | 63 '$CHROME_DIR/common/common.vcproj', |
63 '$SKIA_DIR/skia.vcproj', | 64 '$ICU38_DIR/build/icu.vcproj', |
64 ], | 65 '$BREAKPAD_DIR/breakpad_sender.vcproj', |
65 guid='{89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC}') | 66 '$BASE_DIR/build/base_gfx.vcproj', |
| 67 '$BREAKPAD_DIR/breakpad_handler.vcproj', |
| 68 '$SKIA_DIR/skia.vcproj', |
| 69 ], |
| 70 # TODO(sgk): when we can intuit the hierarchy |
| 71 # from the built targets. |
| 72 #buildtargets=TODO, |
| 73 files=input_files, |
| 74 relative_path_prefix='./', |
| 75 tools=[ |
| 76 'VCPreBuildEventTool', |
| 77 'VCCustomBuildTool', |
| 78 'VCXMLDataGeneratorTool', |
| 79 'VCWebServiceProxyGeneratorTool', |
| 80 'VCMIDLTool', |
| 81 'VCCLCompilerTool', |
| 82 'VCManagedResourceCompilerTool', |
| 83 'VCResourceCompilerTool', |
| 84 'VCPreLinkEventTool', |
| 85 'VCLinkerTool', |
| 86 'VCALinkTool', |
| 87 'VCManifestTool', |
| 88 'VCXDCMakeTool', |
| 89 'VCBscMakeTool', |
| 90 'VCFxCopTool', |
| 91 'VCAppVerifierTool', |
| 92 'VCWebDeploymentTool', |
| 93 'VCPostBuildEventTool', |
| 94 ], |
| 95 ConfigurationType='1') |
| 96 |
| 97 |
| 98 p.AddConfig('Debug|Win32', |
| 99 InheritedPropertySheets=[ |
| 100 '$(SolutionDir)../build/common.vsprops', |
| 101 '$(SolutionDir)../build/debug.vsprops', |
| 102 '$(SolutionDir)../breakpad/using_breakpad.vsprops', |
| 103 ]) |
| 104 |
| 105 p.AddConfig('Release|Win32', |
| 106 InheritedPropertySheets=[ |
| 107 '$(SolutionDir)../build/common.vsprops', |
| 108 '$(SolutionDir)../build/release.vsprops', |
| 109 '$(SolutionDir)../breakpad/using_breakpad.vsprops', |
| 110 ]) |
OLD | NEW |