Add ICU message format support
[chromium-blink-merge.git] / build / config / gcc / gcc_version.gni
blob6741e45bf39104ab6180da6c1b40b3780c14b40d
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
3 # found in the LICENSE file.
5 if (is_android) {
6   gcc_version = 49
7 } else if (current_toolchain == "//build/toolchain/cros:target" ||
8            current_toolchain == "//build/toolchain/linux:mipsel") {
9   gcc_version = exec_script("../../compiler_version.py",
10                             [
11                               "target",
12                               "compiler",
13                             ],
14                             "value")
15 } else if (current_toolchain == "//build/toolchain/linux:x64" ||
16            current_toolchain == "//build/toolchain/linux:x86") {
17   # These are both the same and just use the default gcc on the system.
18   gcc_version = exec_script("../../compiler_version.py",
19                             [
20                               "host",
21                               "compiler",
22                             ],
23                             "value")
24 } else {
25   gcc_version = 0