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

Issue 494583004: Make iossim binary work on Xcode 5 and 6. (Closed)

Created:
6 years, 4 months ago by lliabraa
Modified:
6 years, 3 months ago
Reviewers:
TVL
CC:
chromium-reviews, justincohen
Project:
chromium
Visibility:
Public.

Description

Make iossim binary work on Xcode 5 and 6. The CL changes most compile-time checks to be runtime-checks so that an iossim binary built agains Xcode 6 will still work against Xcode 5. BUG=None Committed: https://crrev.com/7f590bcff76926fc8442e020dcd1eebf604bf129 Cr-Commit-Position: refs/heads/master@{#291681}

Patch Set 1 #

Total comments: 9

Patch Set 2 : ifdef'd out xcode 6 APIS; refactored code for getting Xcode info. #

Patch Set 3 : whitespace fix #

Total comments: 16

Patch Set 4 : refactored task-running method; exit early if no xcode6 support #

Total comments: 6

Patch Set 5 : replace [] with objectAtIndex #

Patch Set 6 : s/%@/%d; move xcode support check after autorelease pool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -152 lines) Patch
M testing/iossim/iossim.gyp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M testing/iossim/iossim.mm View 1 2 3 4 5 11 chunks +209 lines, -152 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
lliabraa
6 years, 4 months ago (2014-08-21 19:22:45 UTC) #1
TVL
https://codereview.chromium.org/494583004/diff/1/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://codereview.chromium.org/494583004/diff/1/testing/iossim/iossim.mm#newcode46 testing/iossim/iossim.mm:46: #endif // IOSSIM_USE_XCODE_6 I'm guessing these need to be ...
6 years, 4 months ago (2014-08-21 19:41:50 UTC) #2
lliabraa
Thanks for the review! I've verified that iossim can build with Xcode 5 or 6 ...
6 years, 4 months ago (2014-08-22 17:50:56 UTC) #3
TVL
Or find a good choke point very early in mail to error out if built ...
6 years, 4 months ago (2014-08-22 18:27:36 UTC) #4
lliabraa
I added a method at the beginning of main to ensure support for the current ...
6 years, 4 months ago (2014-08-25 13:14:04 UTC) #5
TVL
lgtm lg with the pool created before the version check. https://chromiumcodereview.appspot.com/494583004/diff/60001/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/494583004/diff/60001/testing/iossim/iossim.mm#newcode182 ...
6 years, 4 months ago (2014-08-25 13:19:03 UTC) #6
lliabraa
https://chromiumcodereview.appspot.com/494583004/diff/60001/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/494583004/diff/60001/testing/iossim/iossim.mm#newcode182 testing/iossim/iossim.mm:182: LogError(@"Task '%@ %@' exited with return code %@.", On ...
6 years, 4 months ago (2014-08-25 13:28:36 UTC) #7
lliabraa
The CQ bit was checked by lliabraa@chromium.org
6 years, 4 months ago (2014-08-25 13:41:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/494583004/100001
6 years, 4 months ago (2014-08-25 13:41:26 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (100001) as d7875158bb93ef51cc3bfc59e23ca35ed50c5042
6 years, 4 months ago (2014-08-25 14:44:47 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:34:29 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7f590bcff76926fc8442e020dcd1eebf604bf129
Cr-Commit-Position: refs/heads/master@{#291681}

Powered by Google App Engine
This is Rietveld 408576698