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

Issue 156473005: Add support for sub-architecture when building for iOS (Closed)

Created:
6 years, 10 months ago by sdefresne
Modified:
6 years, 10 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add support for sub-architecture when building for iOS Since iOS 7, the iPhone 5s, the iPad Air and the iPad Mini Retina supports 64-bits binaries. This requires building a fat binary with support for both armv7 and arm64 (and optionally armv7s). In an effort to prepare building such a fat binary for Chrome on iOS, introduce a "target_subarch" variable that control the variant we want to build (32-bit only, 64-bit only -- mainly for debugging, fat binary). This require introducing way to use the clang compiler shipped with Xcode, as the clang compiler shipped with Chromium code does not support "arm64" architecture yet (Apple has not yet opensource the implementation). BUG=341453, 314720 R=mark@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251083

Patch Set 1 #

Total comments: 7

Patch Set 2 : Enhance conditions and note about '-Wno-deprecated-register' #

Total comments: 2

Patch Set 3 : Fix compilation of simulator and a typo #

Patch Set 4 : Fix a typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -16 lines) Patch
M build/common.gypi View 1 2 3 13 chunks +74 lines, -16 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sdefresne
Please take a look.
6 years, 10 months ago (2014-02-10 14:42:10 UTC) #1
Mark Mentovai
https://codereview.chromium.org/156473005/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/156473005/diff/1/build/common.gypi#newcode4102 build/common.gypi:4102: '-Wno-deprecated-register', Is this in here because the clang that ...
6 years, 10 months ago (2014-02-10 14:50:02 UTC) #2
sdefresne
Please take another look. https://codereview.chromium.org/156473005/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/156473005/diff/1/build/common.gypi#newcode4102 build/common.gypi:4102: '-Wno-deprecated-register', On 2014/02/10 14:50:02, Mark ...
6 years, 10 months ago (2014-02-10 15:04:09 UTC) #3
Mark Mentovai
https://codereview.chromium.org/156473005/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/156473005/diff/1/build/common.gypi#newcode4102 build/common.gypi:4102: '-Wno-deprecated-register', On 2014/02/10 15:04:09, sdefresne wrote: > On 2014/02/10 ...
6 years, 10 months ago (2014-02-10 15:05:17 UTC) #4
sdefresne
On 2014/02/10 15:05:17, Mark Mentovai wrote: > https://codereview.chromium.org/156473005/diff/1/build/common.gypi > File build/common.gypi (right): > > https://codereview.chromium.org/156473005/diff/1/build/common.gypi#newcode4102 ...
6 years, 10 months ago (2014-02-10 15:10:54 UTC) #5
Mark Mentovai
Yeah, missed it. The iOS bots on patch set 1 had build problems. Looks like ...
6 years, 10 months ago (2014-02-10 15:20:23 UTC) #6
sdefresne
I've fixed the compilation on simulator by not setting the "target_arch" to "arm" (and thus ...
6 years, 10 months ago (2014-02-10 18:06:33 UTC) #7
Mark Mentovai
LGTM. You’re welcome.
6 years, 10 months ago (2014-02-10 18:42:41 UTC) #8
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 10 months ago (2014-02-13 14:53:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/156473005/200001
6 years, 10 months ago (2014-02-13 14:53:35 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 18:17:36 UTC) #11
Message was sent while issue was closed.
Change committed as 251083

Powered by Google App Engine
This is Rietveld 408576698