Commit 91c8933f authored by Mohamed Heikal's avatar Mohamed Heikal Committed by Commit Bot

Remove caching check in create_size_info_files.py

Bug: 1045024
Change-Id: Id5f37e284a97c6bb4a77341203df366f1d36ce32
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2017643Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Mohamed Heikal <mheikal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734639}
parent 982166fe
......@@ -13,7 +13,6 @@ import zipfile
from util import build_utils
from util import jar_info_utils
from util import md5_check
def _MergeResInfoFiles(res_info_path, info_paths):
......@@ -156,13 +155,8 @@ def main(args):
options.uncompressed_assets)
res_inputs = options.in_res_info_path
# Don't bother re-running if no .info files have changed (saves ~250ms).
md5_check.CallAndRecordIfStale(
lambda: _MergeJarInfoFiles(options.jar_info_path, jar_inputs),
input_paths=jar_inputs + [__file__],
output_paths=[options.jar_info_path])
# Always recreate these (just as fast as md5 checking them).
# Just create the info files every time. See https://crbug.com/1045024
_MergeJarInfoFiles(options.jar_info_path, jar_inputs)
_MergePakInfoFiles(options.pak_info_path, pak_inputs)
_MergeResInfoFiles(options.res_info_path, res_inputs)
......
......@@ -5,4 +5,3 @@ create_size_info_files.py
util/__init__.py
util/build_utils.py
util/jar_info_utils.py
util/md5_check.py
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment