OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |