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

Issue 425313002: Allow selection between libstdc++ and libc++ when targeting iOS (Closed)

Created:
6 years, 4 months ago by sdefresne
Modified:
6 years, 4 months ago
Reviewers:
stuartmorgan
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Allow selection between libstdc++ and libc++ when targeting iOS The recommended C++ library on iOS is libc++ but the compiler still default to libstdc++ so add a new gyp variable "use_system_libcxx" to choose which C++ library to use. When building Chrome for iOS, so tool are still build on the host which targets Mac OS X SDK 10.6 which does not supports libc++ so only enabled the usage of libc++ when not building for the host. The version of clang shipped on Google storage does not supports using the system libc++ so instead use the version of clang shipped with Xcode when using libc++. BUG=366744 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287321

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M build/common.gypi View 5 chunks +22 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
sdefresne
Please have a look.
6 years, 4 months ago (2014-07-30 17:32:35 UTC) #1
sdefresne
+thakis: FYI
6 years, 4 months ago (2014-08-01 17:16:48 UTC) #2
Nico
Do you really want to add a flag for this? You always want to do ...
6 years, 4 months ago (2014-08-01 17:39:20 UTC) #3
stuartmorgan
On 2014/08/01 17:39:20, Nico (away) wrote: > For iOS builds, you can probably use a ...
6 years, 4 months ago (2014-08-01 20:12:31 UTC) #4
stuartmorgan
LGTM for testing. I'd like the clang version issue resolved before we flip it on ...
6 years, 4 months ago (2014-08-01 20:15:09 UTC) #5
sdefresne
On 2014/08/01 17:39:20, Nico (away) wrote: > Do you really want to add a flag ...
6 years, 4 months ago (2014-08-02 07:13:19 UTC) #6
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 4 months ago (2014-08-04 09:08:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/425313002/20001
6 years, 4 months ago (2014-08-04 09:10:06 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-04 11:28:08 UTC) #9
Message was sent while issue was closed.
Change committed as 287321

Powered by Google App Engine
This is Rietveld 408576698