OLD | NEW |
---|---|
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_clang) { | 5 if (is_clang) { |
6 gcc_version = 0 | 6 gcc_version = 0 |
7 } else if (is_android) { | 7 } else if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 if (is_android_webview_build) { | 9 if (is_android_webview_build) { |
10 gcc_version = 48 | 10 gcc_version = 48 |
11 } else { | 11 } else { |
12 gcc_version = 49 | 12 gcc_version = 49 |
13 } | 13 } |
14 } else { | 14 } else { |
15 gcc_version = exec_script("../../compiler_version.py", [ "host", "compiler" ] , "value") | 15 gcc_version = exec_script("../../compiler_version.py", [ "target", "compiler" ], "value") |
brettw
2014/10/29 00:35:22
Sorry for the delay. This is a bit different than
| |
16 } | 16 } |
OLD | NEW |