3
3
# found in the LICENSE file.
4
4
5
5
import (" //build/config/sysroot.gni" ) # Imports android/config.gni.
6
- import (" //build/toolchain/ccache.gni" )
7
6
import (" //build/toolchain/clang.gni" )
8
7
import (" //build/toolchain/gcc_toolchain.gni" )
9
- import (" //build/toolchain/goma.gni" )
10
8
import (" //build/toolchain/rbe.gni" )
11
9
import (" //build/toolchain/toolchain.gni" )
12
10
@@ -37,13 +35,7 @@ template("android_toolchain") {
37
35
solink_libs_section_prefix = " $android_ndk_lib /crtbegin_so.o"
38
36
solink_libs_section_postfix = " $android_ndk_lib /crtend_so.o"
39
37
40
- if (use_goma ) {
41
- assert (! use_rbe , " Goma and RBE can't be used together." )
42
- assert (! use_ccache , " Goma and ccache can't be used together." )
43
- assembler_prefix = " $goma_dir /gomacc "
44
- compiler_prefix = " $goma_dir /gomacc "
45
- link_prefix = " $goma_dir /gomacc "
46
- } else if (use_rbe ) {
38
+ if (use_rbe ) {
47
39
remote_wrapper = " "
48
40
if (host_os == " linux" ) {
49
41
remote_wrapper =
@@ -64,10 +56,6 @@ template("android_toolchain") {
64
56
assembler_prefix = " "
65
57
compiler_prefix = string_join (" " , compiler_args )
66
58
link_prefix = " "
67
- } else if (use_ccache ) {
68
- assembler_prefix = " ccache "
69
- compiler_prefix = " ccache "
70
- link_prefix = " ccache "
71
59
} else {
72
60
compiler_prefix = " "
73
61
link_prefix = " "
0 commit comments