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

Side by Side Diff: tools/bisect_utils.py

Issue 146333004: Introduce an intra-priority level sorting value - Chromium Side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes from review. Created 6 years, 10 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
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 """Set of operations/utilities related to checking out the depot, and 5 """Set of operations/utilities related to checking out the depot, and
6 outputting annotations on the buildbot waterfall. These are intended to be 6 outputting annotations on the buildbot waterfall. These are intended to be
7 used by the bisection scripts.""" 7 used by the bisection scripts."""
8 8
9 import errno 9 import errno
10 import imp 10 import imp
11 import os 11 import os
12 import shutil 12 import shutil
13 import stat 13 import stat
14 import subprocess 14 import subprocess
15 import sys 15 import sys
16 16
17 DEFAULT_GCLIENT_CUSTOM_DEPS = {} 17 DEFAULT_GCLIENT_CUSTOM_DEPS = {
18 "src/data/page_cycler": "https://chrome-internal.googlesource.com/"
19 "chrome/data/page_cycler/.git",
20 "src/data/dom_perf": "https://chrome-internal.googlesource.com/"
21 "chrome/data/dom_perf/.git",
22 "src/data/mach_ports": "https://chrome-internal.googlesource.com/"
23 "chrome/data/mach_ports/.git",
24 "src/tools/perf/data": "https://chrome-internal.googlesource.com/"
25 "chrome/tools/perf/data/.git",
26 "src/third_party/adobe/flash/binaries/ppapi/linux":
27 "https://chrome-internal.googlesource.com/"
28 "chrome/deps/adobe/flash/binaries/ppapi/linux/.git",
29 "src/third_party/adobe/flash/binaries/ppapi/linux_x64":
30 "https://chrome-internal.googlesource.com/"
31 "chrome/deps/adobe/flash/binaries/ppapi/linux_x64/.git",
32 "src/third_party/adobe/flash/binaries/ppapi/mac":
33 "https://chrome-internal.googlesource.com/"
34 "chrome/deps/adobe/flash/binaries/ppapi/mac/.git",
35 "src/third_party/adobe/flash/binaries/ppapi/mac_64":
36 "https://chrome-internal.googlesource.com/"
37 "chrome/deps/adobe/flash/binaries/ppapi/mac_64/.git",
38 "src/third_party/adobe/flash/binaries/ppapi/win":
39 "https://chrome-internal.googlesource.com/"
40 "chrome/deps/adobe/flash/binaries/ppapi/win/.git",
41 "src/third_party/adobe/flash/binaries/ppapi/win_x64":
42 "https://chrome-internal.googlesource.com/"
43 "chrome/deps/adobe/flash/binaries/ppapi/win_x64/.git",}
18 44
19 GCLIENT_SPEC_DATA = [ 45 GCLIENT_SPEC_DATA = [
20 { "name" : "src", 46 { "name" : "src",
21 "url" : "https://chromium.googlesource.com/chromium/src.git", 47 "url" : "https://chromium.googlesource.com/chromium/src.git",
22 "deps_file" : ".DEPS.git", 48 "deps_file" : ".DEPS.git",
23 "managed" : True, 49 "managed" : True,
24 "custom_deps" : {}, 50 "custom_deps" : {},
25 "safesync_url": "", 51 "safesync_url": "",
26 }, 52 },
27 ] 53 ]
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 494
469 Args: 495 Args:
470 opts: The options parsed from the command line through parse_args(). 496 opts: The options parsed from the command line through parse_args().
471 custom_deps: A dictionary of additional dependencies to add to .gclient. 497 custom_deps: A dictionary of additional dependencies to add to .gclient.
472 """ 498 """
473 if not CreateAndChangeToSourceDirectory(opts.working_directory): 499 if not CreateAndChangeToSourceDirectory(opts.working_directory):
474 raise RuntimeError('Could not create bisect directory.') 500 raise RuntimeError('Could not create bisect directory.')
475 501
476 if not SetupGitDepot(opts, custom_deps): 502 if not SetupGitDepot(opts, custom_deps):
477 raise RuntimeError('Failed to grab source.') 503 raise RuntimeError('Failed to grab source.')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698