Merge pull request #196 from danw/ninja_deps

Store build.ninja deps in .ninja_deps
This commit is contained in:
Dan Willemsen 2017-12-18 12:26:58 -08:00 committed by GitHub
commit 759bb61dd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -113,6 +113,7 @@ var (
Command: "$builder $extra -b $buildDir -n $ninjaBuildDir -d $out.d -o $out $in",
CommandDeps: []string{"$builder"},
Description: "$builder $out",
Deps: blueprint.DepsGCC,
Depfile: "$out.d",
Restat: true,
},

View file

@ -9,6 +9,7 @@ ninja_required_version = 1.7.0
rule build.ninja
command = ${builder} ${extraArgs} -b ${bootstrapBuildDir} -n ${builddir} -d ${out}.d -o ${out} ${in}
deps = gcc
depfile = ${out}.d
description = ${builder} ${out}