Index: build/android/resource_sizes.py |
diff --git a/build/android/resource_sizes.py b/build/android/resource_sizes.py |
index 89e7dca11a3453f01c61ba09e0c95601511f8534..77000b9ded635f4d25125bd85079ebd0c9abe028 100755 |
--- a/build/android/resource_sizes.py |
+++ b/build/android/resource_sizes.py |
@@ -299,6 +299,8 @@ class _FileGroup(object): |
None) |
def FindLargest(self): |
+ if not self._zip_infos: |
+ return None |
return max(self._zip_infos, key=lambda i: i.file_size) |
def ComputeZippedSize(self): |