commit | 3d5cd4d109c0998bdc7523056daac67e77d94e42 | [log] [tgz] |
---|---|---|
author | Spandan Das <spandandas@google.com> | Mon Sep 20 18:24:56 2021 +0000 |
committer | Spandan Das <spandandas@google.com> | Mon Sep 20 18:24:56 2021 +0000 |
tree | 5d8bfd573c628037c16a098f2e42f31f40a5e110 | |
parent | 6e09abdf5c2bbcf6ba1e7d5728d10171c7daa295 [diff] [blame] |
Fix statusfile used in dexpreopt https://android-review.googlesource.com/c/platform/build/soong/+/1820496/1/scripts/manifest_check.py#361 caused a regression wrt to statusfile creation. Specifically it inverted the logic used to create the status file. This file is used in dexpreopt, thereby affecting all odex files Test: In internal git, m <an_odex_file>. File size is restored to pre-regression value Bug: 199921980 Bug: 200329228 Change-Id: If1e61ac8e2b95455dacc6e7b9431c8f6e1f339b3
diff --git a/scripts/manifest_check.py b/scripts/manifest_check.py index 71fe358..b4936b8 100755 --- a/scripts/manifest_check.py +++ b/scripts/manifest_check.py
@@ -358,7 +358,7 @@ # the check has failed. if args.enforce_uses_libraries_status: with open(args.enforce_uses_libraries_status, 'w') as f: - if not errmsg is not None: + if errmsg is not None: f.write('%s\n' % errmsg) if args.extract_target_sdk_version: