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

Issue 549453004: GN: Fix compile errors with os==chromeos mojo/public build (Closed)

Created:
6 years, 3 months ago by Chris Masone
Modified:
6 years, 2 months ago
Reviewers:
jamesr, brettw
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@signed
Project:
chromium
Visibility:
Public.

Description

GN: Fix compile errors with os==chromeos mojo/public build The big changes here are: 1) Allow injecting of a target toolchain via args for os==chromeos. 2) For ARM builds, allow injecting -mtune and -mfloat-abi settings. 3) Allow injecting a pkg-config wrapper that correctly handles the CrOS build environment. This is how pkg-config is handled for all other packages in the build. 4) Create libmojo_sdk target, a static library of public Mojo code suitable for distribution. 5) Added testonly = true to a few targets under mojo/ that are not meant to be used in production. BUG=388412 TEST=Create a target that builds //mojo/public, build with os==chromeos Committed: https://crrev.com/2c8e745d9c4de27b44f4d866a2bf0f0a880d9b8c Cr-Commit-Position: refs/heads/master@{#296849}

Patch Set 1 #

Patch Set 2 : Include new complete static library attribute on libmojo_sdk #

Total comments: 6

Patch Set 3 : comments added #

Patch Set 4 : Update description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -14 lines) Patch
M build/config/BUILDCONFIG.gn View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M build/config/arm.gni View 1 2 3 chunks +17 lines, -6 lines 0 comments Download
M build/config/linux/pkg-config.py View 2 chunks +3 lines, -1 line 0 comments Download
M build/config/linux/pkg_config.gni View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
A build/toolchain/cros/BUILD.gn View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M mojo/public/BUILD.gn View 1 2 3 2 chunks +21 lines, -7 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/mojom.gni View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
Chris Masone
Brett, does this toolchain-injection stuff pass muster? This is in line with a thread I ...
6 years, 3 months ago (2014-09-18 20:38:08 UTC) #1
Chris Masone
Ping?
6 years, 3 months ago (2014-09-19 21:01:56 UTC) #2
Chris Masone
Hmph. I coulda _sworn_ I set a reviewer on this thing. Brett, does this toolchain-injection ...
6 years, 3 months ago (2014-09-19 23:16:09 UTC) #4
Chris Masone
Brett, is this heading in a usable direction? Or are there some fundamental flaws, here?
6 years, 3 months ago (2014-09-23 18:42:40 UTC) #5
brettw
On 2014/09/23 18:42:40, Chris Masone wrote: > Brett, is this heading in a usable direction? ...
6 years, 3 months ago (2014-09-23 19:59:58 UTC) #6
brettw
Overall this seems fine, just some comment requests. https://codereview.chromium.org/549453004/diff/20001/build/config/arm.gni File build/config/arm.gni (right): https://codereview.chromium.org/549453004/diff/20001/build/config/arm.gni#newcode16 build/config/arm.gni:16: arm_tune ...
6 years, 3 months ago (2014-09-23 20:20:17 UTC) #7
Chris Masone
PTAL (+jamesr for OWNERS in mojo/) https://codereview.chromium.org/549453004/diff/20001/build/config/arm.gni File build/config/arm.gni (right): https://codereview.chromium.org/549453004/diff/20001/build/config/arm.gni#newcode16 build/config/arm.gni:16: arm_tune = "" ...
6 years, 3 months ago (2014-09-23 22:33:59 UTC) #9
jamesr
mojo/ lgtm can you update the patch description to reflect that you're also adding this ...
6 years, 3 months ago (2014-09-23 22:56:06 UTC) #10
Chris Masone
On 2014/09/23 22:56:06, jamesr wrote: > mojo/ lgtm > > can you update the patch ...
6 years, 3 months ago (2014-09-23 23:14:07 UTC) #11
jamesr
I don't see the updated description but the build changes look cool.
6 years, 3 months ago (2014-09-23 23:15:15 UTC) #12
Chris Masone
On 2014/09/23 23:14:07, Chris Masone wrote: > On 2014/09/23 22:56:06, jamesr wrote: > > mojo/ ...
6 years, 3 months ago (2014-09-23 23:15:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/549453004/60001
6 years, 3 months ago (2014-09-24 05:01:51 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/13051)
6 years, 3 months ago (2014-09-24 05:10:50 UTC) #17
Chris Masone
On 2014/09/24 05:10:50, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-24 20:15:27 UTC) #18
jamesr
And I didn't review those bits either, I only reviewed mojo/
6 years, 3 months ago (2014-09-24 20:26:30 UTC) #19
jamesr
On 2014/09/23 22:56:06, jamesr wrote: > mojo/ lgtm ^^ that's what I said. You need ...
6 years, 3 months ago (2014-09-24 20:26:50 UTC) #20
Chris Masone
Yes, I know, but Brett's only requests on his previous pass were for some additional ...
6 years, 3 months ago (2014-09-24 20:29:04 UTC) #21
Chris Masone
Ping, Brett? Does this look good to you, given the comments I added?
6 years, 2 months ago (2014-09-26 01:08:13 UTC) #22
brettw
LGTM. Sorry, I thought I had finished this.
6 years, 2 months ago (2014-09-26 01:12:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/549453004/60001
6 years, 2 months ago (2014-09-26 01:21:48 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 3d708a94218060d4bbbfbcfbf2c2f536b92883e3
6 years, 2 months ago (2014-09-26 01:28:09 UTC) #26
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 01:28:45 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2c8e745d9c4de27b44f4d866a2bf0f0a880d9b8c
Cr-Commit-Position: refs/heads/master@{#296849}

Powered by Google App Engine
This is Rietveld 408576698