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

Unified Diff: build/android/tombstones.py

Issue 1660693002: Add --output-dir flag to third_party/android_platform/development/scripts/stack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix fix fix Created 4 years, 10 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 | « build/android/asan_symbolize.py ('k') | third_party/android_platform/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « build/android/asan_symbolize.py ('k') | third_party/android_platform/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698