Merge "Remove empty zip warning on host builds" am: fd42c09813

am: c9c0460e99

Change-Id: Ie22226ad9a9c0dc5f3fbc4a841936cdecabf3cc4
This commit is contained in:
Adam Lesinski 2018-03-02 02:32:13 +00:00 committed by android-build-merger
commit fbd68ec85e
1 changed files with 2 additions and 0 deletions

View File

@ -224,7 +224,9 @@ static int32_t MapCentralDirectory0(const char* debug_file_name, ZipArchive* arc
return kInvalidOffset;
}
if (eocd->num_records == 0) {
#if defined(__ANDROID__)
ALOGW("Zip: empty archive?");
#endif
return kEmptyArchive;
}