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.ApplySConscript([ | 9 env.ApplySConscript([ |
10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 | 75 |
76 input_files = [ | 76 input_files = [ |
77 'install.cc', | 77 'install.cc', |
78 'main.cc', | 78 'main.cc', |
79 'setup.cc', | 79 'setup.cc', |
80 'setup_constants.cc', | 80 'setup_constants.cc', |
81 'uninstall.cc', | 81 'uninstall.cc', |
82 ] | 82 ] |
83 | 83 |
84 env.ChromeProgram('setup', resources + input_files) | 84 # TODO(port): |
| 85 if env.Bit('windows'): |
| 86 env.ChromeProgram('setup', resources + input_files) |
85 | 87 |
86 exe_version_rc = env.ChromeVersionRC('setup_exe_version.rc', | 88 env.ChromeMSVSProject('$CHROME_DIR/installer/setup/setup.vcproj', |
| 89 dependencies = [ |
| 90 '$BASE_DIR/build/base.vcproj', |
| 91 '$CHROME_DIR/common/common.vcproj', |
| 92 '$ICU38_DIR/build/icu.vcproj', |
| 93 '$LZMA_SDK_DIR/7z_C.vcproj', |
| 94 '$BSPATCH_DIR/bspatch.vcproj', |
| 95 '$CHROME_DIR/installer/util/util.vcproj', |
| 96 ], |
| 97 guid='{21C76E6E-8B38-44D6-8148-B589C13B9554}') |
| 98 |
| 99 # TODO(port): |
| 100 if env.Bit('windows'): |
| 101 exe_version_rc = env.ChromeVersionRC('setup_exe_version.rc', |
87 'setup_exe_version.rc.version', | 102 'setup_exe_version.rc.version', |
88 PWD = env.Dir('.')) | 103 PWD = env.Dir('.')) |
89 | 104 |
90 if env.Bit('windows'): | |
91 # TODO(sgk): implicit dependency should be picked up automatically | 105 # TODO(sgk): implicit dependency should be picked up automatically |
92 env_res.Depends(resources, exe_version_rc) | 106 env_res.Depends(resources, exe_version_rc) |
OLD | NEW |