summaryrefslogtreecommitdiff
path: root/chromium/tools/gn/bootstrap/build.ninja.template
blob: e59854b189e965d52f15b5d9daff3aac1850e4db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
rule cc
  command = $cc -MMD -MF $out.d $defines $includes $cflags $cflags_c -c $in -o $out
  description = CC $out
  depfile = $out.d
  deps = gcc

rule cxx
  command = $cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc -c $in -o $out
  description = CXX $out
  depfile = $out.d
  deps = gcc

rule alink_thin
  command = rm -f $out && $ar rcsT $out $in
  description = AR $out

rule link
  command = $ld $ldflags -o $out -Wl,--start-group $in $libs -Wl,--end-group $solibs
  description = LINK $out