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