Index: build/android/buildbot/bb_device_steps.py |
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py |
index f52c24b9cf88789a33a1726af6c172eb03a6133a..5d8731f26e7b2db20a28b9f950dab34c2aa3acd6 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -630,14 +630,17 @@ def RunStackToolSteps(options): |
Stack tool is run for logcat dump, optionally for ASAN. |
""" |
bb_annotations.PrintNamedStep('Run stack tool with logcat dump') |
- logcat_file = os.path.join(CHROME_OUT_DIR, options.target, 'full_log.txt') |
+ build_dir = os.path.join(CHROME_OUT_DIR, options.target) |
+ logcat_file = os.path.join(build_dir, 'full_log.txt') |
RunCmd([os.path.join(CHROME_SRC_DIR, 'third_party', 'android_platform', |
'development', 'scripts', 'stack'), |
+ '--output-directory', build_dir, |
'--more-info', logcat_file]) |
if options.asan_symbolize: |
bb_annotations.PrintNamedStep('Run stack tool for ASAN') |
RunCmd([ |
os.path.join(CHROME_SRC_DIR, 'build', 'android', 'asan_symbolize.py'), |
+ '--output-directory', build_dir, |
'-l', logcat_file]) |