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 the entire base "solution", including all |
| 7 the specific targets in various *.scons files, and a base.sln file |
| 8 on Windows. |
7 """ | 9 """ |
8 | 10 |
9 Import('env') | 11 Import('env') |
10 | 12 |
11 env = env.Clone() | 13 # Arrange for Hammer to add all programs to the 'base' Alias. |
| 14 env.Append( |
| 15 COMPONENT_PROGRAM_GROUPS = ['base'], |
| 16 COMPONENT_TEST_PROGRAM_GROUPS = ['base'], |
| 17 ) |
12 | 18 |
13 env.Tool('MSVSNew') | 19 sconscript_files = [ |
| 20 'base.scons', |
| 21 'base_gfx.scons', |
| 22 'base_sln.scons', |
| 23 'base_unittests.scons', |
| 24 'debug_message.scons', |
| 25 ] |
14 | 26 |
15 env.ChromeMSVSFolder('base dependencies', | 27 env.SConscript(sconscript_files, exports=['env']) |
16 name='dependencies', | |
17 entries = [ | |
18 '$ZLIB_DIR/zlib.vcproj', | |
19 '$ICU38_DIR/build/icu.vcproj', | |
20 '$ICU38_DIR/build/icudt.vcproj', | |
21 '$TESTING_DIR/gtest.vcproj', | |
22 '$LIBPNG_DIR/libpng.vcproj', | |
23 '$SKIA_DIR/skia.vcproj', | |
24 ], | |
25 guid='{F216062D-F9C4-4883-A52C-2BE9ECADEEA0}') | |
26 | |
27 | |
28 solution = env.ChromeMSVSSolution('base.sln', | |
29 dest='$CHROME_SRC_DIR/base/base.sln', | |
30 entries = [ | |
31 '$BASE_DIR/build/base.vcproj', | |
32 '$BASE_DIR/build/base_unittests.vcproj', | |
33 '$BASE_DIR/build/debug_message.vcproj', | |
34 'base dependencies', | |
35 '$ICU38_DIR/build/icu.vcproj', | |
36 '$ICU38_DIR/build/icudt.vcproj', | |
37 '$BASE_DIR/build/base_gfx.vcproj', | |
38 '$SKIA_DIR/skia.vcproj', | |
39 '$LIBPNG_DIR/libpng.vcproj', | |
40 '$ZLIB_DIR/zlib.vcproj', | |
41 '$TESTING_DIR/gtest.vcproj', | |
42 ], | |
43 variants = [ | |
44 'Debug|Win32', | |
45 'Release|Win32', | |
46 ]) | |
OLD | NEW |