OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/toolchain/gcc_toolchain.gni") | 5 import("//build/toolchain/gcc_toolchain.gni") |
6 | 6 |
7 # CrOS builds must cross-compile on a Linux host for the actual CrOS | 7 # CrOS builds must cross-compile on a Linux host for the actual CrOS |
8 # device target. There are many different CrOS devices so the build | 8 # device target. There are many different CrOS devices so the build |
9 # system provides configuration variables that permit a CrOS build to | 9 # system provides configuration variables that permit a CrOS build to |
10 # control the cross-compilation tool chain. However, requiring such | 10 # control the cross-compilation tool chain. However, requiring such |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 cxx = "${cros_target_cxx}" | 60 cxx = "${cros_target_cxx}" |
61 } | 61 } |
62 if (cros_target_ar != "") { | 62 if (cros_target_ar != "") { |
63 ar = "${cros_target_ar}" | 63 ar = "${cros_target_ar}" |
64 } | 64 } |
65 ld = cxx | 65 ld = cxx |
66 | 66 |
67 toolchain_cpu = target_cpu | 67 toolchain_cpu = target_cpu |
68 toolchain_os = "linux" | 68 toolchain_os = "linux" |
69 is_clang = is_clang | 69 is_clang = is_clang |
70 use_ccache = false | 70 cc_wrapper = "" |
71 } | 71 } |
OLD | NEW |