| Index: appengine/findit/crash/parse_util.py
|
| diff --git a/appengine/findit/crash/parse_util.py b/appengine/findit/crash/parse_util.py
|
| index 8a141b8c7cc999a44e06c97d3adcc830f954c313..e8f49678869ce5d6c03aab3b820d595ac79a6305 100644
|
| --- a/appengine/findit/crash/parse_util.py
|
| +++ b/appengine/findit/crash/parse_util.py
|
| @@ -11,6 +11,7 @@ from crash.type_enums import CallStackFormatType, CallStackLanguageType
|
|
|
| GENERATED_CODE_FILE_PATH_PATTERN = re.compile(r'.*out/[^/]+/gen/')
|
| THIRD_PARTY_FILE_PATH_MARKER = 'third_party'
|
| +CHROMIUM_REPO_URL = 'https://chromium.googlesource.com/chromium/src.git'
|
|
|
|
|
| def GetFullPathForJavaFrame(function):
|
| @@ -60,7 +61,7 @@ def GetDepPathAndNormalizedFilePath(path, deps):
|
|
|
| if GENERATED_CODE_FILE_PATH_PATTERN.match(normalized_path):
|
| logging.info('Generated code path %s', normalized_path)
|
| - return '', normalized_path
|
| + return '', normalized_path, None
|
|
|
| # Iterate through all dep paths in the parsed DEPS in an order.
|
| for dep_path in sorted(deps.keys(), key=lambda path: -path.count('/')):
|
| @@ -104,7 +105,7 @@ def GetDepPathAndNormalizedFilePath(path, deps):
|
| if current_dep_path:
|
| normalized_path = normalized_path.split(current_dep_path, 1)[1]
|
|
|
| - return (dep_path, normalized_path)
|
| + return dep_path, normalized_path, deps[dep_path].repo_url
|
|
|
| logging.info(
|
| 'Cannot find match of dep path for file path %s, Default to src/',
|
| @@ -113,7 +114,7 @@ def GetDepPathAndNormalizedFilePath(path, deps):
|
| # For some crashes, the file path looks like this:
|
| # third_party/WebKit/Source/a.cc, the src/ in the beginning is trimmed, so
|
| # default the dep path to 'src/' if no match found.
|
| - return 'src/', normalized_path
|
| + return 'src/', normalized_path, CHROMIUM_REPO_URL
|
|
|
|
|
| def GetLanguageTypeFromFormatType(format_type):
|
|
|