| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 options, args = parser.parse_args() | 216 options, args = parser.parse_args() |
| 217 | 217 |
| 218 if args: | 218 if args: |
| 219 parser.error('Unknown arguments %s' % args) | 219 parser.error('Unknown arguments %s' % args) |
| 220 | 220 |
| 221 logging.basicConfig( | 221 logging.basicConfig( |
| 222 level=logging.DEBUG if options.verbose else logging.ERROR) | 222 level=logging.DEBUG if options.verbose else logging.ERROR) |
| 223 | 223 |
| 224 gyp_helper.apply_chromium_gyp_env() | 224 gyp_helper.apply_chromium_gyp_env() |
| 225 | 225 |
| 226 for target in ('Debug', 'Release'): | 226 for target in ('Debug', 'Release', 'Debug_x64', 'Release_x64'): |
| 227 set_up_landmines(target) | 227 set_up_landmines(target) |
| 228 | 228 |
| 229 return 0 | 229 return 0 |
| 230 | 230 |
| 231 | 231 |
| 232 if __name__ == '__main__': | 232 if __name__ == '__main__': |
| 233 sys.exit(main()) | 233 sys.exit(main()) |
| OLD | NEW |