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

Issue 742953007: add ccache support to gn builds (Closed)

Created:
6 years ago by Mostyn Bramley-Moore
Modified:
6 years ago
Reviewers:
Dirk Pranke, Nico, brettw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

add ccache support to gn builds This can be used to inject icecc also, via the CCACHE_PREFIX environment variable. BUG=394501 Committed: https://crrev.com/50ff7a9494412cdab84c472db73d1e148fcec761 Cr-Commit-Position: refs/heads/master@{#305912}

Patch Set 1 #

Patch Set 2 : small fixup #

Patch Set 3 : another small fixup #

Patch Set 4 : don't use debug fission when using ccache #

Patch Set 5 : add ccache usage tips #

Total comments: 7

Patch Set 6 : add short description of ccache #

Patch Set 7 : assert that we're not using goma and ccache #

Patch Set 8 : update clang_use_chrome_plugins=false tip #

Patch Set 9 : remove semicolons from assertions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -17 lines) Patch
M build/config/compiler/BUILD.gn View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M build/toolchain/android/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -4 lines 0 comments Download
A build/toolchain/ccache.gni View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
M build/toolchain/linux/BUILD.gn View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Mostyn Bramley-Moore
Brett, Dirk, Nico: please take a look- I don't have access to goma so I ...
6 years ago (2014-11-26 16:21:52 UTC) #3
Nico
Brett can probably answer your question best. I think this looks good as is (with ...
6 years ago (2014-11-26 17:01:06 UTC) #4
brettw
lgtm https://codereview.chromium.org/742953007/diff/80001/build/toolchain/android/BUILD.gn File build/toolchain/android/BUILD.gn (right): https://codereview.chromium.org/742953007/diff/80001/build/toolchain/android/BUILD.gn#newcode40 build/toolchain/android/BUILD.gn:40: compiler_prefix = "$goma_dir/gomacc " Maybe here we should ...
6 years ago (2014-11-26 21:18:14 UTC) #5
Mostyn Bramley-Moore
https://codereview.chromium.org/742953007/diff/80001/build/toolchain/android/BUILD.gn File build/toolchain/android/BUILD.gn (right): https://codereview.chromium.org/742953007/diff/80001/build/toolchain/android/BUILD.gn#newcode40 build/toolchain/android/BUILD.gn:40: compiler_prefix = "$goma_dir/gomacc " On 2014/11/26 21:18:14, brettw wrote: ...
6 years ago (2014-11-26 22:09:52 UTC) #6
Mostyn Bramley-Moore
https://codereview.chromium.org/742953007/diff/80001/build/toolchain/ccache.gni File build/toolchain/ccache.gni (right): https://codereview.chromium.org/742953007/diff/80001/build/toolchain/ccache.gni#newcode10 build/toolchain/ccache.gni:10: # clang plugins. > Though I've been trying to ...
6 years ago (2014-11-26 22:23:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/742953007/140001
6 years ago (2014-11-26 22:24:50 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/21074)
6 years ago (2014-11-26 22:29:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/742953007/160001
6 years ago (2014-11-26 22:34:11 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:160001)
6 years ago (2014-11-26 23:24:28 UTC) #14
commit-bot: I haz the power
6 years ago (2014-11-26 23:24:59 UTC) #15
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/50ff7a9494412cdab84c472db73d1e148fcec761
Cr-Commit-Position: refs/heads/master@{#305912}

Powered by Google App Engine
This is Rietveld 408576698