Commit 9c5d6a62 authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

mac: Stop deleting the old Versions/ directory.

The build system has not put files there in more than a year.

Change-Id: Id2d1b95d05a67bd361dd58b26923fe5b0b0a024a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364011Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799651}
parent 48fd380f
......@@ -573,8 +573,6 @@ if (is_win) {
outputs = [ _stamp_file ]
_old_versions_dir =
"$root_out_dir/$chrome_product_full_name.app/Contents/Versions"
_versions_dir = "$root_out_dir/$chrome_product_full_name.app/Contents/Frameworks/$chrome_framework_name.framework/Versions"
args = [
......@@ -586,8 +584,6 @@ if (is_win) {
chrome_version_full,
"--keep",
"Current",
"--delete",
rebase_path(_old_versions_dir, root_build_dir),
]
}
......
......@@ -19,10 +19,6 @@ def CleanUpOldVersions(args):
else:
os.unlink(path)
for path in args.delete:
if os.path.exists(path):
shutil.rmtree(path)
open(args.stamp, 'w').close()
os.utime(args.stamp, None)
......@@ -39,12 +35,6 @@ def Main():
default=[],
help=('The names of items to keep in the `--versions-dir`. '
'Can be specified multiple times.'))
parser.add_argument(
'--delete',
action='append',
default=[],
help=('Unconditionally deletes the tree at this path. Can be '
'specified multiple times.'))
parser.add_argument(
'--stamp', required=True, help='Path to write the stamp file.')
args = parser.parse_args()
......
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