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

Issue 58373003: Fix iOS device builds broken by commit d645540 (Closed)

Created:
7 years, 1 month ago by kiyun
Modified:
7 years, 1 month ago
CC:
chromium-reviews, erikwright+watch_chromium.org, gavinp+memory_chromium.org, rohitrao (ping after 24h)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix iOS device builds broken by r232181 r232181 changed build/common.gypi to set ARCHS=i386 explicitly for target_arch==ia32. However, we don't want to set ARCHS=i386 for iOS device builds (because iOS devices are a different architecture entirely). This CL arranges to leaved ARCHS untouched for iOS builds, so that Xcode will use its defaults; this was the behavior before r232181. The non-intuitive aspect is that target_arch==ia32 for OS=="ios", because host_arch is set to 'ia32' at line 88 of build/common.gypi for 'OS=="win" or OS=="mac" or OS=="ios"' and target_arch is set from host_arch at line 117. With build/common.gypi fixed, we also need to fix discardable_memory_provider_unittest.cc for iOS device builds, now that it is being compiled with the correct architecture. BUG=314712 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233050

Patch Set 1 #

Total comments: 2

Patch Set 2 : address review feedback #

Total comments: 2

Patch Set 3 : address review feedback #

Patch Set 4 : sync #

Total comments: 4

Patch Set 5 : address mark's feedback about indentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -11 lines) Patch
M base/memory/discardable_memory_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 1 chunk +13 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kiyun
7 years, 1 month ago (2013-11-04 20:22:37 UTC) #1
Mark Mentovai
https://codereview.chromium.org/58373003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/58373003/diff/1/build/common.gypi#newcode4662 build/common.gypi:4662: ['target_arch=="x64"', { How about instead, move this whole block ...
7 years, 1 month ago (2013-11-04 20:28:42 UTC) #2
kiyun
https://codereview.chromium.org/58373003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/58373003/diff/1/build/common.gypi#newcode4662 build/common.gypi:4662: ['target_arch=="x64"', { On 2013/11/04 20:28:42, Mark Mentovai wrote: > ...
7 years, 1 month ago (2013-11-04 20:48:50 UTC) #3
Mark Mentovai
LGTM! https://codereview.chromium.org/58373003/diff/70001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/58373003/diff/70001/build/common.gypi#newcode4667 build/common.gypi:4667: }, { Say }, { # OS!="ios" on ...
7 years, 1 month ago (2013-11-04 20:52:33 UTC) #4
kiyun
Also, s/commit d645540/r232181/ in CL description. https://codereview.chromium.org/58373003/diff/70001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/58373003/diff/70001/build/common.gypi#newcode4667 build/common.gypi:4667: }, { On ...
7 years, 1 month ago (2013-11-04 21:02:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kiyun@chromium.org/58373003/140001
7 years, 1 month ago (2013-11-04 21:37:48 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=93544
7 years, 1 month ago (2013-11-05 02:35:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kiyun@chromium.org/58373003/140001
7 years, 1 month ago (2013-11-05 03:29:34 UTC) #8
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-05 05:12:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kiyun@chromium.org/58373003/470001
7 years, 1 month ago (2013-11-05 12:30:54 UTC) #10
Mark Mentovai
https://codereview.chromium.org/58373003/diff/470001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/58373003/diff/470001/build/common.gypi#newcode4672 build/common.gypi:4672: ], Check the indentation. There’s one space to many ...
7 years, 1 month ago (2013-11-05 13:48:43 UTC) #11
kiyun
https://codereview.chromium.org/58373003/diff/470001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/58373003/diff/470001/build/common.gypi#newcode4672 build/common.gypi:4672: ], On 2013/11/05 13:48:44, Mark Mentovai wrote: > Check ...
7 years, 1 month ago (2013-11-05 13:56:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kiyun@chromium.org/58373003/710001
7 years, 1 month ago (2013-11-05 13:58:48 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_net_tests, chrome_frame_tests, chrome_frame_unittests, nacl_integration, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=219633
7 years, 1 month ago (2013-11-05 15:47:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kiyun@chromium.org/58373003/710001
7 years, 1 month ago (2013-11-05 16:16:12 UTC) #15
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 19:11:51 UTC) #16
Message was sent while issue was closed.
Change committed as 233050

Powered by Google App Engine
This is Rietveld 408576698