| Index: build/toolchain/linux/BUILD.gn
|
| diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn
|
| index 9145284187c94d41ce64e26908a957c2e50431e6..51768dfca07d514d5c8c82912111b76469de0068 100644
|
| --- a/build/toolchain/linux/BUILD.gn
|
| +++ b/build/toolchain/linux/BUILD.gn
|
| @@ -3,23 +3,12 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/sysroot.gni")
|
| -import("//build/toolchain/ccache.gni")
|
| import("//build/toolchain/clang.gni")
|
| import("//build/toolchain/gcc_toolchain.gni")
|
| -import("//build/toolchain/goma.gni")
|
| -
|
| -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 = ""
|
| -}
|
|
|
| gcc_toolchain("arm") {
|
| - cc = "${compiler_prefix}arm-linux-gnueabi-gcc"
|
| - cxx = "${compiler_prefix}arm-linux-gnueabi-g++"
|
| + cc = "arm-linux-gnueabi-gcc"
|
| + cxx = "arm-linux-gnueabi-g++"
|
|
|
| ar = "arm-linux-gnueabi-ar"
|
| ld = cxx
|
| @@ -39,8 +28,8 @@ gcc_toolchain("clang_x86") {
|
| prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
|
| root_build_dir)
|
| }
|
| - cc = "${compiler_prefix}$prefix/clang"
|
| - cxx = "${compiler_prefix}$prefix/clang++"
|
| + cc = "$prefix/clang"
|
| + cxx = "$prefix/clang++"
|
| readelf = "readelf"
|
| nm = "nm"
|
| ar = "ar"
|
| @@ -52,8 +41,8 @@ gcc_toolchain("clang_x86") {
|
| }
|
|
|
| gcc_toolchain("x86") {
|
| - cc = "${compiler_prefix}gcc"
|
| - cxx = "${compiler_prefix}g++"
|
| + cc = "gcc"
|
| + cxx = "g++"
|
|
|
| readelf = "readelf"
|
| nm = "nm"
|
| @@ -73,8 +62,8 @@ gcc_toolchain("clang_x64") {
|
| prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
|
| root_build_dir)
|
| }
|
| - cc = "${compiler_prefix}$prefix/clang"
|
| - cxx = "${compiler_prefix}$prefix/clang++"
|
| + cc = "$prefix/clang"
|
| + cxx = "$prefix/clang++"
|
|
|
| readelf = "readelf"
|
| nm = "nm"
|
| @@ -87,8 +76,8 @@ gcc_toolchain("clang_x64") {
|
| }
|
|
|
| gcc_toolchain("x64") {
|
| - cc = "${compiler_prefix}gcc"
|
| - cxx = "${compiler_prefix}g++"
|
| + cc = "gcc"
|
| + cxx = "g++"
|
|
|
| readelf = "readelf"
|
| nm = "nm"
|
| @@ -111,4 +100,6 @@ gcc_toolchain("mipsel") {
|
| toolchain_cpu = "mipsel"
|
| toolchain_os = "linux"
|
| is_clang = false
|
| + use_ccache = false
|
| + use_goma = false
|
| }
|
|
|