Revert "remove_files.py: Print warnings on removals"
This reverts commit d51b47ac67
.
Reason for revert: crbug.com/1335550
Original change's description:
> remove_files.py: Print warnings on removals
>
> This will make it easier to debug build issues happening because if this
> script in the future.
>
> Bug: chromium:1314527
> Change-Id: I5bbb4082ac816f98860e621917bc35b26ba7cb29
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87700
> Auto-Submit: Corentin Wallez <cwallez@chromium.org>
> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: chromium:1314527
Change-Id: I47e352f57becaa064b6c8ceb022dcbed9bd212d3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93441
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
55f678677f
commit
ff2dc652f5
|
@ -78,7 +78,6 @@ def run():
|
||||||
|
|
||||||
for candidate in get_all_files_in_dir(stale_dir):
|
for candidate in get_all_files_in_dir(stale_dir):
|
||||||
if not check_is_allowed(candidate, allowed_dirs):
|
if not check_is_allowed(candidate, allowed_dirs):
|
||||||
print("Warning: remove_files.py removed " + candidate)
|
|
||||||
os.remove(candidate)
|
os.remove(candidate)
|
||||||
|
|
||||||
# Finished! Write the stamp file so ninja knows to not run this again.
|
# Finished! Write the stamp file so ninja knows to not run this again.
|
||||||
|
|
Loading…
Reference in New Issue