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

Issue 2075463002: [Mac/iOS/GN] Use rsync in copy_bundle_data instead of shutil.copytree. (Closed)

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

Description

[Mac/iOS/GN] Use rsync in copy_bundle_data instead of shutil.copytree. As the TODO this fixes states, copytree preserves mtimes. This can cause overbuild when building bundled products. Switch to using rsync to have more control over copy parameters. BUG=297668 R=dpranke@chromium.org Committed: https://crrev.com/0cc137a639e9eb687b0fbde47983d672bcc8ef9f Cr-Commit-Position: refs/heads/master@{#400047}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Strip slashes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -13 lines) Patch
M build/toolchain/mac/copy_bundle_data.py View 1 2 chunks +17 lines, -13 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Robert Sesek
4 years, 6 months ago (2016-06-15 22:01:42 UTC) #2
Dirk Pranke
https://codereview.chromium.org/2075463002/diff/1/build/toolchain/mac/copy_bundle_data.py File build/toolchain/mac/copy_bundle_data.py (right): https://codereview.chromium.org/2075463002/diff/1/build/toolchain/mac/copy_bundle_data.py#newcode86 build/toolchain/mac/copy_bundle_data.py:86: ['rsync', '--recursive', '--perms', '--links', source, dest]) I'm not sure ...
4 years, 6 months ago (2016-06-15 22:11:40 UTC) #3
Robert Sesek
https://codereview.chromium.org/2075463002/diff/1/build/toolchain/mac/copy_bundle_data.py File build/toolchain/mac/copy_bundle_data.py (right): https://codereview.chromium.org/2075463002/diff/1/build/toolchain/mac/copy_bundle_data.py#newcode86 build/toolchain/mac/copy_bundle_data.py:86: ['rsync', '--recursive', '--perms', '--links', source, dest]) On 2016/06/15 22:11:40, ...
4 years, 6 months ago (2016-06-15 22:31:16 UTC) #4
Dirk Pranke
lgtm
4 years, 6 months ago (2016-06-15 22:33:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2075463002/20001
4 years, 6 months ago (2016-06-15 23:36:45 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-15 23:50:39 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0cc137a639e9eb687b0fbde47983d672bcc8ef9f Cr-Commit-Position: refs/heads/master@{#400047}
4 years, 6 months ago (2016-06-15 23:53:07 UTC) #11
dmazzoni
4 years, 6 months ago (2016-06-16 03:24:06 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2074523003/ by dmazzoni@chromium.org.

The reason for reverting is: Broke both Mac GN builders; tests are failing with
errors such as:

AcceleratorsCocoaBrowserTest.MainMenuAcceleratorsInMapping (run #1):
[ RUN      ] AcceleratorsCocoaBrowserTest.MainMenuAcceleratorsInMapping
[1361:515:0615/193339:210535270587:FATAL:crashpad_client_mac.cc(411)] execvp
/b/swarm_slave/work/isolated/isolated_runTnrdHD/out/Release/Chromium.app/Contents/Versions/53.0.2769.0/Chromium
Framework.framework/Helpers/crashpad_handler: No such file or directory
.

Powered by Google App Engine
This is Rietveld 408576698