Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Issue 1222573002: Teach build/symlink.py --force to delete directories. (Closed)

Created:
5 years, 5 months ago by eseidel
Modified:
5 years, 5 months ago
Reviewers:
Dirk Pranke, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Teach build/symlink.py --force to delete directories. Otherwise os.remove just fails saying it can't delete a directory. R=dpranke@chromium.org Committed: https://crrev.com/add100b7cd19ae6caad54ac6c6ed9766b7f1f70b Cr-Commit-Position: refs/heads/master@{#337083}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M build/symlink.py View 2 chunks +5 lines, -1 line 2 comments Download

Messages

Total messages: 20 (5 generated)
eseidel
5 years, 5 months ago (2015-07-01 18:20:00 UTC) #2
Nico
lgtm if you don't need this on Windows https://codereview.chromium.org/1222573002/diff/1/build/symlink.py File build/symlink.py (right): https://codereview.chromium.org/1222573002/diff/1/build/symlink.py#newcode34 build/symlink.py:34: shutil.rmtree(t, ...
5 years, 5 months ago (2015-07-01 18:26:43 UTC) #4
eseidel
I don't think windows support is needed for this script given that it's symlinks. But ...
5 years, 5 months ago (2015-07-01 18:27:34 UTC) #5
Nico
https://codereview.chromium.org/1222573002/diff/1/build/symlink.py File build/symlink.py (right): https://codereview.chromium.org/1222573002/diff/1/build/symlink.py#newcode6 build/symlink.py:6: """Make a symlink and optionally touch a file (to ...
5 years, 5 months ago (2015-07-01 18:27:34 UTC) #6
eseidel
Perhaps we're abusing the script then. I can ditch this.
5 years, 5 months ago (2015-07-01 18:28:36 UTC) #9
Nico
To elaborate: If you have a directory as a build dep, then that directory's mtime ...
5 years, 5 months ago (2015-07-01 18:30:42 UTC) #10
abarth-chromium
On 2015/07/01 at 18:27:34, thakis wrote: > https://codereview.chromium.org/1222573002/diff/1/build/symlink.py > File build/symlink.py (right): > > https://codereview.chromium.org/1222573002/diff/1/build/symlink.py#newcode6 ...
5 years, 5 months ago (2015-07-01 18:31:00 UTC) #11
Nico
On 2015/07/01 18:31:00, abarth-chromium wrote: > On 2015/07/01 at 18:27:34, thakis wrote: > > https://codereview.chromium.org/1222573002/diff/1/build/symlink.py ...
5 years, 5 months ago (2015-07-01 18:35:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222573002/1
5 years, 5 months ago (2015-07-01 19:03:23 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-01 19:09:51 UTC) #15
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/add100b7cd19ae6caad54ac6c6ed9766b7f1f70b Cr-Commit-Position: refs/heads/master@{#337083}
5 years, 5 months ago (2015-07-01 19:11:06 UTC) #16
Dirk Pranke
Who actually calls this script? I didn't see any references to it in cs/ or ...
5 years, 5 months ago (2015-07-01 20:05:05 UTC) #17
eseidel
One BUILD.gn in mojo? :p https://github.com/domokit/mojo/blob/ac21cef12f1867925e97f96fea53e6d65c382c8e/sky/sdk/BUILD.gn#L115
5 years, 5 months ago (2015-07-01 20:12:16 UTC) #18
Dirk Pranke
On 2015/07/01 20:12:16, eseidel wrote: > One BUILD.gn in mojo? :p > > https://github.com/domokit/mojo/blob/ac21cef12f1867925e97f96fea53e6d65c382c8e/sky/sdk/BUILD.gn#L115 Does ...
5 years, 5 months ago (2015-07-01 20:15:29 UTC) #19
eseidel
5 years, 5 months ago (2015-07-01 21:02:05 UTC) #20
Message was sent while issue was closed.
sgtm.

Powered by Google App Engine
This is Rietveld 408576698