| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("../clang.gni") | 5 import("../clang.gni") |
| 6 import("../goma.gni") | 6 import("../goma.gni") |
| 7 import("../gcc_toolchain.gni") | 7 import("../gcc_toolchain.gni") |
| 8 | 8 |
| 9 if (is_gyp) { | 9 if (is_gyp) { |
| 10 # Set the compilers for GYP to use. This logic is only relevant to GYP where | 10 # Set the compilers for GYP to use. This logic is only relevant to GYP where |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 gcc_toolchain("x64") { | 65 gcc_toolchain("x64") { |
| 66 cc = "gcc" | 66 cc = "gcc" |
| 67 cxx = "g++" | 67 cxx = "g++" |
| 68 ar = "ar" | 68 ar = "ar" |
| 69 ld = cxx | 69 ld = cxx |
| 70 | 70 |
| 71 toolchain_cpu_arch = "x64" | 71 toolchain_cpu_arch = "x64" |
| 72 toolchain_os = "linux" | 72 toolchain_os = "linux" |
| 73 } | 73 } |
| 74 |
| 75 # MIPS ----------------------------------------------------------------------- |
| 76 |
| 77 gcc_toolchain("mipsel") { |
| 78 cc = "mipsel-linux-gnu-gcc" |
| 79 cxx = "mipsel-linux-gnu-g++" |
| 80 ar = "mipsel-linux-gnu-ar" |
| 81 ld = cxx |
| 82 |
| 83 toolchain_cpu_arch = "mipsel" |
| 84 toolchain_os = "linux" |
| 85 } |
| OLD | NEW |