Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: build/toolchain/cros/BUILD.gn

Issue 1287153002: Uncouple the cros_custom_toolchain from chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« build/config/BUILDCONFIG.gn ('K') | « build/config/BUILDCONFIG.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/clang.gni") 5 import("//build/toolchain/clang.gni")
6 import("//build/toolchain/gcc_toolchain.gni") 6 import("//build/toolchain/gcc_toolchain.gni")
7 7
8 declare_args() { 8 declare_args() {
9 # The CrOS build system supports many different kinds of targets across 9 # The CrOS build system supports many different kinds of targets across
10 # many different architectures. Bringing your own toolchain is also supported, 10 # many different architectures. Bringing your own toolchain is also supported,
(...skipping 12 matching lines...) Expand all
23 assert(cros_target_cxx != "", "Must provide target CXX.") 23 assert(cros_target_cxx != "", "Must provide target CXX.")
24 assert(cros_target_ar != "", "Must provide target AR.") 24 assert(cros_target_ar != "", "Must provide target AR.")
25 25
26 cc = "${cros_target_cc}" 26 cc = "${cros_target_cc}"
27 cxx = "${cros_target_cxx}" 27 cxx = "${cros_target_cxx}"
28 28
29 ar = "${cros_target_ar}" 29 ar = "${cros_target_ar}"
30 ld = cxx 30 ld = cxx
31 31
32 toolchain_cpu = "${target_cpu}" 32 toolchain_cpu = "${target_cpu}"
33 toolchain_os = "linux" 33 toolchain_os = "${host_os}"
34 is_clang = is_clang 34 is_clang = is_clang
35 } 35 }
OLDNEW
« build/config/BUILDCONFIG.gn ('K') | « build/config/BUILDCONFIG.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698