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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/win/BUILD.gn ('k') | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/sanitizers/BUILD.gn
diff --git a/build/sanitizers/BUILD.gn b/build/sanitizers/BUILD.gn
index 40ffcb7469d052abf6581f3732c6a1a7a21e5351..473200f299abfe6181210649d4d8e33e8b5f264f 100644
--- a/build/sanitizers/BUILD.gn
+++ b/build/sanitizers/BUILD.gn
@@ -2,18 +2,20 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/clang/clang.gni")
+
if (is_clang) {
copy("copy_llvm_symbolizer") {
if (is_win) {
sources = [
- "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer.exe",
+ "$clang_base_path/bin/llvm-symbolizer.exe",
]
outputs = [
"$root_out_dir/llvm-symbolizer.exe",
]
} else {
sources = [
- "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer",
+ "$clang_base_path/bin/llvm-symbolizer",
]
outputs = [
"$root_out_dir/llvm-symbolizer",
« 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