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 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 if env['PLATFORM'] == 'win32': | 9 if env.Bit('windows'): |
10 env.Append( | 10 env.Append( |
11 CCFLAGS = [ | 11 CCFLAGS = [ |
12 '/WX', # treat warnings as errors | 12 '/WX', # treat warnings as errors |
13 ], | 13 ], |
14 ) | 14 ) |
15 | 15 |
16 env.StaticObject('controller.cc') | 16 env.StaticObject('controller.cc') |
OLD | NEW |