platform_build/tools/releasetools
Bryan Henry e6d547d53a Fix 2009-01-01 timestamps in releasetools to always be UTC
The usage of datetime.fromtimestamp previously resulted in the build or
signing machine's local timezone affecting the Unix timestamp ultimately
applied to images generated by add_img_to_target_files. The go/ab build
outputs would use 2009-01-01 00:00 UTC, for example, but local builds
and the release signed images (generated through go/ab-sign) would use
2009-01-01 00:00 PST. This change makes the timestamps always use UTC.

Bug: 80600931
Bug: 80093599
Test: 'm -j droid dist' and verified timestamps in resulting
target_files zip.

Change-Id: Ic2a19591519850c249f78254e1464aa6839bfc6c
2018-07-31 18:32:00 -07:00
..
testdata releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00
add_img_to_target_files
add_img_to_target_files.py Fix 2009-01-01 timestamps in releasetools to always be UTC 2018-07-31 18:32:00 -07:00
blockimgdiff.py releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
build_image.py productservices => product_services 2018-07-26 17:19:02 -07:00
check_ota_package_signature.py releasetools: Capture stderr output when calling delta_generator. 2018-02-05 23:39:23 -08:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py releasetools: Call Cleanup() in check_target_files_signatures.py. 2018-03-01 10:12:39 -08:00
common.py Fix 2009-01-01 timestamps in releasetools to always be UTC 2018-07-31 18:32:00 -07:00
edify_generator.py releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
img_from_target_files
img_from_target_files.py releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py Merge "releasetools: Make scripts pylint clean." 2018-07-23 14:11:37 +00:00
ota_package_parser.py Add a script to parse an block-based ota package 2017-05-09 21:01:19 +00:00
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
pylintrc releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
rangelib.py releasetools: RangeSet.monotonic is not an optional attribute. 2018-02-06 16:00:52 -08:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py releasetools: Skip signing APKs with given prefixes. 2018-06-20 13:49:57 -07:00
sparse_img.py releasetools: Allow generating BBOTA for images with shared blocks. 2018-02-13 11:14:23 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 18:35:20 +00:00
test_add_img_to_target_files.py releasetools: Clean up AppendVBMetaArgsForPartition(). 2018-07-22 22:36:27 -07:00
test_blockimgdiff.py releasetools: Remove RemoveBackwardEdges(). 2018-07-10 22:13:40 -07:00
test_build_image.py releasetools: Fix an issue in image size computation. 2018-07-26 16:59:57 +00:00
test_common.py releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00
test_ota_from_target_files.py releasetools: Fix secondary payload generation. 2018-07-12 14:52:52 -07:00
test_rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
test_sign_target_files_apks.py releasetools: Skip signing APKs with given prefixes. 2018-06-20 13:49:57 -07:00
test_utils.py releasetools: Handle two edge cases in FinalizeMetadata(). 2018-03-19 13:35:38 -07:00
test_validate_target_files.py Remove the hard-coded path of build_verity_metadata.py. 2018-03-21 21:15:59 +00:00
validate_target_files.py releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00