OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
9 | 9 |
10 """ | 10 """ |
11 This file emits the list of reasons why a particular build needs to be clobbered | 11 This file emits the list of reasons why a particular build needs to be clobbered |
12 (or a list of 'landmines'). | 12 (or a list of 'landmines'). |
13 """ | 13 """ |
14 | 14 |
15 import os | 15 import os |
16 import sys | 16 import sys |
17 | 17 |
18 script_dir = os.path.dirname(os.path.realpath(__file__)) | 18 script_dir = os.path.dirname(os.path.realpath(__file__)) |
19 checkout_root = os.path.abspath(os.path.join(script_dir, os.pardir, os.pardir)) | 19 checkout_root = os.path.abspath(os.path.join(script_dir, os.pardir)) |
20 sys.path.insert(0, os.path.join(checkout_root, 'build')) | 20 sys.path.insert(0, os.path.join(checkout_root, 'build')) |
21 import landmine_utils | 21 import landmine_utils |
22 | 22 |
23 | 23 |
24 distributor = landmine_utils.distributor | 24 distributor = landmine_utils.distributor |
25 gyp_defines = landmine_utils.gyp_defines | 25 gyp_defines = landmine_utils.gyp_defines |
26 gyp_msvs_version = landmine_utils.gyp_msvs_version | 26 gyp_msvs_version = landmine_utils.gyp_msvs_version |
27 platform = landmine_utils.platform | 27 platform = landmine_utils.platform |
28 | 28 |
29 | 29 |
(...skipping 21 matching lines...) Expand all Loading... |
51 print 'Clobber due to Win 64-bit Debug linking error (crbug.com/668961)' | 51 print 'Clobber due to Win 64-bit Debug linking error (crbug.com/668961)' |
52 | 52 |
53 | 53 |
54 def main(): | 54 def main(): |
55 print_landmines() | 55 print_landmines() |
56 return 0 | 56 return 0 |
57 | 57 |
58 | 58 |
59 if __name__ == '__main__': | 59 if __name__ == '__main__': |
60 sys.exit(main()) | 60 sys.exit(main()) |
OLD | NEW |