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.sln. | 6 Configuration for building base.sln. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
11 env = env.Clone() | 11 env = env.Clone() |
12 | 12 |
13 env.Tool('MSVSNew') | 13 env.Tool('MSVSNew') |
14 | 14 |
15 env.ChromeMSVSFolder('base dependencies', | 15 env.ChromeMSVSFolder('base dependencies', |
16 name='dependencies', | 16 name='dependencies', |
17 entries = [ | 17 entries = [ |
18 '$ZLIB_DIR/zlib.vcproj', | 18 '$ZLIB_DIR/zlib.vcproj', |
19 '$ICU38_DIR/build/icu.vcproj', | 19 '$ICU38_DIR/build/icu.vcproj', |
20 '$ICU38_DIR/build/icudt.vcproj', | 20 '$ICU38_DIR/build/icudt.vcproj', |
21 '$TESTING_DIR/gtest.vcproj', | 21 '$TESTING_DIR/gtest.vcproj', |
22 '$LIBPNG_DIR/libpng.vcproj', | 22 '$LIBPNG_DIR/libpng.vcproj', |
23 '$SKIA_DIR/skia.vcproj', | 23 '$SKIA_DIR/skia.vcproj', |
24 ], | 24 ], |
25 guid='{F216062D-F9C4-4883-A52C-2BE9ECADEEA0}') | 25 guid='{F216062D-F9C4-4883-A52C-2BE9ECADEEA0}') |
26 | 26 |
27 | 27 |
28 solution = env.ChromeMSVSSolution('base.sln', | 28 solution = env.ChromeMSVSSolution('base.sln', |
| 29 dest='$CHROME_SRC_DIR/base/base.sln', |
29 entries = [ | 30 entries = [ |
30 '$BASE_DIR/build/base.vcproj', | 31 '$BASE_DIR/build/base.vcproj', |
31 '$BASE_DIR/build/base_unittests.vcproj', | 32 '$BASE_DIR/build/base_unittests.vcproj', |
32 '$BASE_DIR/build/debug_message.vcproj', | 33 '$BASE_DIR/build/debug_message.vcproj', |
33 'base dependencies', | 34 'base dependencies', |
34 '$ICU38_DIR/build/icu.vcproj', | 35 '$ICU38_DIR/build/icu.vcproj', |
35 '$ICU38_DIR/build/icudt.vcproj', | 36 '$ICU38_DIR/build/icudt.vcproj', |
36 '$BASE_DIR/build/base_gfx.vcproj', | 37 '$BASE_DIR/build/base_gfx.vcproj', |
37 '$SKIA_DIR/skia.vcproj', | 38 '$SKIA_DIR/skia.vcproj', |
38 '$LIBPNG_DIR/libpng.vcproj', | 39 '$LIBPNG_DIR/libpng.vcproj', |
39 '$ZLIB_DIR/zlib.vcproj', | 40 '$ZLIB_DIR/zlib.vcproj', |
40 '$TESTING_DIR/gtest.vcproj', | 41 '$TESTING_DIR/gtest.vcproj', |
41 ], | 42 ], |
42 variants = [ | 43 variants = [ |
43 'Debug|Win32', | 44 'Debug|Win32', |
44 'Release|Win32', | 45 'Release|Win32', |
45 ]) | 46 ]) |
46 | |
47 env.AlwaysBuild(solution) | |
48 | |
49 i = env.Command('$CHROME_SRC_DIR/base/base.sln', solution, | |
50 Copy('$TARGET', '$SOURCE')) | |
51 Alias('msvs', i) | |
OLD | NEW |