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

Issue 14597007: Support target/host architecture with ninja iOS builds (Closed)

Created:
7 years, 7 months ago by Justin Cohen (wrong one)
Modified:
7 years ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support target/host architecture with ninja iOS builds When iOS builds support ninja and enable GYP_CROSSCOMPILE=1, ninja will build breakpad, protoc and iossim using host arch instead of the sub-out-ninja workaround. TBR=mark@chromium.org BUG=236517 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199827

Patch Set 1 #

Total comments: 12

Patch Set 2 : Stuart changes #

Patch Set 3 : Remove unnecessary breakpad changes #

Patch Set 4 : Don't hardcode 10.6 for maxos deployment target #

Total comments: 2

Patch Set 5 : rsleevei space #

Total comments: 10

Patch Set 6 : Stuart changes #

Patch Set 7 : Rebase #

Total comments: 9

Patch Set 8 : Simplify mac/ios block #

Patch Set 9 : comment #

Patch Set 10 : Rebase #

Patch Set 11 : rebase #

Patch Set 12 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -248 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -4 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -1 line 0 comments Download
M breakpad/breakpad.gyp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +177 lines, -154 lines 1 comment Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +27 lines, -13 lines 0 comments Download
M testing/gtest.gyp View 1 chunk +1 line, -1 line 0 comments Download
M testing/iossim/iossim.gyp View 1 1 chunk +71 lines, -71 lines 0 comments Download
M third_party/mach_override/mach_override.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/protobuf/protobuf.gyp View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
justincohen
I'm not 100% sure how target/host is supposed to work, but this gets rid of ...
7 years, 7 months ago (2013-05-03 23:16:07 UTC) #1
justincohen
7 years, 7 months ago (2013-05-03 23:36:21 UTC) #2
stuartmorgan
https://codereview.chromium.org/14597007/diff/1/base/base.gypi File base/base.gypi (right): https://codereview.chromium.org/14597007/diff/1/base/base.gypi#newcode700 base/base.gypi:700: ['exclude', 'ios'], These two rules seem really dangerous. Seems ...
7 years, 7 months ago (2013-05-06 11:56:35 UTC) #3
justincohen
darin: ptal third party changes applied Stuarts changes. PTAL https://codereview.chromium.org/14597007/diff/1/base/base.gypi File base/base.gypi (right): https://codereview.chromium.org/14597007/diff/1/base/base.gypi#newcode700 base/base.gypi:700: ...
7 years, 7 months ago (2013-05-06 14:17:36 UTC) #4
Ryan Sleevi
I've taken a look and everything 'seems' right from a GYP perspective (eg: right execution ...
7 years, 7 months ago (2013-05-06 21:38:58 UTC) #5
justincohen
https://codereview.chromium.org/14597007/diff/7002/breakpad/breakpad.gyp File breakpad/breakpad.gyp (right): https://codereview.chromium.org/14597007/diff/7002/breakpad/breakpad.gyp#newcode211 breakpad/breakpad.gyp:211: [ 'OS=="mac"', { On 2013/05/06 21:38:59, Ryan Sleevi wrote: ...
7 years, 7 months ago (2013-05-06 23:26:22 UTC) #6
stuartmorgan
https://codereview.chromium.org/14597007/diff/19001/base/base.gypi File base/base.gypi (right): https://codereview.chromium.org/14597007/diff/19001/base/base.gypi#newcode667 base/base.gypi:667: ['OS == "ios"', { I think you want a ...
7 years, 7 months ago (2013-05-07 13:14:46 UTC) #7
justincohen
Thanks Stuart. Please take another look! https://codereview.chromium.org/14597007/diff/19001/base/base.gypi File base/base.gypi (right): https://codereview.chromium.org/14597007/diff/19001/base/base.gypi#newcode667 base/base.gypi:667: ['OS == "ios"', ...
7 years, 7 months ago (2013-05-07 14:50:57 UTC) #8
justincohen
brettw, can you look at the thirdparty gyp changes? Thanks!
7 years, 7 months ago (2013-05-07 15:25:44 UTC) #9
brettw
owners lgtm. I don't really understand what's happening here, so be sure to get an ...
7 years, 7 months ago (2013-05-07 20:59:14 UTC) #10
Nico
I think this is a good direction. lgtm. Once this is in, maybe the xcode ...
7 years, 7 months ago (2013-05-08 22:23:07 UTC) #11
justincohen
https://codereview.chromium.org/14597007/diff/27001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14597007/diff/27001/build/common.gypi#newcode1337 build/common.gypi:1337: ['OS=="mac"', { I can't have them as siblings and ...
7 years, 7 months ago (2013-05-08 22:49:56 UTC) #12
Nico
https://codereview.chromium.org/14597007/diff/27001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14597007/diff/27001/build/common.gypi#newcode1337 build/common.gypi:1337: ['OS=="mac"', { On 2013/05/08 22:49:57, justincohen wrote: > I ...
7 years, 7 months ago (2013-05-08 23:01:00 UTC) #13
Nico
7 years, 7 months ago (2013-05-08 23:01:03 UTC) #14
justincohen
https://codereview.chromium.org/14597007/diff/27001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14597007/diff/27001/build/common.gypi#newcode1337 build/common.gypi:1337: ['OS=="mac"', { The mac_sdk part is right in the ...
7 years, 7 months ago (2013-05-09 00:01:42 UTC) #15
Nico
https://codereview.chromium.org/14597007/diff/27001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14597007/diff/27001/build/common.gypi#newcode1337 build/common.gypi:1337: ['OS=="mac"', { On 2013/05/09 00:01:42, justincohen wrote: > The ...
7 years, 7 months ago (2013-05-09 00:46:17 UTC) #16
justincohen
https://codereview.chromium.org/14597007/diff/27001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14597007/diff/27001/build/common.gypi#newcode1337 build/common.gypi:1337: ['OS=="mac"', { Yeah, just clang. I pulled out clang:'1' ...
7 years, 7 months ago (2013-05-09 03:44:02 UTC) #17
Nico
Cool, thanks. Ship it! https://codereview.chromium.org/14597007/diff/27001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14597007/diff/27001/build/common.gypi#newcode4034 build/common.gypi:4034: }, On 2013/05/08 22:49:57, justincohen ...
7 years, 7 months ago (2013-05-09 04:00:10 UTC) #18
stuartmorgan
LGTM assuming we're sure that anything switching on the mac_ variables (e.g., mac_breakpad) is in ...
7 years, 7 months ago (2013-05-13 16:16:55 UTC) #19
justincohen
I audited mac_keystone, mac_breakpad_uploads and mac_breakpad. Most references are in files only included when OS=="mac", ...
7 years, 7 months ago (2013-05-13 16:44:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/justincohen@google.com/14597007/65001
7 years, 7 months ago (2013-05-13 16:53:16 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=127102
7 years, 7 months ago (2013-05-13 19:00:19 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/justincohen@google.com/14597007/65001
7 years, 7 months ago (2013-05-13 19:07:37 UTC) #23
commit-bot: I haz the power
Change committed as 199827
7 years, 7 months ago (2013-05-13 21:29:50 UTC) #24
Nico
https://chromiumcodereview.appspot.com/14597007/diff/65001/breakpad/breakpad.gyp File breakpad/breakpad.gyp (right): https://chromiumcodereview.appspot.com/14597007/diff/65001/breakpad/breakpad.gyp#newcode108 breakpad/breakpad.gyp:108: ['OS=="mac" or (OS=="ios" and "<(GENERATOR)"=="ninja")', { I stumbled across ...
7 years ago (2013-11-27 00:34:08 UTC) #25
justincohen
It's because XCode does the 're_run_targets' thing and stubs out to ninja for this. See ...
7 years ago (2013-11-27 18:42:59 UTC) #26
Nico
7 years ago (2013-11-27 18:47:03 UTC) #27
Dunno, just saying that a comment in the gyp file explaining why it's there
would've been helpful to me yesterday.


On Wed, Nov 27, 2013 at 10:43 AM, <justincohen@chromium.org> wrote:

> It's because XCode does the 're_run_targets' thing and stubs out to ninja
> for
> this.  See
> https://chromiumcodereview.appspot.com/14597007/diff/
> 65001/breakpad/breakpad.gyp#newcode765
>
> Is there a better way?
>
> https://chromiumcodereview.appspot.com/14597007/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698