Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 734d78cd authored by Dan Willemsen's avatar Dan Willemsen
Browse files

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
parent 41fed8c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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=',