platform_build/tools
Alex Klyubin 37a0ecd329 Fix bug in APK entry alignment.
APK entry alignment logic assumes that input entries have zero-length
comment and extra fields. When the assumption is broken, the logic
silently breaks alignment of output entries. This happens, for
example, when the APK to be signed is already aligned and thus may
contain entries with non-empty extra fields.

Given that APKs are not supposed to use comment and extra fields for
anything useful and given that this signer already discards comment
and extra fields of compressed entries, this change makes the signer
discard comment and extra fields of STORED input entries as well.
This unbreaks the existing alignment logic.

Bug: 27814973
Change-Id: I8242b037e21ba7bcf45d0fe2afc8bfc47f1ec314
2016-03-23 13:09:42 -07:00
..
acp Remove LOCAL_ACP_UNAVAILABLE 2016-03-01 13:16:53 -08:00
apicheck Ensure prebuilt executables are executable 2016-03-01 22:11:41 -08:00
atree Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
droiddoc Doclava template changes associated with default methods 2016-01-27 11:57:34 +00:00
fs_config fs_config: error on multiple specifications of android_filesystem_config.h 2016-02-11 10:47:06 -08:00
fs_get_stats fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
ijar Remove warnings from ijar/classfile.cc 2015-12-01 16:44:32 +09:00
makeparallel makeparallel: unset MAKEFLAGS and MAKELEVEL 2016-02-05 00:10:20 -08:00
releasetools Add support for Brillo Verified Boot. 2016-03-18 15:25:43 -04:00
rgb2565
signapk Fix bug in APK entry alignment. 2016-03-23 13:09:42 -07:00
signtos Add SignTos tool 2014-08-08 13:18:53 -07:00
zipalign Enable -Werror on zipalign 2016-03-18 10:04:07 -07:00
ziptime Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
Android.mk Remove unneccessary TARGET_BUILD_APPS conditional 2015-12-15 15:49:53 -08:00
adbs ADBS now uses stack_core code to parse traces. 2014-07-07 15:14:41 -07:00
brillo-clang-format Include Brillo's cannonical .clang-format file. 2016-02-16 14:29:45 -08:00
buildinfo.sh Add ro.build.ab_update property. 2015-11-19 18:42:52 +00:00
check_builds.sh Use a more modern -j flag. 2012-08-16 22:45:55 -07:00
check_radio_versions.py fix build: make check_radio_versions.py okay with no args 2012-03-21 10:01:01 -07:00
compare_fileslist.py
diff_package_overlays.py Clean common intermediate files if overlay changed 2012-06-04 18:02:55 -07:00
dump-package-stats
event_log_tags.py check syntax of description field in logtags files 2011-01-23 12:57:19 -08:00
fileslist.py Move forward installed-files.txt in the dependency graph 2011-09-09 17:07:23 -07:00
filter-product-graph.py make product-graph now filtered 2012-08-16 22:45:55 -07:00
findleaves.py Follow symlinks in findleaves 2012-08-24 16:24:45 -07:00
fixlinebreaks.sh
generate-notice-files.py Create reproducible NOTICE collections 2015-11-10 12:37:23 -08:00
java-event-log-tags.py Add float support to binary event log. 2015-04-28 18:21:09 -07:00
java-layers.py Add a tool to let you enforce layering between packages in a java module. 2012-10-20 17:25:55 -07:00
merge-event-log-tags.py fix merge-event-log-tags.py deprecation warning 2012-09-20 11:50:34 -07:00
mktarball.sh fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
normalize_path.py Normalize the product makefile path in inherit-product. 2015-10-28 15:20:41 -07:00
parsedeps.py Add tool to parse make dependency info from new --deps flag. 2012-08-16 22:45:55 -07:00
post_process_props.py Do not add 'adb' to persist.sys.usb.config if already there 2015-05-29 07:46:40 +00:00
print_module_licenses.sh
product_debug.py Remove support of factory ramdisk/bundle. 2015-02-04 11:00:01 -08:00
warn.py Dump table of warning counts before all warnings. 2016-03-22 10:44:11 -07:00