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

Issue 10824055: mac: Let mac_sdk default to the oldest available SDK that's at least 10.6 (Closed)

Created:
8 years, 5 months ago by Nico
Modified:
8 years, 4 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, Robert Sesek
Visibility:
Public.

Description

mac: Let mac_sdk default to the oldest available SDK that's at least 10.6 Having to manually set mac_sdk was a FAQ when Xcode 4 was released. Now we're using the 10.6 SDK by default, but Xcode 4.4 ships only with the 10.7 and 10.8 SDKs, so it'll likely become a FAQ again. Automatically set mac_sdk to something sensible. (People who explicitly say "mac_sdk=10.6" will have to stop doing so when they switch to Xcode 4.4.) BUG=121162 TEST=Build without mac_sdk in GYP_DEFINES. Something useful happens with Xcode 3.2.6, Xcode 4, Xcode 4.4. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148817

Patch Set 1 #

Patch Set 2 : bots #

Total comments: 18

Patch Set 3 : comments #

Patch Set 4 : rebasemishap #

Patch Set 5 : don't use for branded #

Patch Set 6 : don't use for branded #

Total comments: 3

Patch Set 7 : . #

Total comments: 1

Patch Set 8 : usage #

Total comments: 1

Patch Set 9 : totally #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -1 line) Patch
M build/common.gypi View 1 2 3 4 5 6 3 chunks +3 lines, -1 line 0 comments Download
A build/mac/find_sdk.py View 1 2 3 4 5 6 7 8 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Nico
8 years, 5 months ago (2012-07-27 02:07:12 UTC) #1
Mark Mentovai
Cool idea. https://chromiumcodereview.appspot.com/10824055/diff/4002/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10824055/diff/4002/build/common.gypi#newcode646 build/common.gypi:646: 'mac_sdk%': '<!(python mac/find_sdk.py)', I wouldn’t want this ...
8 years, 5 months ago (2012-07-27 03:31:30 UTC) #2
Nico
https://chromiumcodereview.appspot.com/10824055/diff/4002/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10824055/diff/4002/build/common.gypi#newcode646 build/common.gypi:646: 'mac_sdk%': '<!(python mac/find_sdk.py)', On 2012/07/27 03:31:30, Mark Mentovai wrote: ...
8 years, 4 months ago (2012-07-27 18:01:05 UTC) #3
Mark Mentovai
https://chromiumcodereview.appspot.com/10824055/diff/4002/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10824055/diff/4002/build/common.gypi#newcode646 build/common.gypi:646: 'mac_sdk%': '<!(python mac/find_sdk.py)', Nico wrote: > Explicitly setting mac_sdk ...
8 years, 4 months ago (2012-07-27 18:18:35 UTC) #4
Nico
On Fri, Jul 27, 2012 at 11:18 AM, <mark@chromium.org> wrote: > > https://chromiumcodereview.appspot.com/10824055/diff/4002/build/common.gypi > File ...
8 years, 4 months ago (2012-07-27 18:28:54 UTC) #5
Mark Mentovai
https://chromiumcodereview.appspot.com/10824055/diff/6003/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10824055/diff/6003/build/common.gypi#newcode640 build/common.gypi:640: # non-empty string, mac_sdk_path will be used in preference ...
8 years, 4 months ago (2012-07-27 19:01:54 UTC) #6
Nico
All done. On Fri, Jul 27, 2012 at 12:01 PM, <mark@chromium.org> wrote: > > https://chromiumcodereview.appspot.com/10824055/diff/6003/build/common.gypi ...
8 years, 4 months ago (2012-07-27 19:11:15 UTC) #7
Mark Mentovai
LGTM Nice job! https://chromiumcodereview.appspot.com/10824055/diff/5/build/mac/find_sdk.py File build/mac/find_sdk.py (right): https://chromiumcodereview.appspot.com/10824055/diff/5/build/mac/find_sdk.py#newcode11 build/mac/find_sdk.py:11: """Prints the best locally available SDK ...
8 years, 4 months ago (2012-07-27 19:13:35 UTC) #8
Nico
Done too. Thanks!
8 years, 4 months ago (2012-07-27 19:16:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10824055/2005
8 years, 4 months ago (2012-07-27 19:16:57 UTC) #10
Mark Mentovai
https://chromiumcodereview.appspot.com/10824055/diff/2005/build/mac/find_sdk.py File build/mac/find_sdk.py (right): https://chromiumcodereview.appspot.com/10824055/diff/2005/build/mac/find_sdk.py#newcode46 build/mac/find_sdk.py:46: raise Exception('No 10.6+ SDK found') This message is not ...
8 years, 4 months ago (2012-07-27 19:17:03 UTC) #11
Nico
Done too.
8 years, 4 months ago (2012-07-27 19:18:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10824055/8006
8 years, 4 months ago (2012-07-27 19:18:11 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-07-27 21:31:07 UTC) #14
Change committed as 148817

Powered by Google App Engine
This is Rietveld 408576698