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

Issue 23684011: Fix warning in Xcode about only building the active arch in Debug. (Closed)

Created:
7 years, 3 months ago by lliabraa
Modified:
7 years, 3 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix warning in Xcode about only building the active arch in Debug. In Xcode, each project has a warning that "Build only for active architecture" should be enabled for Debug configuration. This change to common.gypi sets the ONLY_ACTIVE_ARCH variable at the project level for Debug configurations. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220960

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add warning that the new block is for project-level settings #

Total comments: 2

Patch Set 3 : fix comment #

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

Messages

Total messages: 10 (0 generated)
lliabraa
7 years, 3 months ago (2013-09-03 13:48:05 UTC) #1
Mark Mentovai
https://codereview.chromium.org/23684011/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/23684011/diff/1/build/common.gypi#newcode4651 build/common.gypi:4651: # avoids a project-level warning in Xcode. So this ...
7 years, 3 months ago (2013-09-03 13:52:22 UTC) #2
lliabraa
Thanks for the review. https://codereview.chromium.org/23684011/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/23684011/diff/1/build/common.gypi#newcode4651 build/common.gypi:4651: # avoids a project-level warning ...
7 years, 3 months ago (2013-09-03 14:07:35 UTC) #3
Mark Mentovai
LGTM otherwise https://codereview.chromium.org/23684011/diff/6001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/23684011/diff/6001/build/common.gypi#newcode4651 build/common.gypi:4651: # custom xcode_settings in target_defaults to add ...
7 years, 3 months ago (2013-09-03 14:09:08 UTC) #4
stuartmorgan
lgtm
7 years, 3 months ago (2013-09-03 14:11:22 UTC) #5
lliabraa
https://codereview.chromium.org/23684011/diff/6001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/23684011/diff/6001/build/common.gypi#newcode4651 build/common.gypi:4651: # custom xcode_settings in target_defaults to add them to ...
7 years, 3 months ago (2013-09-03 14:30:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/23684011/12001
7 years, 3 months ago (2013-09-03 14:31:19 UTC) #7
commit-bot: I haz the power
Change committed as 220960
7 years, 3 months ago (2013-09-03 17:03:15 UTC) #8
rohitrao (ping after 24h)
After this change, I am unable to build a Debug device binary for my iPhone5: ...
7 years, 3 months ago (2013-09-06 12:54:38 UTC) #9
rohitrao (ping after 24h)
7 years, 3 months ago (2013-09-06 13:33:31 UTC) #10
Message was sent while issue was closed.
On 2013/09/06 12:54:38, rohitrao wrote:
> After this change, I am unable to build a Debug device binary for my iPhone5:
> 
> No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s,
> VALID_ARCHS=armv7 i386).

How about expanding the VALID_ARCHS list to include armv7s for Debug only?  That
would solve my problem, at the expense of compiling to a different binary
depending on which phone is plugged in.  On the other hand, we're compiling in
Debug mode anyways, so does it matter that much?

If we make this a Debug-only change, then Release builds wouldn't be affected,
and we would continue shipping armv7-only binaries.

Powered by Google App Engine
This is Rietveld 408576698