OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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_linux && !is_chromeos) { | 5 if (is_clang) { |
6 # TODO(GYP): Figure out which of these work and are needed on other platforms. | |
7 copy("copy_llvm_symbolizer") { | 6 copy("copy_llvm_symbolizer") { |
8 if (is_win) { | 7 if (is_win) { |
9 sources = [ | 8 sources = [ |
10 "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer.exe", | 9 "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer.exe", |
11 ] | 10 ] |
12 outputs = [ | 11 outputs = [ |
13 "$root_out_dir/llvm-symbolizer.exe", | 12 "$root_out_dir/llvm-symbolizer.exe", |
14 ] | 13 ] |
15 } else { | 14 } else { |
16 sources = [ | 15 sources = [ |
17 "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer", | 16 "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer", |
18 ] | 17 ] |
19 outputs = [ | 18 outputs = [ |
20 "$root_out_dir/llvm-symbolizer", | 19 "$root_out_dir/llvm-symbolizer", |
21 ] | 20 ] |
22 } | 21 } |
23 } | 22 } |
24 } | 23 } |
OLD | NEW |