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

Issue 1085713002: [Android] DeviceUtils change to make Install work without md5 binary. (Closed)

Created:
5 years, 8 months ago by mikecase (-- gone --)
Modified:
5 years, 7 months ago
Reviewers:
perezju, jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] DeviceUtils change to make Install work without md5 binary. I will want to use the device_util Install function on Chrome builds downloaded from Google storage. There is no garuntee in this case that the md5sum_bin_host has been built, or even that the BUILDTYPE environment variable has been set. This change is to simply catch those exceptions, and just install everything if md5 isn't availible. BUG=463498 Committed: https://crrev.com/d84193aa868e644f4913cd8f5ddd5569dcb4263d Cr-Commit-Position: refs/heads/master@{#327597}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 3

Patch Set 4 : Addressed comments. #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Addressed perezju's nit. #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -14 lines) Patch
M build/android/pylib/constants/__init__.py View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 3 4 5 6 1 chunk +11 lines, -7 lines 0 comments Download
M build/android/pylib/utils/md5sum.py View 1 2 3 4 5 6 2 chunks +9 lines, -6 lines 0 comments Download
M build/android/pylib/utils/md5sum_test.py View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
mikecase (-- gone --)
5 years, 8 months ago (2015-04-13 22:48:58 UTC) #2
jbudorick
in title: "Device util change" -> "[Android] DeviceUtils change" https://codereview.chromium.org/1085713002/diff/20001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/1085713002/diff/20001/build/android/pylib/constants.py#newcode222 build/android/pylib/constants.py:222: ...
5 years, 8 months ago (2015-04-13 22:51:47 UTC) #3
perezju
Thanks for looking into this! It's one of the most annoying bugs that hit you ...
5 years, 8 months ago (2015-04-14 10:45:30 UTC) #4
mikecase (-- gone --)
https://codereview.chromium.org/1085713002/diff/20001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/1085713002/diff/20001/build/android/pylib/constants.py#newcode222 build/android/pylib/constants.py:222: raise EnvironmentError( On 2015/04/13 22:51:47, jbudorick wrote: > Not ...
5 years, 8 months ago (2015-04-14 16:18:38 UTC) #5
perezju
lgtm with nit. just check with john if there are further comments to address https://codereview.chromium.org/1085713002/diff/80001/build/android/pylib/device/device_utils.py ...
5 years, 8 months ago (2015-04-15 09:36:18 UTC) #6
mikecase (-- gone --)
https://codereview.chromium.org/1085713002/diff/80001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1085713002/diff/80001/build/android/pylib/device/device_utils.py#newcode830 build/android/pylib/device/device_utils.py:830: logging.warning('Error calculating md5: %s' % e) On 2015/04/15 09:36:18, ...
5 years, 8 months ago (2015-04-21 16:54:33 UTC) #7
jbudorick
Sorry for taking a little while to look at this. It now needs to be ...
5 years, 7 months ago (2015-04-28 20:26:45 UTC) #8
mikecase (-- gone --)
On 2015/04/28 20:26:45, jbudorick wrote: > Sorry for taking a little while to look at ...
5 years, 7 months ago (2015-04-29 20:49:28 UTC) #9
jbudorick
lgtm
5 years, 7 months ago (2015-04-29 20:51:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1085713002/120001
5 years, 7 months ago (2015-04-29 20:53:35 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-04-29 22:11:30 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 22:12:26 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d84193aa868e644f4913cd8f5ddd5569dcb4263d
Cr-Commit-Position: refs/heads/master@{#327597}

Powered by Google App Engine
This is Rietveld 408576698