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 __doc__ = """ | 5 __doc__ = """ |
6 Configuration for building base_gfx.lib / libbase_gfx.a. | 6 Configuration for building base_gfx.lib / libbase_gfx.a. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 if env.Bit('windows'): | 52 if env.Bit('windows'): |
53 input_files.Extend([ | 53 input_files.Extend([ |
54 ]) | 54 ]) |
55 elif env.Bit('linux'): | 55 elif env.Bit('linux'): |
56 input_files.Extend([ | 56 input_files.Extend([ |
57 ]) | 57 ]) |
58 | 58 |
59 env.ChromeLibrary('base_gfx', input_files) | 59 env.ChromeLibrary('base_gfx', input_files) |
60 | 60 |
61 p = env.ChromeMSVSProject('../build/base_gfx.vcproj', | 61 p = env.ChromeMSVSProject('../build/base_gfx.vcproj', |
| 62 dest='$CHROME_SRC_DIR/base/build/base_gfx.vcproj', |
62 guid='{A508ADD3-CECE-4E0F-8448-2F5E454DF551}', | 63 guid='{A508ADD3-CECE-4E0F-8448-2F5E454DF551}', |
63 files=input_files, | 64 files=input_files, |
64 tools=[ | 65 tools=[ |
65 'VCPreBuildEventTool', | 66 'VCPreBuildEventTool', |
66 'VCCustomBuildTool', | 67 'VCCustomBuildTool', |
67 'VCXMLDataGeneratorTool', | 68 'VCXMLDataGeneratorTool', |
68 'VCWebServiceProxyGeneratorTool', | 69 'VCWebServiceProxyGeneratorTool', |
69 'VCMIDLTool', | 70 'VCMIDLTool', |
70 'VCCLCompilerTool', | 71 'VCCLCompilerTool', |
71 'VCManagedResourceCompilerTool', | 72 'VCManagedResourceCompilerTool', |
(...skipping 15 matching lines...) Expand all Loading... |
87 '../../skia/using_skia.vsprops', | 88 '../../skia/using_skia.vsprops', |
88 ]) | 89 ]) |
89 | 90 |
90 p.AddConfig('Release|Win32', | 91 p.AddConfig('Release|Win32', |
91 ConfigurationType = '4', | 92 ConfigurationType = '4', |
92 InheritedPropertySheets = [ | 93 InheritedPropertySheets = [ |
93 '$(SolutionDir)../build/release.vsprops', | 94 '$(SolutionDir)../build/release.vsprops', |
94 './base_gfx.vsprops', | 95 './base_gfx.vsprops', |
95 '../../skia/using_skia.vsprops', | 96 '../../skia/using_skia.vsprops', |
96 ]) | 97 ]) |
97 | |
98 env.AlwaysBuild(p) | |
99 | |
100 i = env.Command('$CHROME_SRC_DIR/base/build/base_gfx.vcproj', p, | |
101 Copy('$TARGET', '$SOURCE')) | |
102 Alias('msvs', i) | |
OLD | NEW |