From 734d78cdf6d39ef8508bd60c300b8e42e6a216c7 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 1 Feb 2016 13:38:25 -0800 Subject: [PATCH] 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 --- tools/releasetools/target_files_diff.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/releasetools/target_files_diff.py b/tools/releasetools/target_files_diff.py index 405c42b92..acb7448ca 100755 --- a/tools/releasetools/target_files_diff.py +++ b/tools/releasetools/target_files_diff.py @@ -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=',