diff options
author | 2021-09-20 18:24:56 +0000 | |
---|---|---|
committer | 2021-09-20 18:24:56 +0000 | |
commit | 3d5cd4d109c0998bdc7523056daac67e77d94e42 (patch) | |
tree | 5d8bfd573c628037c16a098f2e42f31f40a5e110 /scripts/manifest_check.py | |
parent | 6e09abdf5c2bbcf6ba1e7d5728d10171c7daa295 (diff) |
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
Diffstat (limited to 'scripts/manifest_check.py')
-rwxr-xr-x | scripts/manifest_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/manifest_check.py b/scripts/manifest_check.py index 71fe358ff..b4936b865 100755 --- a/scripts/manifest_check.py +++ b/scripts/manifest_check.py @@ -358,7 +358,7 @@ def main(): # 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: |