| Index: tools/auto_bisect/bisect_utils.py
|
| diff --git a/tools/auto_bisect/bisect_utils.py b/tools/auto_bisect/bisect_utils.py
|
| index da8b04b9503cd083d968311aac76dc2bbfd4a61f..38f56f15bbcc6a2d7e05b7916e4f6852d9d09de7 100644
|
| --- a/tools/auto_bisect/bisect_utils.py
|
| +++ b/tools/auto_bisect/bisect_utils.py
|
| @@ -87,6 +87,116 @@ REPO_PARAMS = [
|
| # Bisect working directory.
|
| BISECT_DIR = 'bisect'
|
|
|
| +# The percentage at which confidence is considered high.
|
| +HIGH_CONFIDENCE = 95
|
| +
|
| +# Below is the map of "depot" names to information about each depot. Each depot
|
| +# is a repository, and in the process of bisecting, revision ranges in these
|
| +# repositories may also be bisected.
|
| +#
|
| +# Each depot information dictionary may contain:
|
| +# src: Path to the working directory.
|
| +# recurse: True if this repository will get bisected.
|
| +# depends: A list of other repositories that are actually part of the same
|
| +# repository in svn. If the repository has any dependent repositories
|
| +# (e.g. skia/src needs skia/include and skia/gyp to be updated), then
|
| +# they are specified here.
|
| +# svn: URL of SVN repository. Needed for git workflow to resolve hashes to
|
| +# SVN revisions.
|
| +# from: Parent depot that must be bisected before this is bisected.
|
| +# deps_var: Key name in vars variable in DEPS file that has revision
|
| +# information.
|
| +DEPOT_DEPS_NAME = {
|
| + 'chromium': {
|
| + 'src': 'src',
|
| + 'recurse': True,
|
| + 'depends': None,
|
| + 'from': ['cros', 'android-chrome'],
|
| + 'viewvc':
|
| + 'http://src.chromium.org/viewvc/chrome?view=revision&revision=',
|
| + 'deps_var': 'chromium_rev'
|
| + },
|
| + 'webkit': {
|
| + 'src': 'src/third_party/WebKit',
|
| + 'recurse': True,
|
| + 'depends': None,
|
| + 'from': ['chromium'],
|
| + 'viewvc':
|
| + 'http://src.chromium.org/viewvc/blink?view=revision&revision=',
|
| + 'deps_var': 'webkit_revision'
|
| + },
|
| + 'angle': {
|
| + 'src': 'src/third_party/angle',
|
| + 'src_old': 'src/third_party/angle_dx11',
|
| + 'recurse': True,
|
| + 'depends': None,
|
| + 'from': ['chromium'],
|
| + 'platform': 'nt',
|
| + 'deps_var': 'angle_revision'
|
| + },
|
| + 'v8': {
|
| + 'src': 'src/v8',
|
| + 'recurse': True,
|
| + 'depends': None,
|
| + 'from': ['chromium'],
|
| + 'custom_deps': GCLIENT_CUSTOM_DEPS_V8,
|
| + 'viewvc': 'https://code.google.com/p/v8/source/detail?r=',
|
| + 'deps_var': 'v8_revision'
|
| + },
|
| + 'v8_bleeding_edge': {
|
| + 'src': 'src/v8_bleeding_edge',
|
| + 'recurse': True,
|
| + 'depends': None,
|
| + 'svn': 'https://v8.googlecode.com/svn/branches/bleeding_edge',
|
| + 'from': ['v8'],
|
| + 'viewvc': 'https://code.google.com/p/v8/source/detail?r=',
|
| + 'deps_var': 'v8_revision'
|
| + },
|
| + 'skia/src': {
|
| + 'src': 'src/third_party/skia/src',
|
| + 'recurse': True,
|
| + 'svn': 'http://skia.googlecode.com/svn/trunk/src',
|
| + 'depends': ['skia/include', 'skia/gyp'],
|
| + 'from': ['chromium'],
|
| + 'viewvc': 'https://code.google.com/p/skia/source/detail?r=',
|
| + 'deps_var': 'skia_revision'
|
| + },
|
| + 'skia/include': {
|
| + 'src': 'src/third_party/skia/include',
|
| + 'recurse': False,
|
| + 'svn': 'http://skia.googlecode.com/svn/trunk/include',
|
| + 'depends': None,
|
| + 'from': ['chromium'],
|
| + 'viewvc': 'https://code.google.com/p/skia/source/detail?r=',
|
| + 'deps_var': 'None'
|
| + },
|
| + 'skia/gyp': {
|
| + 'src': 'src/third_party/skia/gyp',
|
| + 'recurse': False,
|
| + 'svn': 'http://skia.googlecode.com/svn/trunk/gyp',
|
| + 'depends': None,
|
| + 'from': ['chromium'],
|
| + 'viewvc': 'https://code.google.com/p/skia/source/detail?r=',
|
| + 'deps_var': 'None'
|
| + }
|
| +}
|
| +
|
| +DEPOT_NAMES = DEPOT_DEPS_NAME.keys()
|
| +
|
| +# The possible values of the --bisect_mode flag, which determines what to
|
| +# use when classifying a revision as "good" or "bad".
|
| +BISECT_MODE_MEAN = 'mean'
|
| +BISECT_MODE_STD_DEV = 'std_dev'
|
| +BISECT_MODE_RETURN_CODE = 'return_code'
|
| +
|
| +
|
| +def AddAdditionalDepotInfo(depot_info):
|
| + """Adds additional depot info to the global depot variables."""
|
| + global DEPOT_DEPS_NAME
|
| + global DEPOT_NAMES
|
| + DEPOT_DEPS_NAME = dict(DEPOT_DEPS_NAME.items() + depot_info.items())
|
| + DEPOT_NAMES = DEPOT_DEPS_NAME.keys()
|
| +
|
|
|
| def OutputAnnotationStepStart(name):
|
| """Outputs annotation to signal the start of a step to a try bot.
|
|
|