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

Issue 1373593003: Allow a custom toolchain to be injected into BUILDCONFIG.gn (Closed)

Created:
5 years, 2 months ago by slan
Modified:
5 years, 2 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow a custom toolchain to be injected into BUILDCONFIG.gn Similar to ChromeOS, Chromecast needs to be able to set an arbitrary toolchain as the default. This solution allows the path to that toolchain to be set as a build arg. BUG= Committed: https://crrev.com/ef18b74fc138591559ce32ec4ac7822bffc390ec Cr-Commit-Position: refs/heads/master@{#352037}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment typo. #

Total comments: 5

Patch Set 3 : Call set_default_toolchain exactly once. #

Patch Set 4 : Remove cros_use_custom_toolchain #

Total comments: 2

Patch Set 5 : Remove empty-string check on _default_toolchain #

Patch Set 6 : Reimplement empty-string check for nacl case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -39 lines) Patch
M build/config/BUILDCONFIG.gn View 1 2 3 4 5 5 chunks +21 lines, -18 lines 0 comments Download
M build/config/gcc/gcc_version.gni View 1 1 chunk +29 lines, -21 lines 0 comments Download

Messages

Total messages: 41 (12 generated)
slan
Dirk, We need a way to point to an internal toolchain. ChromeOS builds do this ...
5 years, 2 months ago (2015-09-25 22:09:05 UTC) #2
Dirk Pranke
This seems reasonable to me, but I'd like brettw to review this as well. https://codereview.chromium.org/1373593003/diff/1/build/config/gcc/gcc_version.gni ...
5 years, 2 months ago (2015-09-28 19:16:34 UTC) #4
slan
https://codereview.chromium.org/1373593003/diff/1/build/config/gcc/gcc_version.gni File build/config/gcc/gcc_version.gni (right): https://codereview.chromium.org/1373593003/diff/1/build/config/gcc/gcc_version.gni#newcode6 build/config/gcc/gcc_version.gni:6: # This allows the gcc_version to be overriden when ...
5 years, 2 months ago (2015-09-28 19:44:43 UTC) #5
brettw
https://codereview.chromium.org/1373593003/diff/20001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/1373593003/diff/20001/build/config/BUILDCONFIG.gn#newcode140 build/config/BUILDCONFIG.gn:140: custom_toolchain = "" We need to keep this file ...
5 years, 2 months ago (2015-09-28 19:58:28 UTC) #6
slan
https://codereview.chromium.org/1373593003/diff/20001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/1373593003/diff/20001/build/config/BUILDCONFIG.gn#newcode140 build/config/BUILDCONFIG.gn:140: custom_toolchain = "" On 2015/09/28 19:58:28, brettw wrote: > ...
5 years, 2 months ago (2015-09-28 20:50:40 UTC) #7
brettw
I was thinking about #1. I don't know if the chromecast flag is used currently ...
5 years, 2 months ago (2015-09-28 20:53:55 UTC) #8
slan
ChromeOS is not yet using this flag. Removed it to reduce redundancy. https://codereview.chromium.org/1373593003/diff/20001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn ...
5 years, 2 months ago (2015-09-28 21:21:42 UTC) #9
brettw
lgtm https://codereview.chromium.org/1373593003/diff/60001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/1373593003/diff/60001/build/config/BUILDCONFIG.gn#newcode549 build/config/BUILDCONFIG.gn:549: } else if (_default_toolchain != "") { I ...
5 years, 2 months ago (2015-09-28 21:25:29 UTC) #10
slan
https://codereview.chromium.org/1373593003/diff/60001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/1373593003/diff/60001/build/config/BUILDCONFIG.gn#newcode549 build/config/BUILDCONFIG.gn:549: } else if (_default_toolchain != "") { On 2015/09/28 ...
5 years, 2 months ago (2015-09-28 21:41:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373593003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373593003/80001
5 years, 2 months ago (2015-09-28 21:43:32 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/119510)
5 years, 2 months ago (2015-09-28 21:59:33 UTC) #16
slan
On 2015/09/28 21:59:33, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-09-28 23:47:29 UTC) #17
Dirk Pranke
On 2015/09/28 23:47:29, slan wrote: > On 2015/09/28 21:59:33, commit-bot: I haz the power wrote: ...
5 years, 2 months ago (2015-09-29 00:01:10 UTC) #18
slan
On 2015/09/29 00:01:10, Dirk Pranke wrote: > On 2015/09/28 23:47:29, slan wrote: > > On ...
5 years, 2 months ago (2015-09-29 01:12:15 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373593003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373593003/100001
5 years, 2 months ago (2015-09-29 16:03:42 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-29 16:35:55 UTC) #23
slan
On 2015/09/29 01:12:15, slan wrote: > On 2015/09/29 00:01:10, Dirk Pranke wrote: > > On ...
5 years, 2 months ago (2015-10-01 18:26:58 UTC) #24
Dirk Pranke
On 2015/10/01 18:26:58, slan wrote: > On 2015/09/29 01:12:15, slan wrote: > > I tried ...
5 years, 2 months ago (2015-10-01 20:04:05 UTC) #25
brettw
On 2015/10/01 18:26:58, slan wrote: > Ping for feedback here. The default toolchain is not ...
5 years, 2 months ago (2015-10-01 20:28:57 UTC) #26
brettw
lgtm
5 years, 2 months ago (2015-10-01 20:29:37 UTC) #27
Dirk Pranke
ok, lgtm then as well.
5 years, 2 months ago (2015-10-01 20:29:53 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373593003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373593003/100001
5 years, 2 months ago (2015-10-01 20:33:37 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/115324)
5 years, 2 months ago (2015-10-01 20:43:05 UTC) #32
slan
On 2015/10/01 20:43:05, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-10-01 21:47:15 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373593003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373593003/100001
5 years, 2 months ago (2015-10-01 23:01:33 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/48496)
5 years, 2 months ago (2015-10-01 23:13:18 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373593003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373593003/100001
5 years, 2 months ago (2015-10-02 14:32:23 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 2 months ago (2015-10-02 15:05:42 UTC) #40
commit-bot: I haz the power
5 years, 2 months ago (2015-10-02 15:06:40 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ef18b74fc138591559ce32ec4ac7822bffc390ec
Cr-Commit-Position: refs/heads/master@{#352037}

Powered by Google App Engine
This is Rietveld 408576698