| 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 env.Prepend( | |
| 10 CPPPATH = [ | |
| 11 '$CHROME_SRC_DIR', | |
| 12 ], | |
| 13 CPPDEFINES = [ | |
| 14 'CHROMIUM_BUILD', | |
| 15 ], | |
| 16 ) | |
| 17 | |
| 18 if env['PLATFORM'] == 'win32': | 9 if env['PLATFORM'] == 'win32': |
| 19 env.Append( | 10 env.Append( |
| 20 CPPDEFINES = [ | |
| 21 '_SECURE_ATL', | |
| 22 '_WINDOWS', | |
| 23 ], | |
| 24 CCFLAGS = [ | 11 CCFLAGS = [ |
| 25 '/WX', # treat warnings as errors | 12 '/WX', # treat warnings as errors |
| 26 ], | 13 ], |
| 27 ) | 14 ) |
| 28 | 15 |
| 29 env.StaticObject('controller.cc') | 16 env.StaticObject('controller.cc') |
| OLD | NEW |