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

Side by Side Diff: build/toolchain/gcc_toolchain.gni

Issue 1368223002: [GN]: BUILD file housecleaning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « build/config/win/BUILD.gn ('k') | build/toolchain/mac/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 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
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}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}" 197 command = "$cc -MMD -MF $depfile ${rebuild_string}{{defines}} {{include_di rs}} {{asmflags}} -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
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 }
OLDNEW
« no previous file with comments | « build/config/win/BUILD.gn ('k') | build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698