| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # Defines the configuration of ccache - a c/c++ compiler cache which can | |
| 6 # greatly reduce recompilation times. | |
| 7 # | |
| 8 # TIPS: | |
| 9 # | |
| 10 # Set clang_use_chrome_plugins=false if using ccache 3.1.9 or earlier, since | |
| 11 # these versions don't support -Xclang. (3.1.10 and later will silently | |
| 12 # ignore -Xclang, so it doesn't matter if you disable clang_use_chrome_plugins | |
| 13 # or not). | |
| 14 # | |
| 15 # Use ccache 3.2 or later to avoid clang unused argument warnings: | |
| 16 # https://bugzilla.samba.org/show_bug.cgi?id=8118 | |
| 17 # | |
| 18 # To avoid -Wparentheses-equality clang warnings, at some cost in terms of | |
| 19 # speed, you can do: | |
| 20 # export CCACHE_CPP2=yes | |
| 21 | |
| 22 declare_args() { | |
| 23 # Set to true to enable ccache. Probably doesn't work on windows. | |
| 24 use_ccache = false | |
| 25 } | |
| OLD | NEW |