| 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 | 10 |
| 11 # NOTE: env.Replace() instead of inhering the normal *.scons settings! | 11 # NOTE: env.Replace() instead of inhering the normal *.scons settings! |
| 12 env.Replace( | 12 env.Replace( |
| 13 CPPDEFINES = [ | 13 CPPDEFINES = [ |
| 14 ('_WIN32_WINNT', '0x0501'), | 14 ('_WIN32_WINNT', '0x0501'), |
| 15 ('WINVER', '0x0501'), | 15 ('WINVER', '0x0501'), |
| 16 'WIN32', | 16 'WIN32', |
| 17 '_UNICODE', | 17 '_UNICODE', |
| 18 'UNICODE', | 18 'UNICODE', |
| 19 ], | 19 ], |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 ], | 78 ], |
| 79 ) | 79 ) |
| 80 | 80 |
| 81 input_files = [ | 81 input_files = [ |
| 82 'service64_resolver.cc', | 82 'service64_resolver.cc', |
| 83 'target_code.cc', | 83 'target_code.cc', |
| 84 'wow_helper.cc', | 84 'wow_helper.cc', |
| 85 ] | 85 ] |
| 86 | 86 |
| 87 env.ChromeProgram('wow_helper', input_files) | 87 env.ChromeProgram('wow_helper', input_files) |
| OLD | NEW |