| 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.ApplySConscript([ | |
| 10 '$BASE_DIR/using_base.scons', | |
| 11 '$BASE_DIR/gfx/using_base_gfx.scons', | |
| 12 '$BREAKPAD_DIR/using_breakpad.scons', | |
| 13 '$ICU38_DIR/using_icu38.scons', | |
| 14 '$SKIA_DIR/using_skia.scons', | |
| 15 '$ZLIB_DIR/using_zlib.scons', | |
| 16 ]) | |
| 17 | |
| 18 if env.Bit('windows'): | |
| 19 env.Prepend( | |
| 20 CPPPATH = [ | |
| 21 '$CHROME_SRC_DIR', | |
| 22 ], | |
| 23 LIBS = [ | |
| 24 'breakpad_handler', | |
| 25 'breakpad_sender', | |
| 26 'common', | |
| 27 ], | |
| 28 LINKFLAGS = [ | |
| 29 '/INCREMENTAL', | |
| 30 | |
| 31 '/DELAYLOAD:"dwmapi.dll"', | |
| 32 '/DELAYLOAD:"uxtheme.dll"', | |
| 33 | |
| 34 '/DEBUG', | |
| 35 '/MACHINE:X86', | |
| 36 '/FIXED:No', | |
| 37 | |
| 38 '/safeseh', | |
| 39 '/dynamicbase', | |
| 40 '/ignore:4199', | |
| 41 '/nxcompat', | |
| 42 ], | |
| 43 ) | |
| 44 | |
| 45 input_files = ChromeFileList([ | |
| 46 'crash_service.cc', | |
| 47 'crash_service.h', | |
| 48 'main.cc', | |
| 49 ]) | |
| 50 | |
| 51 # TODO(port): | |
| 52 if env.Bit('windows'): | |
| 53 env.ChromeProgram('crash_service', input_files) | |
| 54 | |
| 55 p = env.ChromeMSVSProject('crash_service.vcproj', | |
| 56 dest=('$CHROME_SRC_DIR/chrome/' | |
| 57 + 'tools/crash_service/crash_service.vcproj'), | |
| 58 guid='{89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC}', | |
| 59 keyword='Win32Proj', | |
| 60 dependencies = [ | |
| 61 '$BASE_DIR/build/base.vcproj', | |
| 62 '$ZLIB_DIR/zlib.vcproj', | |
| 63 '$CHROME_DIR/common/common.vcproj', | |
| 64 '$ICU38_DIR/build/icu.vcproj', | |
| 65 '$BREAKPAD_DIR/breakpad_sender.vcproj', | |
| 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 |