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

Issue 2076853003: [iOS/Mac/GN] Update timestamp when copying a tree. (Closed)

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

Description

[iOS/Mac/GN] Update timestamp when copying a tree. shutil.copytree does copy the source tree timestamp which confuses ninja, so stop using shutil.copytree and do the recursive copy in the script itself. Use "plutil" to convert the .strings file instead of CoreFoundation as it looks like it is not necessary to load the file in memory to check the format. Remove the "rm -rf" before invoking "compile_xcassets.py" and move the file deletion into the script. Add a --version-for-gn parameter with a single supported value and a descriptive comment to force rebuild when the script changes. BUG=620950

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -42 lines) Patch
M build/toolchain/mac/BUILD.gn View 2 chunks +4 lines, -4 lines 0 comments Download
M build/toolchain/mac/compile_xcassets.py View 2 chunks +8 lines, -0 lines 0 comments Download
M build/toolchain/mac/copy_bundle_data.py View 3 chunks +59 lines, -38 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
sdefresne
This is another version of your CL, WDYT?
4 years, 6 months ago (2016-06-17 11:58:43 UTC) #2
Robert Sesek
This looks like it takes two different approaches to https://codereview.chromium.org/2075703002/ and https://codereview.chromium.org/2072713005/. For the tool ...
4 years, 6 months ago (2016-06-17 17:03:31 UTC) #4
sdefresne
On 2016/06/17 17:03:31, Robert Sesek wrote: > This looks like it takes two different approaches ...
4 years, 6 months ago (2016-06-17 17:16:37 UTC) #5
Robert Sesek
On 2016/06/17 17:16:37, sdefresne wrote: > On 2016/06/17 17:03:31, Robert Sesek wrote: > > opinion. ...
4 years, 6 months ago (2016-06-17 17:33:04 UTC) #6
sdefresne
4 years, 6 months ago (2016-06-18 07:28:29 UTC) #7
Message was sent while issue was closed.
Closing as your CLs landed. Thank you.

Powered by Google App Engine
This is Rietveld 408576698