/build/soong/python/ |
D | proto.go | 25 outDir := srcsZipFile.ReplaceExtension(ctx, "tmp") 30 rule.Command().Text("rm -rf").Flag(outDir.String()) 31 rule.Command().Text("mkdir -p").Flag(outDir.String()) 33 android.ProtoRule(rule, protoFile, flags, flags.Deps, outDir, depFile, nil) 40 zipCmd.FlagWithArg("-C ", outDir.String()). 41 FlagWithArg("-D ", outDir.String()) 43 rule.Command().Text("rm -rf").Flag(outDir.String())
|
/build/soong/bazel/ |
D | bazel_proxy.go | 56 outDir string member 76 outDir string member 85 func NewProxyClient(outDir string) *ProxyClient { 87 outDir: outDir, 91 func unixSocketPath(outDir string) string { 92 return filepath.Join(outDir, "bazelsocket.sock") 108 conn, err = d.Dial("unix", unixSocketPath(b.outDir)) 124 func NewProxyServer(logger ServerLogger, outDir string, workspaceDir string, bazeliskVersion string… 131 outDir: outDir, 219 unixSocketAddr := unixSocketPath(b.outDir)
|
D | aquery.go | 591 outDir := filepath.Dir(out) 604 if outDir != "." { 605 dotDotsToReachCwd = strings.Repeat("../", strings.Count(outDir, "/")+1) 613 outDir = proptools.ShellEscapeIncludingSpaces(outDir) 616 command := fmt.Sprintf("mkdir -p %[1]s && rm -f %[2]s && ln -sf %[3]s %[2]s", outDir, out, target) 645 outDir := proptools.ShellEscapeIncludingSpaces(filepath.Dir(out)) 649 command := fmt.Sprintf("mkdir -p %[1]s && rm -f %[2]s && ln -sf %[3]s %[2]s", outDir, out, in)
|
/build/soong/ui/build/ |
D | test_build.go | 64 outDir := config.OutDir() 65 modulePathsDir := filepath.Join(outDir, ".module_paths") 66 rawFilesDir := filepath.Join(outDir, "soong", "raw") 67 variablesFilePath := filepath.Join(outDir, "soong", "soong.variables") 74 dexpreoptConfigFilePath := filepath.Join(outDir, "soong", "dexpreopt.config") 77 buildDatetimeFilePath := filepath.Join(outDir, "build_date.txt") 84 releaseConfigDir := filepath.Join(outDir, "soong", "release-config") 91 if !strings.HasPrefix(line, outDir) {
|
D | sandbox_linux.go | 59 outDir string 85 sandboxConfig.outDir = absPath(c.ctx, c.config.OutDir()) 86 if derefPath, err := filepath.EvalSymlinks(sandboxConfig.outDir); err == nil { 87 sandboxConfig.outDir = absPath(c.ctx, derefPath) 105 "-B", sandboxConfig.outDir, 194 "-B", sandboxConfig.outDir,
|
D | sandbox_darwin.go | 52 outDir := absPath(c.ctx, c.config.OutDir()) 60 "-D", "OUT_DIR=" + outDir,
|
D | soong.go | 102 outDir string member 118 return c.outDir 409 outDir: config.OutDir(), 505 func fixOutDirSymlinks(ctx Context, config Config, outDir string) error { 512 tf := filepath.Join(outDir, ".top") 537 if err := updateSymlinks(ctx, outDir, prevCWD, cwd); err != nil { 541 ctx.Println(fmt.Sprintf("Updated %d/%d symlinks in dir %v", numUpdated, numFound, outDir)) 547 outDir := config.OutDir() 548 s, err := os.Lstat(outDir) 557 target, err := filepath.EvalSymlinks(outDir) [all …]
|
/build/soong/cc/ |
D | gen_test.go | 86 outDir := "out/soong/.intermediates/libsysprop/android_arm64_armv8-a_static/gen" 89 …android.AssertStringEquals(t, "header output directory does not match", outDir+"/sysprop/include/p… 90 …android.AssertStringEquals(t, "public output directory does not match", outDir+"/sysprop/public/in… 91 …android.AssertStringEquals(t, "src output directory does not match", outDir+"/sysprop/path/to", sy… 94 …android.AssertStringEquals(t, "Output file does not match", outDir+"/sysprop/path/to/foo.sysprop.c… 95 … not contain header file", syspropBuildParams.ImplicitOutputs.Strings(), outDir+"/sysprop/include/… 96 …ntain public header file", syspropBuildParams.ImplicitOutputs.Strings(), outDir+"/sysprop/public/i…
|
D | rs.go | 38 ${rsCmd} -o ${outDir} -d ${outDir} -a ${out} -MD -reflect-c++ ${rsFlags} $in &&
|
D | gen.go | 65 outDir := android.PathForModuleGen(ctx, "yacc") 74 sboxOutDir := cmd.PathForOutput(outDir) 75 sedCmd := "sed -i.bak 's#" + sboxOutDir + "#" + outDir.String() + "#'" 127 outDir := android.PathForModuleGen(ctx, outDirBase) 128 cppFile = outDir.Join(ctx, aidlPackage, baseName+".cpp") 129 depFile := outDir.Join(ctx, aidlPackage, baseName+".cpp.d") 130 headerI := outDir.Join(ctx, aidlPackage, baseName+".h") 131 headerBn := outDir.Join(ctx, aidlPackage, "Bn"+shortName+".h") 132 headerBp := outDir.Join(ctx, aidlPackage, "Bp"+shortName+".h")
|
/build/soong/java/ |
D | proto.go | 39 outDir := srcJarFile.ReplaceExtension(ctx, "tmp") 43 rule.Command().Text("rm -rf").Flag(outDir.String()) 44 rule.Command().Text("mkdir -p").Flag(outDir.String()) 49 android.ProtoRule(rule, protoFile, flags, flags.Deps, outDir, depFile, nil) 59 FlagWithArg("-C ", outDir.String()). 60 FlagWithArg("-D ", outDir.String()) 62 rule.Command().Text("rm -rf").Flag(outDir.String())
|
D | gen.go | 52 outDir := srcJarFile.ReplaceExtension(ctx, "tmp") 56 rule.Command().Text("rm -rf").Flag(outDir.String()) 57 rule.Command().Text("mkdir -p").Flag(outDir.String()) 63 javaFile := outDir.Join(ctx, pathtools.ReplaceExtension(aidlFile.String(), "java")) 80 FlagWithArg("-C ", outDir.String()). 81 FlagWithArg("-D ", outDir.String()) 83 rule.Command().Text("rm -rf").Flag(outDir.String())
|
D | dex.go | 129 …`$d8Template${config.D8Cmd} ${config.D8Flags} $d8Flags --output $outDir --no-dex-input-jar $in && … 130 …`$zipTemplate${config.SoongZipCmd} $zipFlags -o $outDir/classes.dex.jar -C $outDir -f "$outDir/cla… 131 …`${config.MergeZipsCmd} -D -stripFile "**/*.class" $mergeZipsFlags $out $outDir/classes.dex.jar $i… 160 `$r8Template${config.R8Cmd} ${config.R8Flags} $r8Flags -injars $in --output $outDir ` + 169 …`$zipTemplate${config.SoongZipCmd} $zipFlags -o $outDir/classes.dex.jar -C $outDir -f "$outDir/cla… 170 …`${config.MergeZipsCmd} -D -stripFile "**/*.class" $mergeZipsFlags $out $outDir/classes.dex.jar $i… 431 outDir := android.PathForModuleOut(ctx, "dex") 482 "outDir": outDir.String(), 527 "outDir": outDir.String(),
|
D | app_builder.go | 123 Command: `rm -rf ${outDir} && mkdir -p ${outDir} && ` + 124 `cp ${manifest} ${outDir}/AndroidManifest.xml && ` + 125 `cp ${classesJar} ${outDir}/classes.jar && ` + 126 `cp ${rTxt} ${outDir}/R.txt && ` + 127 `${config.SoongZipCmd} -jar -o $out -C ${outDir} -D ${outDir}`,
|
D | droiddoc.go | 551 outDir := android.PathForModuleOut(ctx, "out") 558 rule.Command().Text("rm -rf").Text(outDir.String()) 559 rule.Command().Text("mkdir -p").Text(outDir.String()) 565 cmd := javadocSystemModulesCmd(ctx, rule, j.srcFiles, outDir, srcJarDir, srcJarList, 580 FlagWithArg("-C ", outDir.String()). 581 FlagWithArg("-D ", outDir.String()) 741 …outDir, srcJarDir, srcJarList android.Path, sourcepaths android.Paths) *android.RuleBuilderCommand… argument 760 cmd.FlagWithArg("-d ", outDir.String()). 767 outDir, srcJarDir, srcJarList android.Path, systemModules *systemModules, argument 770 cmd := javadocCmd(ctx, rule, srcs, outDir, srcJarDir, srcJarList, sourcepaths) [all …]
|
D | system_modules.go | 52 Command: `rm -rf ${outDir} ${workDir} && mkdir -p ${workDir}/jmod && ` + 62 `${config.JlinkCmd} --module-path ${workDir}/jmod --add-modules java.base --output ${outDir} ` + 68 `cp ${config.JrtFsJar} ${outDir}/lib/`, 88 outDir := android.PathForModuleOut(ctx, "system") 105 "outDir": outDir.String(), 109 return outDir, outputs.Paths()
|
/build/soong/shared/ |
D | paths.go | 49 func TempDirForOutDir(outDir string) (tempPath string) { 50 return filepath.Join(outDir, ".temp")
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 48 var outDir = flag.String("out", "", "path to store output directories (defaults to tmpdir under $OU… var 207 func distDir(outDir string) string { 211 return filepath.Join(outDir, "dist") 279 if *outDir != "" { 280 outputDir = *outDir 446 func cleanupAfterProduct(outDir, productZip string) { argument 451 GlobDir: outDir, 452 SourcePrefixToStrip: outDir, 464 os.RemoveAll(outDir) 469 outDir := filepath.Join(mpctx.MainOutDir, product) [all …]
|
/build/soong/cmd/soong_build/ |
D | queryview.go | 28 func createBazelWorkspace(ctx *bp2build.CodegenContext, outDir string, generateFilegroups bool) err… 29 os.RemoveAll(outDir) 44 if err := writeReadOnlyFile(outDir, f); err != nil {
|
/build/soong/android/ |
D | rule_builder_test.go | 492 outDir := PathForModuleOut(ctx, "gen") 500 out, outDep, outDir, 518 outDir := PathForOutput(ctx, "singleton/gen") 525 testRuleBuilder_Build(ctx, in, implicit, orderOnly, validation, nil, out, outDep, outDir, 532 out, outDep, outDir, manifestPath WritablePath, argument 539 rule.Sbox(outDir, manifestPath) 665 outDir := "out/soong/.intermediates/foo_sbox" 666 sboxOutDir := filepath.Join(outDir, "gen") 669 rspFile := filepath.Join(outDir, "rsp") 670 rspFile2 := filepath.Join(outDir, "rsp2") [all …]
|
D | proto.go | 130 outDir WritablePath, depFile WritablePath, outputs WritablePaths) { 142 FlagWithArg(flags.OutTypeFlag+"=", strings.Join(flags.OutParams, ",")+":"+outDir.String()).
|
/build/soong/cuj/ |
D | cuj.go | 134 outDir := os.Getenv("OUT_DIR") 135 if outDir == "" { 136 outDir = "out" 139 cujDir := filepath.Join(outDir, "cuj_tests")
|
/build/soong/rust/ |
D | protobuf.go | 79 outDir := android.PathForModuleOut(ctx) 100 grpcProtoFlags.Flags = append(grpcProtoFlags.Flags, "--grpc_out="+outDir.String()) 145 android.ProtoRule(rule, protoFile, protoFlags, protoFlags.Deps, outDir, depFile, ruleOutputs) 173 …android.ProtoRule(rule, grpcFile, grpcProtoFlags, grpcProtoFlags.Deps, outDir, depFile, ruleOutput…
|
/build/make/tools/compliance/ |
D | readgraph.go | 51 func GetFS(outDir string) fs.FS { 52 if len(outDir) > 0 { 53 return os.DirFS(outDir)
|
/build/make/tools/compliance/cmd/shippedlibs/ |
D | shippedlibs_test.go | 42 outDir string 207 ctx := context{stdout, stderr, compliance.GetFS(tt.outDir)}
|