summaryrefslogtreecommitdiffstats
path: root/build/android/buildbot
diff options
context:
space:
mode:
authorilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-03 00:07:30 +0000
committerilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-03 00:07:30 +0000
commit6fe4d06eedcc8b560d9f195d1a988150cbab0148 (patch)
treefe446e9e5c98c8cc088fc993b004546ce0f67582 /build/android/buildbot
parent6d4f03e98b018fb5c1b69ea42bf4e8396dc8284c (diff)
downloadchromium_src-6fe4d06eedcc8b560d9f195d1a988150cbab0148.zip
chromium_src-6fe4d06eedcc8b560d9f195d1a988150cbab0148.tar.gz
chromium_src-6fe4d06eedcc8b560d9f195d1a988150cbab0148.tar.bz2
Compress uploaded android logs
gzip files so clients can download faster. BUG=362787 Review URL: https://codereview.chromium.org/268743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/buildbot')
-rwxr-xr-xbuild/android/buildbot/bb_device_steps.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index dc2212b..d955298 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -569,12 +569,12 @@ def GenerateJavaCoverageReport(options):
def LogcatDump(options):
# Print logcat, kill logcat monitor
bb_annotations.PrintNamedStep('logcat_dump')
- logcat_file = os.path.join(CHROME_OUT_DIR, options.target, 'full_log')
+ logcat_file = os.path.join(CHROME_OUT_DIR, options.target, 'full_log.txt')
RunCmd([SrcPath('build' , 'android', 'adb_logcat_printer.py'),
'--output-path', logcat_file, LOGCAT_DIR])
gs_path = MakeGSPath(options, 'chromium-android/logcat_dumps')
- RunCmd([bb_utils.GSUTIL_PATH, '-h', 'Content-Type:text/plain',
- 'cp', logcat_file, 'gs://%s' % gs_path])
+ RunCmd([bb_utils.GSUTIL_PATH, 'cp', '-z', 'txt', logcat_file,
+ 'gs://%s' % gs_path])
bb_annotations.PrintLink('logcat dump', '%s/%s' % (GS_AUTH_URL, gs_path))
@@ -584,7 +584,7 @@ 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')
+ logcat_file = os.path.join(CHROME_OUT_DIR, options.target, 'full_log.txt')
RunCmd([os.path.join(CHROME_SRC_DIR, 'third_party', 'android_platform',
'development', 'scripts', 'stack'),
'--more-info', logcat_file])