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

Issue 15570002: Force load the Xcode arc libraries when building with llvm-build. (Closed)

Created:
7 years, 7 months ago by Justin Cohen (wrong one)
Modified:
7 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Force load the Xcode arc libraries when building with llvm-build. It is necessary to force load libarclite from Xcode for third_party/llvm-build because libarclite_* is only distributed by Xcode. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201917

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address thakis comments #

Patch Set 3 : Put back fobjc-arc #

Total comments: 2

Patch Set 4 : Gate -fobjc-arc behind clang\!=1 #

Total comments: 2

Patch Set 5 : Addressed Stuart comments, guard on ninja #

Patch Set 6 : Put gate in right place #

Total comments: 1

Patch Set 7 : Handle multiple arch for xcode too #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -9 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 2 chunks +55 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
justincohen
What do you think?
7 years, 7 months ago (2013-05-21 17:19:06 UTC) #1
Nico
Maybe this should be keyed on clang==1 instead of on the generator, as ninja should ...
7 years, 7 months ago (2013-05-21 18:02:37 UTC) #2
justincohen
Changed it to clang==1, that seems more correct to me. Kept the -fobjc_arc, though, since ...
7 years, 7 months ago (2013-05-21 19:56:20 UTC) #3
Nico
lgtm, but some ios person should approve this too. https://codereview.chromium.org/15570002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/15570002/diff/1/build/common.gypi#newcode4047 build/common.gypi:4047: ...
7 years, 7 months ago (2013-05-21 20:02:38 UTC) #4
justincohen
https://codereview.chromium.org/15570002/diff/8001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/15570002/diff/8001/build/common.gypi#newcode4047 build/common.gypi:4047: ], On 2013/05/21 20:02:38, Nico wrote: > Shouldn't this ...
7 years, 7 months ago (2013-05-21 23:33:15 UTC) #5
Alexander Potapenko
I confirm this patch fixes the ASan build for iOS simulator. I've updated https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitizer?pli=1#TOC-Building-on-iOS
7 years, 7 months ago (2013-05-22 08:53:43 UTC) #6
stuartmorgan
https://codereview.chromium.org/15570002/diff/19001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/15570002/diff/19001/build/common.gypi#newcode4075 build/common.gypi:4075: ['target_arch=="armv7"', { This section doesn't make sense for Xcode ...
7 years, 7 months ago (2013-05-22 09:06:12 UTC) #7
justincohen
@stuart: done, ptal! https://codereview.chromium.org/15570002/diff/19001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/15570002/diff/19001/build/common.gypi#newcode4075 build/common.gypi:4075: ['target_arch=="armv7"', { On 2013/05/22 09:06:13, stuartmorgan ...
7 years, 7 months ago (2013-05-22 13:50:52 UTC) #8
stuartmorgan
https://codereview.chromium.org/15570002/diff/34001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/15570002/diff/34001/build/common.gypi#newcode4081 build/common.gypi:4081: 'OTHER_LDFLAGS': [ Couldn't you do OTHER_LDFLAGS[arch=armv7] and [arch=x86] (or ...
7 years, 7 months ago (2013-05-22 14:02:20 UTC) #9
justincohen
I didn't know Xcode handled [arch=]. I updated the gyp to handle this case, although ...
7 years, 7 months ago (2013-05-22 16:42:25 UTC) #10
Nico
Unrelated to this CL: All the other chrome ports expect the target arch to be ...
7 years, 7 months ago (2013-05-22 16:52:22 UTC) #11
stuartmorgan
On 2013/05/22 16:52:22, Nico wrote: > Requiring this for xcode might make some things simpler ...
7 years, 7 months ago (2013-05-23 12:41:43 UTC) #12
stuartmorgan
LGTM
7 years, 7 months ago (2013-05-23 12:43:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/justincohen@google.com/15570002/38004
7 years, 7 months ago (2013-05-23 12:50:06 UTC) #14
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 23:05:06 UTC) #15
Message was sent while issue was closed.
Change committed as 201917

Powered by Google App Engine
This is Rietveld 408576698