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

Issue 138033018: Allow an override of MACOSX_DEPLOYMENT_TARGET, so the user can built against a different SDK if des… (Closed)

Created:
6 years, 11 months ago by Stephen White
Modified:
6 years, 11 months ago
Reviewers:
bungeman, Nico, mtklein
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Allow an override of MACOSX_DEPLOYMENT_TARGET, so the user can build against a different SDK if desired. R=mtklein@google.com, bungeman, mtklein Committed: https://code.google.com/p/skia/source/detail?r=13126

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M gyp/common_conditions.gypi View 1 chunk +7 lines, -1 line 0 comments Download
M gyp/common_variables.gypi View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Stephen White
PTAL
6 years, 11 months ago (2014-01-17 02:30:50 UTC) #1
Stephen White
On 2014/01/17 02:30:50, Stephen White wrote: > PTAL (For background, this seems to be a ...
6 years, 11 months ago (2014-01-17 02:35:24 UTC) #2
mtklein
On 2014/01/17 02:35:24, Stephen White wrote: > On 2014/01/17 02:30:50, Stephen White wrote: > > ...
6 years, 11 months ago (2014-01-17 14:48:45 UTC) #3
Stephen White
On 2014/01/17 14:48:45, mtklein wrote: > On 2014/01/17 02:35:24, Stephen White wrote: > > On ...
6 years, 11 months ago (2014-01-17 15:20:14 UTC) #4
mtklein
On 2014/01/17 15:20:14, Stephen White wrote: > On 2014/01/17 14:48:45, mtklein wrote: > > On ...
6 years, 11 months ago (2014-01-17 15:39:48 UTC) #5
Stephen White
On 2014/01/17 15:39:48, mtklein wrote: > On 2014/01/17 15:20:14, Stephen White wrote: > > On ...
6 years, 11 months ago (2014-01-17 16:04:31 UTC) #6
mtklein
On 2014/01/17 16:04:31, Stephen White wrote: > On 2014/01/17 15:39:48, mtklein wrote: > > On ...
6 years, 11 months ago (2014-01-17 16:58:55 UTC) #7
Stephen White
On 2014/01/17 16:58:55, mtklein wrote: > On 2014/01/17 16:04:31, Stephen White wrote: > > On ...
6 years, 11 months ago (2014-01-20 16:08:43 UTC) #8
Stephen White
Committed patchset #1 manually as r13126 (presubmit successful).
6 years, 11 months ago (2014-01-20 16:14:08 UTC) #9
mtklein
On 2014/01/20 16:14:08, Stephen White wrote: > Committed patchset #1 manually as r13126 (presubmit successful). ...
6 years, 11 months ago (2014-01-20 23:03:09 UTC) #10
Stephen White
On 2014/01/20 23:03:09, mtklein wrote: > On 2014/01/20 16:14:08, Stephen White wrote: > > Committed ...
6 years, 11 months ago (2014-01-21 01:21:58 UTC) #11
Nico
I haven't read the discussion on this review, but the CL description doesn't make sense: ...
6 years, 11 months ago (2014-01-21 02:41:10 UTC) #12
Stephen White
6 years, 11 months ago (2014-01-21 03:21:18 UTC) #13
Message was sent while issue was closed.
On 2014/01/21 02:41:10, Nico wrote:
> I haven't read the discussion on this review, but the CL description doesn't
> make sense: MACOSX_DEPLOYMENT_TARGET isn't what picks the sdk, SDKROOT is. You
> can use SDKROOT = 'macosx10.7' to use the 10.7 sdk and still set
> MACOSX_DEPLOYMENT_TARGET to 10.6 to target 10.6 and up.

Yeah; my CL description is wrong.

I think Mike's right in that the problem is that the 10.9 SDK won't even
properly build with MACOSX_DEPLOYMENT_TARGET set to 10.6 with gcc-llvm, and now
clang is a prerequisite (perhaps not intentional on Apple's part, but they may
not care anymore). Not sure why that didn't work on my Mac Pro, though. Anyway,
for Skia we could:

1) autodetect 10.9, and use clang automatically (so we don't hit this bug)
2) autodetect clang, and use it automatically
3) don't set anything, and let each OS build with its own SDK

I think #3 works in the sense that Skia is a client library that's supposed to
build in many configurations. The 10.6 bots will prevent us from using a
10.7-or-higher API, so we won't roll anything breaking into Chrome.

> Reading just senorblanco's last comment: Look for "find_sdk.py" in
>
https://code.google.com/p/chromium/codesearch#chromium/src/build/common.gypi&...
> (the script itself is here:
>
https://code.google.com/p/chromium/codesearch#chromium/src/build/mac/find_sdk...
> ) to see how we solve this in Chromium.

Powered by Google App Engine
This is Rietveld 408576698