Logan Chien 26e3d4aaaf vndk-def: Fix is_zipfile() for Python 3.5
Python 3.5 adopts a fancy algorithm to detect the zip file.  It will
search for the magic words in the file, i.e. magic word does not have to
be at the beginning.  This commit adds an extra check to make sure "PK",
the magic word for zip file, is at the beginning of the file.

Test: ./vndk_definition_tool.py apk-deps --system ... --vendor ...
Change-Id: I3e633709bc39187ae807aef97c6e0396d02266ea
2018-01-25 23:37:04 +08:00
2016-03-26 20:30:14 -07:00
2017-12-14 13:19:30 -08:00
Description
android_development
592 MiB
Languages
PostScript 31.4%
TypeScript 16.9%
C++ 15.5%
Python 11.8%
Java 11.4%
Other 12.7%