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

Issue 1361403002: Move goma/ccache logic to //build/toolchain/gcc_toolchain.gni (Closed)

Created:
5 years, 3 months ago by tsniatowski
Modified:
5 years, 2 months ago
Reviewers:
Dirk Pranke, brettw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move goma/ccache logic to //build/toolchain/gcc_toolchain.gni Avoid logic duplication between linux/android/... toolchain definitions that all did the same thing. This is helpful for further work with compiler prefixes / wrappers, in particular for non-goma-users. Some toolchains used the prefix on nm and objcopy calls, this was probably wrong and no longer happens. The toolchains that used gcc_toolchain.gni but did not manually setup goma/ccache opt out of the setting to avoid large behavior changes. BUG= Committed: https://crrev.com/dfe796aa7deb3cb7c72dfdd294c73554b4e5c0c2 Cr-Commit-Position: refs/heads/master@{#350767}

Patch Set 1 #

Total comments: 3

Patch Set 2 : move the invoker param docs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -45 lines) Patch
M build/toolchain/android/BUILD.gn View 2 chunks +6 lines, -17 lines 0 comments Download
M build/toolchain/cros/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 4 chunks +25 lines, -5 lines 0 comments Download
M build/toolchain/linux/BUILD.gn View 7 chunks +14 lines, -23 lines 0 comments Download
M build/toolchain/nacl_toolchain.gni View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
tsniatowski
PTAL. Background: I'm trying to get icecc running in gn without external setup, and this ...
5 years, 3 months ago (2015-09-24 09:51:22 UTC) #2
Dirk Pranke
seems reasonable. lgtm.
5 years, 3 months ago (2015-09-24 19:26:45 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361403002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361403002/1
5 years, 3 months ago (2015-09-24 19:35:26 UTC) #5
brettw
lgtm https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni#newcode89 build/toolchain/gcc_toolchain.gni:89: # Allow toolchains to avoid ccache/goma explicitly The ...
5 years, 3 months ago (2015-09-24 19:35:57 UTC) #6
Dirk Pranke
https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni#newcode89 build/toolchain/gcc_toolchain.gni:89: # Allow toolchains to avoid ccache/goma explicitly On 2015/09/24 ...
5 years, 3 months ago (2015-09-24 19:41:08 UTC) #8
tsniatowski
https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni#newcode89 build/toolchain/gcc_toolchain.gni:89: # Allow toolchains to avoid ccache/goma explicitly On 2015/09/24 ...
5 years, 3 months ago (2015-09-24 19:48:27 UTC) #9
tsniatowski
On 2015/09/24 19:48:27, tsniatowski wrote: > https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni > File build/toolchain/gcc_toolchain.gni (right): > > https://codereview.chromium.org/1361403002/diff/1/build/toolchain/gcc_toolchain.gni#newcode89 > ...
5 years, 3 months ago (2015-09-24 20:29:57 UTC) #10
brettw
lgtm
5 years, 3 months ago (2015-09-24 21:34:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361403002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361403002/20001
5 years, 2 months ago (2015-09-25 04:10:28 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-09-25 04:43:54 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-09-25 04:44:45 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dfe796aa7deb3cb7c72dfdd294c73554b4e5c0c2
Cr-Commit-Position: refs/heads/master@{#350767}

Powered by Google App Engine
This is Rietveld 408576698