Lines Matching +full:ninja +full:- +full:build

7 //     http://www.apache.org/licenses/LICENSE-2.0
32 // The build.ninja file needs to be regenerated any time a file matching the glob is added
33 // or removed. The naive solution is to have the build.ninja file depend on all the
35 // non-matching file is added to a traversed directory, including backup files created by
39 // don't match the glob by having the build.ninja file depend on an intermedate file that
41 // depends on the traversed directories via a depfile. The depfile is used to avoid build
42 // errors if a directory is deleted - a direct dependency on the deleted directory would result
43 // in a build failure with a "missing and no known rule to make it" error.
52 Command: fmt.Sprintf(`%s -o $out -v %d $args`,
67 Build(pctx blueprint.PackageContext, params blueprint.BuildParams) methodSpec
75 args := `-p "` + pattern + `"`
77 args += " " + joinWithPrefixAndQuote(excludes, "-e ")
79 ctx.Build(pctx, blueprint.BuildParams{
100 args.WriteString(`-p "`)
104 args.WriteString(` -e "`)
110 ctx.Build(pctx, blueprint.BuildParams{
129 n := len(" ") * (len(strs) - 1)
148 // re-evaluate them whenever the contents of the searched directories change, and retrigger the
182 // Called from generateGlobNinjaFile. Write out the file list to disk, and add a ninja
188 // than the build.ninja (otherwise we'd run the primary builder twice on
191 // We don't need to write the depfile because we're guaranteed that ninja
199 // Write out the ninja rule to run bpglob.
202 // Called from the main Context, make build.ninja depend on the fileListFile.