| 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', 'env_res') | 5 Import('env', 'env_res') |
| 6 | 6 |
| 7 env = env.Clone() | 7 env = env.Clone() |
| 8 env_res = env_res.Clone() | 8 env_res = env_res.Clone() |
| 9 | 9 |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 ) | 69 ) |
| 70 | 70 |
| 71 input_files = [ | 71 input_files = [ |
| 72 'install.cc', | 72 'install.cc', |
| 73 'main.cc', | 73 'main.cc', |
| 74 'setup.cc', | 74 'setup.cc', |
| 75 'setup_constants.cc', | 75 'setup_constants.cc', |
| 76 'uninstall.cc', | 76 'uninstall.cc', |
| 77 ] | 77 ] |
| 78 | 78 |
| 79 if env['PLATFORM'] == 'win32': | 79 exe = env.ChromeProgram('setup', resources + input_files) |
| 80 targets = [ | |
| 81 'setup.exe', | |
| 82 'setup.pdb', | |
| 83 'setup.lib', | |
| 84 ] | |
| 85 else: | |
| 86 targets = ['setup'] | |
| 87 | |
| 88 exe = env.ChromeProgram(targets, resources + input_files) | |
| 89 i = env.Install('$TARGET_ROOT', exe) | 80 i = env.Install('$TARGET_ROOT', exe) |
| 90 | 81 |
| 91 env.Alias('chrome', i) | 82 env.Alias('chrome', i) |
| 92 | 83 |
| 93 | 84 |
| 94 env.ChromeVersionRC('setup_exe_version.rc', | 85 env.ChromeVersionRC('setup_exe_version.rc', |
| 95 'setup_exe_version.rc.version', | 86 'setup_exe_version.rc.version', |
| 96 PWD = env.Dir('.')) | 87 PWD = env.Dir('.')) |
| 97 | 88 |
| OLD | NEW |