Commit 8cd3dcaa authored by Andrew Grieve's avatar Andrew Grieve Committed by Commit Bot

Android: Tweak log message of incremental install to include apk name

Change-Id: If11054d64db33bef5f32561950604706d8a55b52
Reviewed-on: https://chromium-review.googlesource.com/1006043Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550198}
parent c85bfab5
......@@ -227,10 +227,11 @@ def Install(device, install_json, apk=None, enable_device_cache=False,
finalize_timer = _Execute(use_concurrency, release_installer_lock, save_cache)
logging.info(
'Took %s seconds (setup=%s, install=%s, libs=%s, dex=%s, finalize=%s)',
main_timer.GetDelta(), setup_timer.GetDelta(), install_timer.GetDelta(),
push_native_timer.GetDelta(), push_dex_timer.GetDelta(),
finalize_timer.GetDelta())
'Install of %s took %s seconds '
'(setup=%s, install=%s, libs=%s, dex=%s, finalize=%s)',
os.path.basename(apk.path), main_timer.GetDelta(), setup_timer.GetDelta(),
install_timer.GetDelta(), push_native_timer.GetDelta(),
push_dex_timer.GetDelta(), finalize_timer.GetDelta())
if show_proguard_warning:
logging.warning('Target had proguard enabled, but incremental install uses '
'non-proguarded .dex files. Performance characteristics '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment