Diff .art/.oat/.odex files now that they are deterministic

This also whitelists the ro.build.user property, which may change based
on host username.

Bug: 26687569
Change-Id: I8f3244c2325dd80a7961c474655f0c50670d1b46
This commit is contained in:
Dan Willemsen 2016-02-01 13:38:25 -08:00
parent 41fed8c082
commit 734d78cdf6

View file

@ -51,9 +51,6 @@ def ignore(name):
'RECOVERY/RAMDISK/selinux_version']:
return True
# b/24201956 .art/.oat/.odex files are different with every build
if name.endswith('.art') or name.endswith('.oat') or name.endswith('.odex'):
return True
# b/25348136 libpac.so changes with every build
if name in ['SYSTEM/lib/libpac.so',
'SYSTEM/lib64/libpac.so']:
@ -76,6 +73,7 @@ def rewrite_build_property(original, new):
'ro.build.date=',
'ro.build.date.utc=',
'ro.build.host=',
'ro.build.user=',
'ro.build.description=',
'ro.build.fingerprint=',
'ro.expect.recovery_id=',