| Index: third_party/android_platform/development/scripts/symbol.py
|
| diff --git a/third_party/android_platform/development/scripts/symbol.py b/third_party/android_platform/development/scripts/symbol.py
|
| index 0011de60fa1952faa6510655b8c55921fcc6cb6f..44d0238391329d49e8fc952c79883172e0f24729 100755
|
| --- a/third_party/android_platform/development/scripts/symbol.py
|
| +++ b/third_party/android_platform/development/scripts/symbol.py
|
| @@ -21,7 +21,6 @@
|
|
|
| import glob
|
| import itertools
|
| -import logging
|
| import os
|
| import re
|
| import subprocess
|
| @@ -209,7 +208,6 @@
|
| candidates = PathListJoin([out_dir], buildtype_list) + [CHROME_SYMBOLS_DIR]
|
| candidates = PathListJoin(candidates, dirs)
|
| candidates = PathListJoin(candidates, [filepart])
|
| - logging.debug('GetCandidates: prefiltered candidates = %s' % candidates)
|
| candidates = list(
|
| itertools.chain.from_iterable(map(candidate_fun, candidates)))
|
| candidates = sorted(candidates, key=os.path.getmtime, reverse=True)
|
| @@ -284,7 +282,7 @@
|
| A list of matching library filenames for library_name.
|
| """
|
| return GetCandidates(
|
| - ['lib', 'lib.target', '.'], library_name,
|
| + ['lib', 'lib.target'], library_name,
|
| lambda filename: filter(os.path.exists, [filename]))
|
|
|
| def TranslateLibPath(lib):
|
| @@ -308,15 +306,11 @@
|
| if mapping:
|
| library_name = mapping
|
|
|
| - logging.debug('TranslateLibPath: lib=%s library_name=%s' % (lib, library_name))
|
| -
|
| candidate_libraries = GetCandidateLibraries(library_name)
|
| - logging.debug('TranslateLibPath: candidate_libraries=%s' % candidate_libraries)
|
| if not candidate_libraries:
|
| return lib
|
|
|
| library_path = os.path.relpath(candidate_libraries[0], SYMBOLS_DIR)
|
| - logging.debug('TranslateLibPath: library_path=%s' % library_path)
|
| return '/' + library_path
|
|
|
| def SymbolInformation(lib, addr, get_detailed_info):
|
|
|