| 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("//build/config/sysroot.gni") | 5 import("//build/config/sysroot.gni") | 
| 6 import("//build/toolchain/gcc_toolchain.gni") | 6 import("//build/toolchain/gcc_toolchain.gni") | 
| 7 | 7 | 
| 8 clang_toolchain("clang_arm") { | 8 clang_toolchain("clang_arm") { | 
| 9   toolchain_cpu = "arm" | 9   toolchain_cpu = "arm" | 
| 10   toolchain_os = "linux" | 10   toolchain_os = "linux" | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 31   toolchain_cpu = "arm" | 31   toolchain_cpu = "arm" | 
| 32   toolchain_os = "linux" | 32   toolchain_os = "linux" | 
| 33   is_clang = false | 33   is_clang = false | 
| 34 } | 34 } | 
| 35 | 35 | 
| 36 clang_toolchain("clang_x86") { | 36 clang_toolchain("clang_x86") { | 
| 37   toolchain_cpu = "x86" | 37   toolchain_cpu = "x86" | 
| 38   toolchain_os = "linux" | 38   toolchain_os = "linux" | 
| 39 } | 39 } | 
| 40 | 40 | 
|  | 41 clang_toolchain("clang_x86_v8_arm") { | 
|  | 42   toolchain_cpu = "x86" | 
|  | 43   v8_toolchain_cpu = "arm" | 
|  | 44   toolchain_os = "linux" | 
|  | 45 } | 
|  | 46 | 
| 41 gcc_toolchain("x86") { | 47 gcc_toolchain("x86") { | 
| 42   cc = "gcc" | 48   cc = "gcc" | 
| 43   cxx = "g++" | 49   cxx = "g++" | 
| 44 | 50 | 
| 45   readelf = "readelf" | 51   readelf = "readelf" | 
| 46   nm = "nm" | 52   nm = "nm" | 
| 47   ar = "ar" | 53   ar = "ar" | 
| 48   ld = cxx | 54   ld = cxx | 
| 49 | 55 | 
| 50   toolchain_cpu = "x86" | 56   toolchain_cpu = "x86" | 
| 51   toolchain_os = "linux" | 57   toolchain_os = "linux" | 
| 52   is_clang = false | 58   is_clang = false | 
| 53 } | 59 } | 
| 54 | 60 | 
| 55 clang_toolchain("clang_x64") { | 61 clang_toolchain("clang_x64") { | 
| 56   toolchain_cpu = "x64" | 62   toolchain_cpu = "x64" | 
| 57   toolchain_os = "linux" | 63   toolchain_os = "linux" | 
| 58 } | 64 } | 
| 59 | 65 | 
|  | 66 clang_toolchain("clang_x64_v8_arm64") { | 
|  | 67   toolchain_cpu = "x64" | 
|  | 68   v8_toolchain_cpu = "arm64" | 
|  | 69   toolchain_os = "linux" | 
|  | 70 } | 
|  | 71 | 
| 60 gcc_toolchain("x64") { | 72 gcc_toolchain("x64") { | 
| 61   cc = "gcc" | 73   cc = "gcc" | 
| 62   cxx = "g++" | 74   cxx = "g++" | 
| 63 | 75 | 
| 64   readelf = "readelf" | 76   readelf = "readelf" | 
| 65   nm = "nm" | 77   nm = "nm" | 
| 66   ar = "ar" | 78   ar = "ar" | 
| 67   ld = cxx | 79   ld = cxx | 
| 68 | 80 | 
| 69   toolchain_cpu = "x64" | 81   toolchain_cpu = "x64" | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 83   ld = cxx | 95   ld = cxx | 
| 84   readelf = "mipsel-linux-gnu-readelf" | 96   readelf = "mipsel-linux-gnu-readelf" | 
| 85   nm = "mipsel-linux-gnu-nm" | 97   nm = "mipsel-linux-gnu-nm" | 
| 86 | 98 | 
| 87   toolchain_cpu = "mipsel" | 99   toolchain_cpu = "mipsel" | 
| 88   toolchain_os = "linux" | 100   toolchain_os = "linux" | 
| 89   is_clang = false | 101   is_clang = false | 
| 90   cc_wrapper = "" | 102   cc_wrapper = "" | 
| 91   use_goma = false | 103   use_goma = false | 
| 92 } | 104 } | 
| OLD | NEW | 
|---|