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

Side by Side Diff: tools/gn/secondary/build/toolchain/mac/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/secondary/build/config/compiler/BUILD.gn ('k') | tools/gn/secondary/chrome/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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 cc = "$relative_build_to_source_root_dir/third_party/llvm-build/Release+Asserts/ bin/clang" 5 cc = to_build_path("//third_party/llvm-build/Release+Asserts/bin/clang")
6 cxx = "$relative_build_to_source_root_dir/third_party/llvm-build/Release+Asserts /bin/clang++" 6 cxx = to_build_path("//third_party/llvm-build/Release+Asserts/bin/clang++")
7 ld = cxx 7 ld = cxx
8 8
9 toolchain("clang") { 9 toolchain("clang") {
10 tool("cc") { 10 tool("cc") {
11 command = "$cc -MMD -MF \$out.d \$defines \$includes \$cflags \$cflags_c \$c flags_pch_c -c \$in -o \$out" 11 command = "$cc -MMD -MF \$out.d \$defines \$includes \$cflags \$cflags_c \$c flags_pch_c -c \$in -o \$out"
12 description = "CC \$out" 12 description = "CC \$out"
13 depfile = "\$out.d" 13 depfile = "\$out.d"
14 deps = "gcc" 14 deps = "gcc"
15 } 15 }
16 tool("cxx") { 16 tool("cxx") {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #} 60 #}
61 tool("stamp") { 61 tool("stamp") {
62 command = "\${postbuilds}touch \$out" 62 command = "\${postbuilds}touch \$out"
63 description = "STAMP \$out" 63 description = "STAMP \$out"
64 } 64 }
65 tool("copy") { 65 tool("copy") {
66 command = "ln -f \$in \$out 2>/dev/null || (rm -rf \$out && cp -af \$in \$ou t)" 66 command = "ln -f \$in \$out 2>/dev/null || (rm -rf \$out && cp -af \$in \$ou t)"
67 description = "COPY \$in \$out" 67 description = "COPY \$in \$out"
68 } 68 }
69 } 69 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/build/config/compiler/BUILD.gn ('k') | tools/gn/secondary/chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698