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

Issue 61293004: ninja generator vs file permissions (Closed)

Created:
7 years, 1 month ago by Nico
Modified:
7 years, 1 month ago
Reviewers:
Mark Mentovai
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

ninja/mac: Let mac_bundle_resources keep file permissions. Also add a test that this is true for 'copies' too. BUG=chromium:315383 R=mark@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1779

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 7

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 4

Patch Set 10 : #

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -1 line) Patch
M pylib/gyp/mac_tool.py View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
A test/copies/gyptest-attribs.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +41 lines, -0 lines 0 comments Download
A test/copies/src/copies-attribs.gyp View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
A test/copies/src/executable-file.sh View 1 chunk +3 lines, -0 lines 0 comments Download
A test/mac/bundle-resources/executable-file.sh View 1 1 chunk +3 lines, -0 lines 0 comments Download
M test/mac/bundle-resources/test.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/gyptest-bundle-resources.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Mark Mentovai
https://codereview.chromium.org/61293004/diff/50001/test/mac/gyptest-bundle-resources.py File test/mac/gyptest-bundle-resources.py (right): https://codereview.chromium.org/61293004/diff/50001/test/mac/gyptest-bundle-resources.py#newcode41 test/mac/gyptest-bundle-resources.py:41: if in_stat.st_mode != out_stat.st_mode: They might not be exactly ...
7 years, 1 month ago (2013-11-06 02:33:43 UTC) #1
Nico
On 2013/11/06 02:33:43, Mark Mentovai wrote: > https://codereview.chromium.org/61293004/diff/50001/test/mac/gyptest-bundle-resources.py > File test/mac/gyptest-bundle-resources.py (right): > > https://codereview.chromium.org/61293004/diff/50001/test/mac/gyptest-bundle-resources.py#newcode41 ...
7 years, 1 month ago (2013-11-06 02:39:27 UTC) #2
Nico
…but checking for X on the X file and not X on a regular file ...
7 years, 1 month ago (2013-11-06 02:45:33 UTC) #3
Mark Mentovai
The build-time umask might not matter. Xcode always copies files as though the umask were ...
7 years, 1 month ago (2013-11-06 02:46:54 UTC) #4
Mark Mentovai
https://codereview.chromium.org/61293004/diff/210001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/61293004/diff/210001/pylib/gyp/mac_tool.py#newcode53 pylib/gyp/mac_tool.py:53: # be consistent with the single-file branch. Hmm, that’s ...
7 years, 1 month ago (2013-11-06 02:50:40 UTC) #5
Nico
https://codereview.chromium.org/61293004/diff/210001/test/copies/gyptest-attribs.py File test/copies/gyptest-attribs.py (right): https://codereview.chromium.org/61293004/diff/210001/test/copies/gyptest-attribs.py#newcode30 test/copies/gyptest-attribs.py:30: if in_stat.st_mode != out_stat.st_mode: On 2013/11/06 02:50:40, Mark Mentovai ...
7 years, 1 month ago (2013-11-06 02:58:16 UTC) #6
Mark Mentovai
https://codereview.chromium.org/61293004/diff/150003/test/copies/gyptest-attribs.py File test/copies/gyptest-attribs.py (right): https://codereview.chromium.org/61293004/diff/150003/test/copies/gyptest-attribs.py#newcode3 test/copies/gyptest-attribs.py:3: # Copyright (c) 2009 Google Inc. All rights reserved. ...
7 years, 1 month ago (2013-11-06 03:10:11 UTC) #7
Nico
https://codereview.chromium.org/61293004/diff/150003/test/copies/gyptest-attribs.py File test/copies/gyptest-attribs.py (right): https://codereview.chromium.org/61293004/diff/150003/test/copies/gyptest-attribs.py#newcode3 test/copies/gyptest-attribs.py:3: # Copyright (c) 2009 Google Inc. All rights reserved. ...
7 years, 1 month ago (2013-11-06 03:16:40 UTC) #8
Mark Mentovai
LGTM. I assume the trybot failures are because it doesn’t apply patches with the x-bit. ...
7 years, 1 month ago (2013-11-06 03:18:12 UTC) #9
Nico
Thanks! Will land and watch go/gypbot https://codereview.chromium.org/61293004/diff/550001/test/copies/gyptest-attribs.py File test/copies/gyptest-attribs.py (right): https://codereview.chromium.org/61293004/diff/550001/test/copies/gyptest-attribs.py#newcode3 test/copies/gyptest-attribs.py:3: # Copyright (c) ...
7 years, 1 month ago (2013-11-06 03:19:08 UTC) #10
Nico
Committed patchset #12 manually as r1779 (presubmit successful).
7 years, 1 month ago (2013-11-06 03:20:44 UTC) #11
Nico
7 years, 1 month ago (2013-11-06 03:40:51 UTC) #12
Message was sent while issue was closed.
(the tests pass on gypbot, so the trybots just had an issue with the executable
files, like you suspected)

Powered by Google App Engine
This is Rietveld 408576698