platform_build_soong/third_party/zip
Dan Willemsen a1354b325d Fix Zip64 behavior in zip2zip
This was blindly copying the zip64 extra fields from the central
directory of the original zip file to the new one. The zip64 extra
fields depend on the contents of the header it's attached toa, and in
this case we were copying the zip64 file header offset from the central
directory entry into the destination local file header, which makes no
sense, especially since the offset changed in the new file.

So strip all zip64 extra entries, and we'll create them as necessary
when writing ou the new file.

Bug: 34704111
Test: zip2zip on the original target-files -> img that was broken
Test: m -j blueprint_tools (new android_test.go)
Change-Id: Ie3c0540b13d3afcf42f3d47fff319065952b126f
2017-02-17 13:21:03 -08:00
..
testdata Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
Android.bp Fix Zip64 behavior in zip2zip 2017-02-17 13:21:03 -08:00
android.go Fix Zip64 behavior in zip2zip 2017-02-17 13:21:03 -08:00
android_test.go Fix Zip64 behavior in zip2zip 2017-02-17 13:21:03 -08:00
example_test.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
reader.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
reader_test.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
register.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
struct.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
writer.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
writer_test.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
zip_test.go Fix zip tests 2017-02-02 16:46:33 -08:00