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 import("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/toolchain/ccache.gni") | 7 import("//build/toolchain/ccache.gni") |
8 import("//build/toolchain/goma.gni") | 8 import("//build/toolchain/goma.gni") |
9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
10 | 10 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 depsformat = "gcc" | 187 depsformat = "gcc" |
188 description = "CXX {{output}}" | 188 description = "CXX {{output}}" |
189 outputs = [ | 189 outputs = [ |
190 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.o", | 190 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.o", |
191 ] | 191 ] |
192 } | 192 } |
193 | 193 |
194 tool("asm") { | 194 tool("asm") { |
195 # For GCC we can just use the C compiler to compile assembly. | 195 # For GCC we can just use the C compiler to compile assembly. |
196 depfile = "{{output}}.d" | 196 depfile = "{{output}}.d" |
197 command = "$cc -MMD -MF $depfile ${rebuild_string}{{defines}} {{include_di
rs}} {{asmflags}} -c {{source}} -o {{output}}" | 197 command = "$cc -MMD -MF $depfile ${rebuild_string}{{defines}} {{include_di
rs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}" |
198 depsformat = "gcc" | 198 depsformat = "gcc" |
199 description = "ASM {{output}}" | 199 description = "ASM {{output}}" |
200 outputs = [ | 200 outputs = [ |
201 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.o", | 201 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.o", |
202 ] | 202 ] |
203 } | 203 } |
204 | 204 |
205 tool("alink") { | 205 tool("alink") { |
206 rspfile = "{{output}}.rsp" | 206 rspfile = "{{output}}.rsp" |
207 arflags = "" | 207 arflags = "" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 is_lsan = false | 352 is_lsan = false |
353 is_msan = false | 353 is_msan = false |
354 is_syzyasan = false | 354 is_syzyasan = false |
355 is_tsan = false | 355 is_tsan = false |
356 } | 356 } |
357 } | 357 } |
358 | 358 |
359 forward_variables_from(invoker, [ "deps" ]) | 359 forward_variables_from(invoker, [ "deps" ]) |
360 } | 360 } |
361 } | 361 } |
OLD | NEW |