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

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

Issue 1348493002: Add fnl build target (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 3 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 | « build/config/fnl/BUILD.gn ('k') | build/config/sysroot.gni » ('j') | 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 gcc_version = 49 6 gcc_version = 49
7 } else if (current_toolchain == "//build/toolchain/cros:target" || 7 } else if (current_toolchain == "//build/toolchain/cros:target" ||
8 current_toolchain == "//build/toolchain/linux:mipsel") { 8 current_toolchain == "//build/toolchain/linux:mipsel" ||
9 current_toolchain == "//build/toolchain/fnl:target") {
9 gcc_version = exec_script("../../compiler_version.py", 10 gcc_version = exec_script("../../compiler_version.py",
10 [ 11 [
11 "target", 12 "target",
12 "compiler", 13 "compiler",
13 ], 14 ],
14 "value") 15 "value")
15 } else if (current_toolchain == "//build/toolchain/linux:x64" || 16 } else if (current_toolchain == "//build/toolchain/linux:x64" ||
16 current_toolchain == "//build/toolchain/linux:x86") { 17 current_toolchain == "//build/toolchain/linux:x86") {
17 # These are both the same and just use the default gcc on the system. 18 # These are both the same and just use the default gcc on the system.
18 gcc_version = exec_script("../../compiler_version.py", 19 gcc_version = exec_script("../../compiler_version.py",
19 [ 20 [
20 "host", 21 "host",
21 "compiler", 22 "compiler",
22 ], 23 ],
23 "value") 24 "value")
24 } else { 25 } else {
25 gcc_version = 0 26 gcc_version = 0
26 } 27 }
OLDNEW
« no previous file with comments | « build/config/fnl/BUILD.gn ('k') | build/config/sysroot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698