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

Unified Diff: tools/gn/secondary/build/config/compiler/BUILD.gn

Issue 23606031: GN: Use build directory for CD for scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « tools/gn/secondary/base/BUILD.gn ('k') | tools/gn/secondary/build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/build/config/compiler/BUILD.gn
diff --git a/tools/gn/secondary/build/config/compiler/BUILD.gn b/tools/gn/secondary/build/config/compiler/BUILD.gn
index 00ebe8f098c17cb807ca7d62041df912a19caa59..d31955a8e882f3cfb495b312685d63f5c5c87443 100644
--- a/tools/gn/secondary/build/config/compiler/BUILD.gn
+++ b/tools/gn/secondary/build/config/compiler/BUILD.gn
@@ -90,9 +90,10 @@ config("compiler") {
"-pthread",
"-pipe", # Use pipes for communicating between sub-processes. Faster.
]
+ gold_path = to_build_path("//third_party/gold")
ldflags += [
# Use Gold for linking: it is checked out in the source tree.
- "-B$relative_build_to_source_root_dir/third_party/gold",
+ "-B$gold_path",
"-fPIC",
"-pthread",
« no previous file with comments | « tools/gn/secondary/base/BUILD.gn ('k') | tools/gn/secondary/build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698