OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ | 6 """ |
7 This file holds a list of reasons why a particular build needs to be clobbered | 7 This file holds a list of reasons why a particular build needs to be clobbered |
8 (or a list of 'landmines'). | 8 (or a list of 'landmines'). |
9 | 9 |
10 This script runs every build as a hook. If it detects that the build should | 10 This script runs every build as a hook. If it detects that the build should |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 add('Compile on cc_unittests fails due to symbols removed in r185063.') | 150 add('Compile on cc_unittests fails due to symbols removed in r185063.') |
151 if platform() == 'linux' and builder() == 'ninja': | 151 if platform() == 'linux' and builder() == 'ninja': |
152 add('Builders switching from make to ninja will clobber on this.') | 152 add('Builders switching from make to ninja will clobber on this.') |
153 if platform() == 'mac': | 153 if platform() == 'mac': |
154 add('Switching from bundle to unbundled dylib (issue 14743002).') | 154 add('Switching from bundle to unbundled dylib (issue 14743002).') |
155 if (platform() == 'win' and builder() == 'ninja' and | 155 if (platform() == 'win' and builder() == 'ninja' and |
156 gyp_msvs_version() == '2012' and | 156 gyp_msvs_version() == '2012' and |
157 gyp_defines().get('target_arch') == 'x64' and | 157 gyp_defines().get('target_arch') == 'x64' and |
158 gyp_defines().get('dcheck_always_on') == '1'): | 158 gyp_defines().get('dcheck_always_on') == '1'): |
159 add("Switched win x64 trybots from VS2010 to VS2012.") | 159 add("Switched win x64 trybots from VS2010 to VS2012.") |
160 add('Need to clobber everything due to and IDL change in r154579 (blink)') | |
gavinp
2013/07/19 20:32:30
Nit: "an IDL change"
| |
160 | 161 |
161 return landmines | 162 return landmines |
162 | 163 |
163 | 164 |
164 def get_target_build_dir(build_tool, target, is_iphone=False): | 165 def get_target_build_dir(build_tool, target, is_iphone=False): |
165 """ | 166 """ |
166 Returns output directory absolute path dependent on build and targets. | 167 Returns output directory absolute path dependent on build and targets. |
167 Examples: | 168 Examples: |
168 r'c:\b\build\slave\win\build\src\out\Release' | 169 r'c:\b\build\slave\win\build\src\out\Release' |
169 '/mnt/data/b/build/slave/linux/build/src/out/Debug' | 170 '/mnt/data/b/build/slave/linux/build/src/out/Debug' |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
234 gyp_helper.apply_chromium_gyp_env() | 235 gyp_helper.apply_chromium_gyp_env() |
235 | 236 |
236 for target in ('Debug', 'Release', 'Debug_x64', 'Release_x64'): | 237 for target in ('Debug', 'Release', 'Debug_x64', 'Release_x64'): |
237 set_up_landmines(target) | 238 set_up_landmines(target) |
238 | 239 |
239 return 0 | 240 return 0 |
240 | 241 |
241 | 242 |
242 if __name__ == '__main__': | 243 if __name__ == '__main__': |
243 sys.exit(main()) | 244 sys.exit(main()) |
OLD | NEW |