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

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

Issue 2231643002: Fix v8_current_cpu setting for CrOS builds after r410853. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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/config/compiler/compiler.gni") 5 import("//build/config/compiler/compiler.gni")
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 import("//build/toolchain/gcc_toolchain.gni") 7 import("//build/toolchain/gcc_toolchain.gni")
8 import("//build/toolchain/cros_toolchain.gni") 8 import("//build/toolchain/cros_toolchain.gni")
9 9
10 template("cros_target_toolchain") { 10 template("cros_target_toolchain") {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 extra_ldflags = cros_v8_snapshot_extra_ldflags 115 extra_ldflags = cros_v8_snapshot_extra_ldflags
116 116
117 toolchain_args = { 117 toolchain_args = {
118 cc_wrapper = "" 118 cc_wrapper = ""
119 is_clang = cros_v8_snapshot_is_clang 119 is_clang = cros_v8_snapshot_is_clang
120 if (target_cpu == "x86" || target_cpu == "arm" || target_cpu == "mipsel") { 120 if (target_cpu == "x86" || target_cpu == "arm" || target_cpu == "mipsel") {
121 current_cpu = "x86" 121 current_cpu = "x86"
122 } else { 122 } else {
123 current_cpu = "x64" 123 current_cpu = "x64"
124 } 124 }
125 v8_toolchain_cpu = v8_target_cpu 125 v8_current_cpu = v8_target_cpu
126 current_os = "linux" 126 current_os = "linux"
127 use_sysroot = false 127 use_sysroot = false
128 } 128 }
129 } 129 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698