Home
last modified time | relevance | path

Searched refs:depFile (Results 1 – 15 of 15) sorted by relevance

/build/soong/rust/
Dprotobuf.go133 depFile := android.PathForModuleOut(ctx, protoName+".d")
135 ruleOutputs := android.WritablePaths{protoOut, depFile}
137 android.ProtoRule(rule, protoFile, protoFlags, protoFlags.Deps, outDir, depFile, ruleOutputs)
148 depFile := android.PathForModuleOut(ctx, grpcName+".d")
150 ruleOutputs := android.WritablePaths{protoOut, grpcOut, depFile}
152 …android.ProtoRule(rule, grpcFile, grpcProtoFlags, grpcProtoFlags.Deps, outDir, depFile, ruleOutput…
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go173 depFile := &bytes.Buffer{}
175 fmt.Fprint(depFile, `: \`+"\n")
177 fmt.Fprintf(depFile, ` %s \`+"\n", tool)
183 fmt.Fprintf(depFile, ` %s \`+"\n", input)
186 depFile.WriteString("\n")
193 fmt.Fprintf(script, "cat >> $2.d <<'EOF'\n%sEOF\n", depFile.String())
/build/soong/python/
Dproto.go25 depFile := srcsZipFile.ReplaceExtension(ctx, "srcszip.d")
32 android.ProtoRule(rule, protoFile, flags, flags.Deps, outDir, depFile, nil)
/build/blueprint/bootstrap/bpglob/
Dbpglob.go200 func globsWithDepFile(fileListFile, depFile string, globs []globArg) error {
218 err = deptools.WriteDepFile(depFile, fileListFile, results.Deps())
220 return fmt.Errorf("failed to write dep file to %q: %w", depFile, err)
/build/soong/android/
Dproto.go126 outDir WritablePath, depFile WritablePath, outputs WritablePaths) {
139 FlagWithDepFile("--dependency_out=", depFile).
147 BuiltTool("dep_fixer").Flag(depFile.String())
Drule_builder.go376 for _, depFile := range c.depFiles {
377 depFiles[depFile.String()] = depFile
389 for _, depFile := range c.depFiles {
390 depFiles = append(depFiles, depFile)
493 var depFile WritablePath
496 depFile = depFiles[0]
535 if depFile != nil {
536 manifest.OutputDepfile = proto.String(depFile.String())
736 Depfile: depFile,
Drule_builder_test.go682 depFile := filepath.Join(outDir, "gen/foo_sbox.d")
693 cmd, outFile, depFile, rspFile, rspFile2, false, []string{manifest}, []string{sbox})
698 depFile := filepath.Join(outDir, "gen/foo_sbox_inputs.d")
710 cmd, outFile, depFile, rspFile, rspFile2, false, []string{manifest}, []string{sbox})
/build/soong/java/
Dproto.go43 depFile := srcJarFile.InSameDir(ctx, protoFile.String()+".d")
44 rule.Command().Text("mkdir -p").Flag(filepath.Dir(depFile.String()))
45 android.ProtoRule(rule, protoFile, flags, flags.Deps, outDir, depFile, nil)
Dgen.go67 depFile := srcJarFile.InSameDir(ctx, aidlFile.String()+".d")
71 FlagWithDepFile("-d", depFile).
/build/soong/cmd/sbox/
Dsbox.go167 depFile, err := runCommand(command, localTempDir)
175 if depFile != "" {
176 commandDepFiles = append(commandDepFiles, depFile)
216 func runCommand(command *sbox_proto.Command, tempDir string) (depFile string, err error) {
243 depFile = filepath.Join(pathToTempDirInSbox, "deps.d")
244 rawCommand = strings.Replace(rawCommand, depFilePlaceholder, depFile, -1)
338 return depFile, nil
/build/soong/genrule/
Dgenrule.go187 depFile android.WritablePath member
504 cmd.ImplicitDepFile(task.depFile)
700 depFile := rule.Command().PathForOutput(outFile.ReplaceExtension(ctx, "d"))
701 commandDepFiles = append(commandDepFiles, depFile)
702 return depFile, nil
734 depFile: outputDepfile,
773 var depFile android.WritablePath
777 depFile = outPath.ReplaceExtension(ctx, "d")
784 depFile: depFile,
/build/soong/cc/
Dproto.go50 depFile := ccFile.ReplaceExtension(ctx, "d")
55 android.ProtoRule(rule, protoFile, flags.proto, protoDeps, outDir, depFile, outputs)
Dgen.go128 depFile := outDir.Join(ctx, aidlPackage, baseName+".cpp.d")
140 FlagWithDepFile("-d", depFile).
Dcc.go2606 depFile := android.OptionalPath{}
2694 depFile = sharedLibraryInfo.TableOfContents
2798 dep := depFile
/build/soong/cmd/soong_build/
Dmain.go429 depFile := bp2buildMarker + ".d"
430 err = deptools.WriteDepFile(shared.JoinPath(topDir, depFile), bp2buildMarker, ninjaDeps)
432 fmt.Fprintf(os.Stderr, "Cannot write depfile '%s': %s\n", depFile, err)