Merge "Remove empty zip warning on host builds"

am: fd42c09813

Change-Id: Ic3d788dd7da989da048bfb410ca51bea716e3d08
This commit is contained in:
Adam Lesinski 2018-03-02 02:21:02 +00:00 committed by android-build-merger
commit c9c0460e99
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;
}