Commit d0bd2d41 authored by tonyg@chromium.org's avatar tonyg@chromium.org

[Telemetry] Fix stack trace printing on Android.

Symbols may now be in lib/ instead of lib.target/. I'm not sure whether this is
always the case or not.

BUG=None
TEST=None
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/16094010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202876 0039d316-1c4b-4281-b951-d872f2087c98
parent 30ae7644
...@@ -259,6 +259,8 @@ class AndroidBrowserBackend(browser_backend.BrowserBackend): ...@@ -259,6 +259,8 @@ class AndroidBrowserBackend(browser_backend.BrowserBackend):
def GetStandardOutput(self): def GetStandardOutput(self):
# If we can find symbols and there is a stack, output the symbolized stack. # If we can find symbols and there is a stack, output the symbolized stack.
symbol_paths = [ symbol_paths = [
os.path.join(adb_commands.GetOutDirectory(), 'Release', 'lib'),
os.path.join(adb_commands.GetOutDirectory(), 'Debug', 'lib'),
os.path.join(adb_commands.GetOutDirectory(), 'Release', 'lib.target'), os.path.join(adb_commands.GetOutDirectory(), 'Release', 'lib.target'),
os.path.join(adb_commands.GetOutDirectory(), 'Debug', 'lib.target')] os.path.join(adb_commands.GetOutDirectory(), 'Debug', 'lib.target')]
for symbol_path in symbol_paths: for symbol_path in symbol_paths:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment