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

Side by Side Diff: build/config/gcc/gcc_version.gni

Issue 797593002: Fix gcc_version.gni to determine target GCC version for MIPSEL Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 if (is_android_webview_build) { 7 if (is_android_webview_build) {
8 gcc_version = 48 8 gcc_version = 48
9 } else { 9 } else {
10 gcc_version = 49 10 gcc_version = 49
11 } 11 }
12 } else if (current_toolchain == "//build/toolchain/cros:target") { 12 } else if (current_toolchain == "//build/toolchain/cros:target" ||
13 current_toolchain == "//build/toolchain/linux:mipsel") {
13 # TODO(benchan): Generalize the check for platforms other than Chrome OS. 14 # TODO(benchan): Generalize the check for platforms other than Chrome OS.
brettw 2014/12/12 21:53:05 Can you remove this TODO?
gordanac 2014/12/15 09:50:11 Done.
14 gcc_version = exec_script("../../compiler_version.py", 15 gcc_version = exec_script("../../compiler_version.py",
15 [ 16 [
16 "target", 17 "target",
17 "compiler", 18 "compiler",
18 ], 19 ],
19 "value") 20 "value")
20 } else if (current_toolchain == "//build/toolchain/linux:x64" || 21 } else if (current_toolchain == "//build/toolchain/linux:x64" ||
21 current_toolchain == "//build/toolchain/linux:x86") { 22 current_toolchain == "//build/toolchain/linux:x86") {
22 # These are both the same and just use the default gcc on the system. 23 # These are both the same and just use the default gcc on the system.
23 gcc_version = exec_script("../../compiler_version.py", 24 gcc_version = exec_script("../../compiler_version.py",
24 [ 25 [
25 "host", 26 "host",
26 "compiler", 27 "compiler",
27 ], 28 ],
28 "value") 29 "value")
29 } else { 30 } else {
30 gcc_version = 0 31 gcc_version = 0
31 } 32 }
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