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