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

Unified Diff: mojo/devtools/common/android_stack_parser/stack

Issue 1312283003: Allow several build directories to be specified to search for symbols (Closed) Base URL: git@github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/devtools/common/android_stack_parser/symbol.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/android_stack_parser/stack
diff --git a/mojo/devtools/common/android_stack_parser/stack b/mojo/devtools/common/android_stack_parser/stack
index f75d097e7bf14894b8739c555c5095ecab36d05e..9bfc18b231014f00439caf8c52230420b823ce6c 100755
--- a/mojo/devtools/common/android_stack_parser/stack
+++ b/mojo/devtools/common/android_stack_parser/stack
@@ -99,7 +99,7 @@ def main():
elif option == "--arch":
symbol.ARCH = value
elif option == "--build-dir":
- symbol.BUILD_DIR = value
+ symbol.BUILD_DIRS = value.split(',')
elif option == "--ndk-dir":
symbol.NDK_DIR = value
elif option == "--more-info":
@@ -107,13 +107,13 @@ def main():
elif option == "--less-info":
more_info = False
- if not symbol.BUILD_DIR:
+ if not symbol.BUILD_DIRS:
guess = stack_utils.GuessDir(_DEFAULT_BUILD_DIR)
if not guess:
print "Couldn't find the build directory, please pass --build-dir."
return 1
print "Inferring the build directory path as " + guess
- symbol.BUILD_DIR = guess
+ symbol.BUILD_DIRS = [guess]
if not symbol.NDK_DIR:
guess = stack_utils.GuessDir(_DEFAULT_NDK_DIR)
@@ -144,7 +144,7 @@ def main():
if symbol.SYMBOLS_DIR:
print "Reading Android symbols from", symbol.SYMBOLS_DIR
- print "Reading Mojo symbols from", symbol.BUILD_DIR
+ print "Reading symbols from", symbol.BUILD_DIRS
stack_core.ConvertTrace(lines, more_info, stack_utils.GetSymbolMapping(lines))
if rootdir:
« no previous file with comments | « no previous file | mojo/devtools/common/android_stack_parser/symbol.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698