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

Issue 51103013: Add storyboard support. (Closed)

Created:
7 years, 1 month ago by justincohen
Modified:
7 years, 1 month ago
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Add storyboard support. Add ibtool support for storyboards. Storyboards also seem to flex an issue in ibtool where relative paths cause weirdness. Xcode passes absolute paths to ibtool, so changing to abs paths here as well. BUG=314728 R=pkl@chromium.org, thakis@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1778

Patch Set 1 #

Total comments: 3

Patch Set 2 : Unit tests and abs paths #

Patch Set 3 : rebase #

Patch Set 4 : Revert to xcode 4.6 storyboards #

Patch Set 5 : An even older storyboard #

Total comments: 6

Patch Set 6 : Add radar and nits #

Total comments: 2

Patch Set 7 : Remove radar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -2 lines) Patch
M pylib/gyp/mac_tool.py View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M pylib/gyp/xcode_emulation.py View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
A test/ios/app-bundle/TestApp/English.lproj/Main_iPhone.storyboard View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M test/ios/app-bundle/test.gyp View 1 2 chunks +2 lines, -1 line 0 comments Download
M test/ios/gyptest-app-ios.py View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
pkl (ping after 24h if needed)
https://codereview.chromium.org/51103013/diff/1/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): https://codereview.chromium.org/51103013/diff/1/pylib/gyp/xcode_emulation.py#newcode1071 pylib/gyp/xcode_emulation.py:1071: output = output[0:-10] + 'storyboardc' os.path.basename(output) + '.storyboardc'
7 years, 1 month ago (2013-10-30 16:47:14 UTC) #1
justincohen
https://codereview.chromium.org/51103013/diff/1/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): https://codereview.chromium.org/51103013/diff/1/pylib/gyp/xcode_emulation.py#newcode1071 pylib/gyp/xcode_emulation.py:1071: output = output[0:-10] + 'storyboardc' Won't that append .storyboardc ...
7 years, 1 month ago (2013-10-30 16:53:58 UTC) #2
pkl (ping after 24h if needed)
https://codereview.chromium.org/51103013/diff/1/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): https://codereview.chromium.org/51103013/diff/1/pylib/gyp/xcode_emulation.py#newcode1071 pylib/gyp/xcode_emulation.py:1071: output = output[0:-10] + 'storyboardc' On 2013/10/30 16:53:59, justincohen ...
7 years, 1 month ago (2013-10-30 16:57:22 UTC) #3
pkl (ping after 24h if needed)
lgtm
7 years, 1 month ago (2013-10-30 17:18:10 UTC) #4
justincohen
Adding storyboard support regularly (but not always) hit the weird path problem. I tried creating ...
7 years, 1 month ago (2013-11-01 14:10:35 UTC) #5
Nico
Did you dtrace? I'd like to understand why abs paths are needed. On 2013/11/01 14:10:35, ...
7 years, 1 month ago (2013-11-01 14:22:55 UTC) #6
justincohen
I didn't. Any tips on what dtrace command to run?
7 years, 1 month ago (2013-11-01 15:07:41 UTC) #7
justincohen
Nico, do I need to update this bug to point to any of the ibtool ...
7 years, 1 month ago (2013-11-04 19:12:56 UTC) #8
Nico
On 2013/11/04 19:12:56, justincohen wrote: > Nico, do I need to update this bug to ...
7 years, 1 month ago (2013-11-04 19:16:25 UTC) #9
Nico
https://codereview.chromium.org/51103013/diff/280001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/51103013/diff/280001/pylib/gyp/mac_tool.py#newcode66 pylib/gyp/mac_tool.py:66: # ibtool sometimes fails with relative paths. Once you ...
7 years, 1 month ago (2013-11-04 19:20:24 UTC) #10
justincohen
PTAL! https://codereview.chromium.org/51103013/diff/280001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/51103013/diff/280001/pylib/gyp/mac_tool.py#newcode66 pylib/gyp/mac_tool.py:66: # ibtool sometimes fails with relative paths. On ...
7 years, 1 month ago (2013-11-05 18:08:08 UTC) #11
Nico
splitext works too. lgtm, thanks! https://codereview.chromium.org/51103013/diff/450001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/51103013/diff/450001/pylib/gyp/mac_tool.py#newcode66 pylib/gyp/mac_tool.py:66: # ibtool sometimes crashes ...
7 years, 1 month ago (2013-11-05 18:11:17 UTC) #12
justincohen
https://codereview.chromium.org/51103013/diff/450001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/51103013/diff/450001/pylib/gyp/mac_tool.py#newcode66 pylib/gyp/mac_tool.py:66: # ibtool sometimes crashes with relative paths. Filed as ...
7 years, 1 month ago (2013-11-05 18:21:22 UTC) #13
justincohen
7 years, 1 month ago (2013-11-05 18:29:01 UTC) #14
Message was sent while issue was closed.
Committed patchset #7 manually as r1778 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698