OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 """Utility functions used by the bisect tool. | 5 """Utility functions used by the bisect tool. |
6 | 6 |
7 This includes functions related to checking out the depot and outputting | 7 This includes functions related to checking out the depot and outputting |
8 annotations for the Buildbot waterfall. | 8 annotations for the Buildbot waterfall. |
9 """ | 9 """ |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 'chrome/deps/adobe/flash/binaries/ppapi/mac/.git', | 35 'chrome/deps/adobe/flash/binaries/ppapi/mac/.git', |
36 'src/third_party/adobe/flash/binaries/ppapi/mac_64': | 36 'src/third_party/adobe/flash/binaries/ppapi/mac_64': |
37 'https://chrome-internal.googlesource.com/' | 37 'https://chrome-internal.googlesource.com/' |
38 'chrome/deps/adobe/flash/binaries/ppapi/mac_64/.git', | 38 'chrome/deps/adobe/flash/binaries/ppapi/mac_64/.git', |
39 'src/third_party/adobe/flash/binaries/ppapi/win': | 39 'src/third_party/adobe/flash/binaries/ppapi/win': |
40 'https://chrome-internal.googlesource.com/' | 40 'https://chrome-internal.googlesource.com/' |
41 'chrome/deps/adobe/flash/binaries/ppapi/win/.git', | 41 'chrome/deps/adobe/flash/binaries/ppapi/win/.git', |
42 'src/third_party/adobe/flash/binaries/ppapi/win_x64': | 42 'src/third_party/adobe/flash/binaries/ppapi/win_x64': |
43 'https://chrome-internal.googlesource.com/' | 43 'https://chrome-internal.googlesource.com/' |
44 'chrome/deps/adobe/flash/binaries/ppapi/win_x64/.git', | 44 'chrome/deps/adobe/flash/binaries/ppapi/win_x64/.git', |
45 'src/chrome/tools/test/reference_build/chrome_win': None, | |
46 'src/chrome/tools/test/reference_build/chrome_mac': None, | |
47 'src/chrome/tools/test/reference_build/chrome_linux': None, | |
48 'src/third_party/WebKit/LayoutTests': None, | 45 'src/third_party/WebKit/LayoutTests': None, |
49 'src/tools/valgrind': None, | 46 'src/tools/valgrind': None, |
50 } | 47 } |
51 | 48 |
52 GCLIENT_SPEC_DATA = [ | 49 GCLIENT_SPEC_DATA = [ |
53 { | 50 { |
54 'name': 'src', | 51 'name': 'src', |
55 'url': 'https://chromium.googlesource.com/chromium/src.git', | 52 'url': 'https://chromium.googlesource.com/chromium/src.git', |
56 'deps_file': '.DEPS.git', | 53 'deps_file': '.DEPS.git', |
57 'managed': True, | 54 'managed': True, |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 platform = os.environ.get('PROCESSOR_ARCHITECTURE') | 551 platform = os.environ.get('PROCESSOR_ARCHITECTURE') |
555 return platform and platform in ['AMD64', 'I64'] | 552 return platform and platform in ['AMD64', 'I64'] |
556 | 553 |
557 | 554 |
558 def IsLinuxHost(): | 555 def IsLinuxHost(): |
559 return sys.platform.startswith('linux') | 556 return sys.platform.startswith('linux') |
560 | 557 |
561 | 558 |
562 def IsMacHost(): | 559 def IsMacHost(): |
563 return sys.platform.startswith('darwin') | 560 return sys.platform.startswith('darwin') |
OLD | NEW |