DO NOT MERGE: Only use a fixed timestamp when packaging.

This CL changes to use a fixed timestamp only when packaging
into the target_files zip.

Bug: 24377993
Change-Id: I01d136f4b99e1eff80c559192d93db83a3c5c0a4
(cherry picked from commit 822f5840c0)
This commit is contained in:
Tao Bao
2015-09-30 16:01:14 -07:00
parent 1b5eef1b49
commit 338da607e8
2 changed files with 20 additions and 0 deletions

View File

@@ -399,6 +399,7 @@ def ImagePropFromGlobalDict(glob_dict, mount_point):
mount_point: such as "system", "data" etc.
"""
d = {}
if "build.prop" in glob_dict:
bp = glob_dict["build.prop"]
if "ro.build.date.utc" in bp: