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 '$BSPATCH_DIR/using_bspatch.scons', | |
11 '$CHROME_SRC_DIR/build/external_code.scons', | |
12 '$LZMA_SDK_DIR/using_lzma_sdk.scons', | |
13 ]) | |
14 | |
15 input_files = ChromeFileList([ | |
16 'mbsdiff.cc', | |
17 ]) | |
18 | |
19 env.ChromeProgram('bsdiff', input_files) | |
20 | |
21 p = env.ChromeMSVSProject('bsdiff.vcproj', | |
22 dest=('$CHROME_SRC_DIR/third_party/' + | |
23 'bsdiff/bsdiff.vcproj'), | |
24 dependencies = [ | |
25 '$LZMA_SDK_DIR/7z_C.vcproj', | |
26 '$BSPATCH_DIR/bspatch.vcproj', | |
27 ], | |
28 guid='{E1D0B89E-257B-4BCA-A0C6-A2CD997A2FDC}', | |
29 # TODO(sgk): when we can intuit the hierarchy | |
30 # from the built targets. | |
31 #buildtargets=TODO, | |
32 files=input_files, | |
33 relative_path_prefix='./', | |
34 tools=[ | |
35 'VCPreBuildEventTool', | |
36 'VCCustomBuildTool', | |
37 'VCXMLDataGeneratorTool', | |
38 'VCWebServiceProxyGeneratorTool', | |
39 'VCMIDLTool', | |
40 'VCCLCompilerTool', | |
41 'VCManagedResourceCompilerTool', | |
42 'VCResourceCompilerTool', | |
43 'VCPreLinkEventTool', | |
44 'VCLinkerTool', | |
45 'VCALinkTool', | |
46 'VCManifestTool', | |
47 'VCXDCMakeTool', | |
48 'VCBscMakeTool', | |
49 'VCFxCopTool', | |
50 'VCAppVerifierTool', | |
51 'VCWebDeploymentTool', | |
52 'VCPostBuildEventTool', | |
53 ], | |
54 ConfigurationType='1') | |
55 | |
56 p.AddConfig('Debug|Win32', | |
57 InheritedPropertySheets=[ | |
58 '$(SolutionDir)../build/common.vsprops', | |
59 '$(SolutionDir)../build/debug.vsprops', | |
60 '$(SolutionDir)../build/external_code.vsprops', | |
61 '$(SolutionDir)../third_party/bspatch/using_bspatch.vsprops', | |
62 './bsdiff.vsprops', | |
63 ]) | |
64 | |
65 p.AddConfig('Release|Win32', | |
66 InheritedPropertySheets=[ | |
67 '$(SolutionDir)../build/common.vsprops', | |
68 '$(SolutionDir)../build/release.vsprops', | |
69 '$(SolutionDir)../build/external_code.vsprops', | |
70 '$(SolutionDir)../third_party/bspatch/using_bspatch.vsprops', | |
71 './bsdiff.vsprops', | |
72 ]) | |
OLD | NEW |