OLD | NEW |
1 | 1 |
2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 __doc__ = """ | 6 __doc__ = """ |
7 Configuration for building base_unittests{,.exe}. | 7 Configuration for building base_unittests{,.exe}. |
8 """ | 8 """ |
9 | 9 |
10 Import('env') | 10 Import('env') |
11 | 11 |
12 env = env.Clone() | 12 env = env.Clone() |
13 | 13 |
14 if env.Bit('windows'): | 14 if env.Bit('windows'): |
15 env.Append( | 15 env.Append( |
16 LINKFLAGS = [ | 16 LINKFLAGS = [ |
17 '/SUBSYSTEM:WINDOWS', | 17 '/SUBSYSTEM:WINDOWS', |
18 ], | 18 ], |
19 ) | 19 ) |
20 | 20 |
21 env.ChromeProgram('debug_message', ['debug_message.cc']) | 21 if env.Bit('windows'): |
| 22 # TODO(port): port this if it's needed on non-Windows systems, |
| 23 # or remove this comment (and merge with the above block?) |
| 24 # if it's really Windows-specific. |
| 25 env.ChromeProgram('debug_message', ['debug_message.cc']) |
| 26 |
| 27 env.ChromeMSVSProject('$BASE_DIR/build/debug_message.vcproj', |
| 28 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}') |
OLD | NEW |