Index: build/toolchain/android/BUILD.gn |
diff --git a/build/toolchain/android/BUILD.gn b/build/toolchain/android/BUILD.gn |
index f7f47ff229754565fa635b32477e950acf9b5142..24c9c2984e16c38431d034bbd07e14f950f686c5 100644 |
--- a/build/toolchain/android/BUILD.gn |
+++ b/build/toolchain/android/BUILD.gn |
@@ -3,9 +3,7 @@ |
# found in the LICENSE file. |
import("//build/config/sysroot.gni") # Imports android/config.gni. |
-import("//build/toolchain/ccache.gni") |
import("//build/toolchain/clang.gni") |
-import("//build/toolchain/goma.gni") |
import("//build/toolchain/gcc_toolchain.gni") |
# The Android GCC toolchains share most of the same parameters, so we have this |
@@ -36,21 +34,12 @@ template("android_gcc_toolchain") { |
# The tools should be run relative to the build dir. |
tool_prefix = rebase_path(invoker.tool_prefix, root_build_dir) |
- if (use_goma) { |
- assert(!use_ccache, "Goma and ccache can't be used together.") |
- compiler_prefix = "$goma_dir/gomacc " |
- } else if (use_ccache) { |
- compiler_prefix = "ccache " |
- } else { |
- compiler_prefix = "" |
- } |
- |
- cc = compiler_prefix + tool_prefix + "gcc" |
- cxx = compiler_prefix + tool_prefix + "g++" |
+ cc = tool_prefix + "gcc" |
+ cxx = tool_prefix + "g++" |
ar = tool_prefix + "ar" |
ld = cxx |
- readelf = compiler_prefix + tool_prefix + "readelf" |
- nm = compiler_prefix + tool_prefix + "nm" |
+ readelf = tool_prefix + "readelf" |
+ nm = tool_prefix + "nm" |
toolchain_os = "android" |
toolchain_cpu = invoker.toolchain_cpu |