Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: build/get_landmines.py

Issue 142093003: Fix get_landmines builder() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reitveld Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 emits the list of reasons why a particular build needs to be clobbered 7 This file emits the 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 10
11 import optparse 11 import optparse
12 import sys 12 import sys
13 13
14 import landmine_utils 14 import landmine_utils
15 15
16 16
17 builder = landmine_utils.platform 17 builder = landmine_utils.builder
18 distributor = landmine_utils.distributor 18 distributor = landmine_utils.distributor
19 gyp_defines = landmine_utils.gyp_defines 19 gyp_defines = landmine_utils.gyp_defines
20 gyp_msvs_version = landmine_utils.gyp_msvs_version 20 gyp_msvs_version = landmine_utils.gyp_msvs_version
21 platform = landmine_utils.platform 21 platform = landmine_utils.platform
22 22
23 23
24 def print_landmines(target): 24 def print_landmines(target):
25 """ 25 """
26 ALL LANDMINES ARE EMITTED FROM HERE. 26 ALL LANDMINES ARE EMITTED FROM HERE.
27 target can be one of {'Release', 'Debug', 'Debug_x64', 'Release_x64'}. 27 target can be one of {'Release', 'Debug', 'Debug_x64', 'Release_x64'}.
(...skipping 29 matching lines...) Expand all
57 57
58 if args: 58 if args:
59 parser.error('Unknown arguments %s' % args) 59 parser.error('Unknown arguments %s' % args)
60 60
61 print_landmines(options.target) 61 print_landmines(options.target)
62 return 0 62 return 0
63 63
64 64
65 if __name__ == '__main__': 65 if __name__ == '__main__':
66 sys.exit(main()) 66 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698