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

Unified Diff: build/toolchain/mac/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/toolchain/gcc_toolchain.gni ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/mac/BUILD.gn
diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn
index a26c06dd1b1d42cf3db9c2509b5bc97642d17e4d..8abad1e66a743b607c65c81818c7d122cde8ddd4 100644
--- a/build/toolchain/mac/BUILD.gn
+++ b/build/toolchain/mac/BUILD.gn
@@ -7,6 +7,7 @@
# Linux.
import("../goma.gni")
+import("//build/config/clang/clang.gni")
import("//build/config/ios/ios_sdk.gni")
import("//build/config/mac/mac_sdk.gni")
import("//build/config/mac/symbols.gni")
@@ -28,9 +29,8 @@ if (use_goma) {
}
if (!use_xcode_clang) {
- compiler_prefix = compiler_prefix +
- rebase_path("//third_party/llvm-build/Release+Asserts/bin/",
- root_build_dir)
+ compiler_prefix =
+ compiler_prefix + rebase_path("$clang_base_path/bin/", root_build_dir)
}
if (current_toolchain == default_toolchain) {
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698