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

Issue 2117353002: Only call CopyStringsFile if convert_to_binary is False. (Closed)

Created:
4 years, 5 months ago by sdefresne
Modified:
4 years, 5 months ago
Reviewers:
justincohen
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Target Ref:
refs/heads/master
Project:
gyp
Visibility:
Public.

Description

Only call CopyStringsFile if convert_to_binary is False. When convert_to_binary is True, there is no point converting the .strings file encoding to UTF-16 as the conversion will be performed by "plutil". This fix compilation failure when the input files are already in "binary1" property list format. BUG=625578 R=justincohen@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/bac4680ec9a5c55ab692490b6732999648ecf1e9

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M pylib/gyp/mac_tool.py View 2 chunks +3 lines, -2 lines 3 comments Download

Messages

Total messages: 10 (3 generated)
sdefresne
Please take a look.
4 years, 5 months ago (2016-07-05 13:00:18 UTC) #2
justincohen
How is the file copied when convert to binary is true?
4 years, 5 months ago (2016-07-05 15:36:26 UTC) #4
sdefresne
https://codereview.chromium.org/2117353002/diff/1/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/2117353002/diff/1/pylib/gyp/mac_tool.py#newcode71 pylib/gyp/mac_tool.py:71: shutil.copy(source, dest) The file is copied here (i.e. in ...
4 years, 5 months ago (2016-07-05 16:52:14 UTC) #5
justincohen
https://codereview.chromium.org/2117353002/diff/1/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/2117353002/diff/1/pylib/gyp/mac_tool.py#newcode71 pylib/gyp/mac_tool.py:71: shutil.copy(source, dest) Will this create a lot of churn? ...
4 years, 5 months ago (2016-07-06 09:18:06 UTC) #6
sdefresne
https://codereview.chromium.org/2117353002/diff/1/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/2117353002/diff/1/pylib/gyp/mac_tool.py#newcode71 pylib/gyp/mac_tool.py:71: shutil.copy(source, dest) On 2016/07/06 09:18:05, justincohen wrote: > Will ...
4 years, 5 months ago (2016-07-06 09:28:06 UTC) #7
justincohen
LGTM
4 years, 5 months ago (2016-07-06 14:59:09 UTC) #8
sdefresne
4 years, 5 months ago (2016-07-06 15:11:25 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
bac4680ec9a5c55ab692490b6732999648ecf1e9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698