Chromium Code Reviews| Index: build/android/pylib/device/device_utils.py |
| diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py |
| index f7167cea13a20e9401ff03556d1b4e49b8bddfb2..e9a3a8fc24d83cbccdd36c198c6f4fbec3c34e10 100644 |
| --- a/build/android/pylib/device/device_utils.py |
| +++ b/build/android/pylib/device/device_utils.py |
| @@ -818,7 +818,13 @@ class DeviceUtils(object): |
| if not real_device_path: |
| return [(host_path, device_path)] |
| - host_hash_tuples = md5sum.CalculateHostMd5Sums([real_host_path]) |
| + try: |
| + host_hash_tuples = md5sum.CalculateHostMd5Sums([real_host_path]) |
| + except EnvironmentError: |
| + logging.info('md5sum_bin_host might not be built, ' |
|
perezju
2015/04/14 10:45:29
maybe logging.warning, and include the exception m
mikecase (-- gone --)
2015/04/14 16:18:38
Done.
|
| + 'or we might not be able to find it.') |
| + return [(host_path, device_path)] |
| + |
| device_paths_to_md5 = ( |
| real_device_path if os.path.isfile(real_host_path) |
| else ('%s/%s' % (real_device_path, os.path.relpath(p, real_host_path)) |