Index: build/android/tombstones.py |
diff --git a/build/android/tombstones.py b/build/android/tombstones.py |
index a7bd6feae21e8d6c6926717724af5d1bbf3989e1..aa3b95622d5865d45f61bc09542005d323368cbb 100755 |
--- a/build/android/tombstones.py |
+++ b/build/android/tombstones.py |
@@ -24,6 +24,7 @@ from devil.android import device_blacklist |
from devil.android import device_errors |
from devil.android import device_utils |
from devil.utils import run_tests_helper |
+from pylib import constants |
_TZ_UTC = {'TZ': 'UTC'} |
@@ -237,6 +238,8 @@ def main(): |
default=4, |
help='Number of jobs to use when processing multiple ' |
'crash stacks.') |
+ parser.add_option('--output-directory', |
+ help='Path to the root build directory.') |
options, _ = parser.parse_args() |
devil_chromium.Initialize() |
@@ -245,6 +248,9 @@ def main(): |
if options.blacklist_file |
else None) |
+ if options.output_directory: |
+ constants.SetOutputDirectory(options.output_directory) |
+ |
if options.device: |
devices = [device_utils.DeviceUtils(options.device)] |
else: |