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

Issue 678183002: Fix gcc_version.gni to determine target GCC toolchain version for Chrome OS. (Closed)

Created:
6 years, 1 month ago by Ben Chan
Modified:
6 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org, pwestin(chromium), vapier
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix gcc_version.gni to determine target GCC toolchain version for Chrome OS. This CL modifies gcc_version.gni to set the gcc_version to the target GCC toolchain version when building for Chrome OS. BUG=427726 TEST=Manually verify that the correct GCC toolchain is used when building with 'os="chromeos"'. Committed: https://crrev.com/98ee835a49b59183909c730bf7d4283ea11b8281 Cr-Commit-Position: refs/heads/master@{#301883}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M build/config/gcc/gcc_version.gni View 1 2 1 chunk +9 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
Ben Chan
6 years, 1 month ago (2014-10-27 22:41:56 UTC) #2
Ben Chan
6 years, 1 month ago (2014-10-27 23:33:55 UTC) #4
jamesr
https://codereview.chromium.org/678183002/diff/1/build/config/gcc/gcc_version.gni File build/config/gcc/gcc_version.gni (right): https://codereview.chromium.org/678183002/diff/1/build/config/gcc/gcc_version.gni#newcode14 build/config/gcc/gcc_version.gni:14: } else if (is_chromeos) { what does being chromeos ...
6 years, 1 month ago (2014-10-27 23:48:52 UTC) #5
jamesr
Take a look at 'gn help current_toolchain' and 'gn help default_toolchain'
6 years, 1 month ago (2014-10-27 23:49:18 UTC) #6
Ben Chan
https://codereview.chromium.org/678183002/diff/1/build/config/gcc/gcc_version.gni File build/config/gcc/gcc_version.gni (right): https://codereview.chromium.org/678183002/diff/1/build/config/gcc/gcc_version.gni#newcode14 build/config/gcc/gcc_version.gni:14: } else if (is_chromeos) { On 2014/10/27 23:48:52, jamesr ...
6 years, 1 month ago (2014-10-28 00:21:21 UTC) #7
jamesr
Sorry, I'm not familiar enough with how the cross-compile works to say. cmasone@'s been looking ...
6 years, 1 month ago (2014-10-28 00:26:03 UTC) #9
Chris Masone
This looks to me like it lines up with the GYP notion of what to ...
6 years, 1 month ago (2014-10-28 14:36:03 UTC) #10
Ben Chan
On 2014/10/28 14:36:03, Chris Masone wrote: > This looks to me like it lines up ...
6 years, 1 month ago (2014-10-28 15:43:43 UTC) #11
Ben Chan
+vapier
6 years, 1 month ago (2014-10-28 15:44:09 UTC) #12
Chris Masone
On 2014/10/28 15:43:43, Ben Chan wrote: > On 2014/10/28 14:36:03, Chris Masone wrote: > > ...
6 years, 1 month ago (2014-10-28 17:24:05 UTC) #13
Ben Chan
On 2014/10/28 17:24:05, Chris Masone wrote: > On 2014/10/28 15:43:43, Ben Chan wrote: > > ...
6 years, 1 month ago (2014-10-28 17:42:17 UTC) #14
jamesr
I defer to cmasone@'s review
6 years, 1 month ago (2014-10-28 17:43:51 UTC) #15
Ben Chan
On 2014/10/28 17:43:51, jamesr wrote: > I defer to cmasone@'s review brettw: could you give ...
6 years, 1 month ago (2014-10-28 22:46:45 UTC) #16
brettw
https://codereview.chromium.org/678183002/diff/20001/build/config/gcc/gcc_version.gni File build/config/gcc/gcc_version.gni (right): https://codereview.chromium.org/678183002/diff/20001/build/config/gcc/gcc_version.gni#newcode15 build/config/gcc/gcc_version.gni:15: gcc_version = exec_script("../../compiler_version.py", [ "target", "compiler" ], "value") Sorry ...
6 years, 1 month ago (2014-10-29 00:35:22 UTC) #17
vapier
i think people are cross-compiling for more than CrOS. people often cross-compile Linux/ARM, and certainly ...
6 years, 1 month ago (2014-10-29 05:01:11 UTC) #19
Ben Chan
On 2014/10/29 00:35:22, brettw wrote: > https://codereview.chromium.org/678183002/diff/20001/build/config/gcc/gcc_version.gni > File build/config/gcc/gcc_version.gni (right): > > https://codereview.chromium.org/678183002/diff/20001/build/config/gcc/gcc_version.gni#newcode15 > ...
6 years, 1 month ago (2014-10-29 16:33:47 UTC) #20
Ben Chan
On 2014/10/29 16:33:47, Ben Chan wrote: > On 2014/10/29 00:35:22, brettw wrote: > > > ...
6 years, 1 month ago (2014-10-29 16:48:42 UTC) #21
brettw
Yes, long term the script should take a path to some gcc (the one used ...
6 years, 1 month ago (2014-10-29 16:53:38 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/678183002/40001
6 years, 1 month ago (2014-10-29 17:39:58 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-10-29 18:29:47 UTC) #25
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 18:30:28 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/98ee835a49b59183909c730bf7d4283ea11b8281
Cr-Commit-Position: refs/heads/master@{#301883}

Powered by Google App Engine
This is Rietveld 408576698