Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Side by Side Diff: build/sanitizers/BUILD.gn

Issue 2088373002: gn: define and use clang_base_path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/win/BUILD.gn ('k') | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « build/config/win/BUILD.gn ('k') | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698