| 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 import("//build/config/clang/clang.gni") |
| 6 |
| 5 if (is_clang) { | 7 if (is_clang) { |
| 6 copy("copy_llvm_symbolizer") { | 8 copy("copy_llvm_symbolizer") { |
| 7 if (is_win) { | 9 if (is_win) { |
| 8 sources = [ | 10 sources = [ |
| 9 "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer.exe", | 11 "$clang_base_path/bin/llvm-symbolizer.exe", |
| 10 ] | 12 ] |
| 11 outputs = [ | 13 outputs = [ |
| 12 "$root_out_dir/llvm-symbolizer.exe", | 14 "$root_out_dir/llvm-symbolizer.exe", |
| 13 ] | 15 ] |
| 14 } else { | 16 } else { |
| 15 sources = [ | 17 sources = [ |
| 16 "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer", | 18 "$clang_base_path/bin/llvm-symbolizer", |
| 17 ] | 19 ] |
| 18 outputs = [ | 20 outputs = [ |
| 19 "$root_out_dir/llvm-symbolizer", | 21 "$root_out_dir/llvm-symbolizer", |
| 20 ] | 22 ] |
| 21 } | 23 } |
| 22 } | 24 } |
| 23 } | 25 } |
| OLD | NEW |