/build/soong/python/ |
D | proto.go | 24 outDir := srcsZipFile.ReplaceExtension(ctx, "tmp") 29 rule.Command().Text("rm -rf").Flag(outDir.String()) 30 rule.Command().Text("mkdir -p").Flag(outDir.String()) 32 android.ProtoRule(rule, protoFile, flags, flags.Deps, outDir, depFile, nil) 42 zipCmd.FlagWithArg("-C ", outDir.String()). 43 FlagWithArg("-D ", outDir.String()) 45 rule.Command().Text("rm -rf").Flag(outDir.String())
|
/build/soong/ui/build/ |
D | upload_test.go | 104 outDir, err := ioutil.TempDir("", "") 106 t.Fatalf("failed to create out directory: %v", outDir) 108 defer os.RemoveAll(outDir) 113 retDir := filepath.Join(outDir, "tmp_upload_dir") 121 metricsUploadDir := filepath.Join(outDir, ".metrics_uploader") 129 filename := filepath.Join(outDir, f) 139 "OUT_DIR=" + outDir, 176 outDir, err := ioutil.TempDir("", "") 178 t.Fatalf("failed to create out directory: %v", outDir) 180 defer os.RemoveAll(outDir) [all …]
|
D | test_build.go | 66 outDir := config.OutDir() 67 bootstrapDir := filepath.Join(outDir, "soong", ".bootstrap") 68 miniBootstrapDir := filepath.Join(outDir, "soong", ".minibootstrap") 69 modulePathsDir := filepath.Join(outDir, ".module_paths") 70 variablesFilePath := filepath.Join(outDir, "soong", "soong.variables") 77 dexpreoptConfigFilePath := filepath.Join(outDir, "soong", "dexpreopt.config") 80 buildDatetimeFilePath := filepath.Join(outDir, "build_date.txt") 87 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) 102 "-B", sandboxConfig.outDir, 191 "-B", sandboxConfig.outDir,
|
D | sandbox_darwin.go | 52 outDir := absPath(c.ctx, c.config.OutDir()) 60 "-D", "OUT_DIR=" + outDir,
|
D | config.go | 139 if outDir, ok := ret.environ.Get("OUT_DIR"); ok { 140 ret.environ.Set("OUT_DIR", filepath.Clean(outDir)) 142 outDir := "out" 147 outDir = filepath.Join(baseDir, filepath.Base(wd)) 150 ret.environ.Set("OUT_DIR", outDir) 239 if outDir := ret.OutDir(); strings.ContainsRune(outDir, ' ') { 242 ctx.Printf("%q\n", outDir) 285 outDir := ret.OutDir() 286 buildDateTimeFile := filepath.Join(outDir, "build_date.txt") 731 if outDir, ok := c.environ.Get("OUT_DIR"); ok { [all …]
|
D | build.go | 122 outDir := config.OutDir() 123 lowerCase := filepath.Join(outDir, "casecheck.txt") 124 upperCase := filepath.Join(outDir, "CaseCheck.txt")
|
/build/soong/java/ |
D | proto.go | 35 outDir := srcJarFile.ReplaceExtension(ctx, "tmp") 39 rule.Command().Text("rm -rf").Flag(outDir.String()) 40 rule.Command().Text("mkdir -p").Flag(outDir.String()) 45 android.ProtoRule(rule, protoFile, flags, flags.Deps, outDir, depFile, nil) 55 FlagWithArg("-C ", outDir.String()). 56 FlagWithArg("-D ", outDir.String()) 58 rule.Command().Text("rm -rf").Flag(outDir.String())
|
D | gen.go | 58 outDir := srcJarFile.ReplaceExtension(ctx, "tmp") 62 rule.Command().Text("rm -rf").Flag(outDir.String()) 63 rule.Command().Text("mkdir -p").Flag(outDir.String()) 68 javaFile := outDir.Join(ctx, pathtools.ReplaceExtension(aidlFile.String(), "java")) 84 FlagWithArg("-C ", outDir.String()). 85 FlagWithArg("-D ", outDir.String()) 87 rule.Command().Text("rm -rf").Flag(outDir.String())
|
D | dex.go | 95 `$d8Template${config.D8Cmd} ${config.DexFlags} --output $outDir $d8Flags $in && ` + 96 …`$zipTemplate${config.SoongZipCmd} $zipFlags -o $outDir/classes.dex.jar -C $outDir -f "$outDir/cla… 97 `${config.MergeZipsCmd} -D -stripFile "**/*.class" $out $outDir/classes.dex.jar $in`, 128 `com.android.tools.r8.compatproguard.CompatProguard -injars $in --output $outDir ` + 136 …`$zipTemplate${config.SoongZipCmd} $zipFlags -o $outDir/classes.dex.jar -C $outDir -f "$outDir/cla… 137 `${config.MergeZipsCmd} -D -stripFile "**/*.class" $out $outDir/classes.dex.jar $in`, 284 outDir := android.PathForModuleOut(ctx, "dex") 311 "outDir": outDir.String(), 341 "outDir": outDir.String(),
|
D | app_builder.go | 122 Command: `rm -rf ${outDir} && mkdir -p ${outDir} && ` + 123 `cp ${manifest} ${outDir}/AndroidManifest.xml && ` + 124 `cp ${classesJar} ${outDir}/classes.jar && ` + 125 `cp ${rTxt} ${outDir}/R.txt && ` + 126 `${config.SoongZipCmd} -jar -o $out -C ${outDir} -D ${outDir}`,
|
D | droiddoc.go | 508 outDir := android.PathForModuleOut(ctx, "out") 515 rule.Command().Text("rm -rf").Text(outDir.String()) 516 rule.Command().Text("mkdir -p").Text(outDir.String()) 522 cmd := javadocSystemModulesCmd(ctx, rule, j.srcFiles, outDir, srcJarDir, srcJarList, 537 FlagWithArg("-C ", outDir.String()). 538 FlagWithArg("-D ", outDir.String()) 686 …outDir, srcJarDir, srcJarList android.Path, sourcepaths android.Paths) *android.RuleBuilderCommand… argument 706 cmd.FlagWithArg("-d ", outDir.String()). 713 outDir, srcJarDir, srcJarList android.Path, systemModules *systemModules, argument 716 cmd := javadocCmd(ctx, rule, srcs, outDir, srcJarDir, srcJarList, sourcepaths) [all …]
|
D | system_modules.go | 51 Command: `rm -rf ${outDir} ${workDir} && mkdir -p ${workDir}/jmod && ` + 60 `${config.JlinkCmd} --module-path ${workDir}/jmod --add-modules java.base --output ${outDir} ` + 65 `cp ${config.JrtFsJar} ${outDir}/lib/`, 85 outDir := android.PathForModuleOut(ctx, "system") 102 "outDir": outDir.String(), 106 return outDir, outputs.Paths()
|
D | builder.go | 52 `-d $outDir -s $annoDir @$out.rsp @$srcJarDir/list ; fi ) && ` + 53 `$zipTemplate${config.SoongZipCmd} -jar -o $out -C $outDir -D $outDir && ` + 105 `-d $outDir -s $annoDir @$out.rsp @$srcJarDir/list)`, 455 outDir := "classes" 460 outDir = filepath.Join(shardDir, outDir) 481 "outDir": android.PathForModuleOut(ctx, intermediatesDir, outDir).String(),
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 45 var outDir = flag.String("out", "", "path to store output directories (defaults to tmpdir under $OU… var 211 if *outDir == "" { 217 *outDir = filepath.Join(config.OutDir(), name) 226 if err := os.MkdirAll(*outDir, 0777); err != nil { 230 config.Environment().Set("OUT_DIR", *outDir) 231 log.Println("Output directory:", *outDir) 386 outDir := filepath.Join(mpctx.Config.OutDir(), product) 389 if err := os.MkdirAll(outDir, 0777); err != nil { 434 config.Environment().Set("OUT_DIR", outDir) 446 GlobDir: outDir, [all …]
|
/build/soong/android/ |
D | rule_builder_test.go | 514 outDir := PathForModuleOut(ctx, "gen") 521 testRuleBuilder_Build(ctx, in, implicit, orderOnly, validation, out, outDep, outDir, 539 outDir := PathForOutput(ctx, "singleton/gen") 546 testRuleBuilder_Build(ctx, in, implicit, orderOnly, validation, out, outDep, outDir, 552 out, outDep, outDir, manifestPath WritablePath, argument 559 rule.Sbox(outDir, manifestPath) 680 outDir := "out/soong/.intermediates/foo_sbox" 681 outFile := filepath.Join(outDir, "gen/foo_sbox") 682 depFile := filepath.Join(outDir, "gen/foo_sbox.d") 683 rspFile := filepath.Join(outDir, "rsp") [all …]
|
D | rule_builder.go | 54 outDir WritablePath member 156 r.outDir = outputDir 506 Rel(r.ctx, r.outDir.String(), path.String()) 578 From: proto.String(r.outDir.String()), 596 rel := Rel(r.ctx, r.outDir.String(), output.String()) 607 Rel(r.ctx, r.outDir.String(), path.String()) 617 _, manifestInOutDir := MaybeRel(r.ctx, r.outDir.String(), r.sboxManifestPath.String()) 620 name, r.sboxManifestPath.String(), r.outDir.String()) 634 sboxCmd.Text("rm -rf").Output(r.outDir) 814 rel, _, _ := maybeRelErr(c.rule.outDir.String(), path.String()) [all …]
|
D | proto.go | 126 outDir WritablePath, depFile WritablePath, outputs WritablePaths) { 138 FlagWithArg(flags.OutTypeFlag+"=", strings.Join(flags.OutParams, ",")+":"+outDir.String()).
|
/build/soong/cc/ |
D | rs.go | 38 ${rsCmd} -o ${outDir} -d ${outDir} -a ${out} -MD -reflect-c++ ${rsFlags} $in &&
|
D | gen.go | 71 outDir := android.PathForModuleGen(ctx, "yacc") 80 sboxOutDir := cmd.PathForOutput(outDir) 81 sedCmd := "sed -i.bak 's#" + sboxOutDir + "#" + outDir.String() + "#'" 126 outDir := android.PathForModuleGen(ctx, "aidl") 127 cppFile = outDir.Join(ctx, aidlPackage, baseName+".cpp") 128 depFile := outDir.Join(ctx, aidlPackage, baseName+".cpp.d") 129 headerI := outDir.Join(ctx, aidlPackage, baseName+".h") 130 headerBn := outDir.Join(ctx, aidlPackage, "Bn"+shortName+".h") 131 headerBp := outDir.Join(ctx, aidlPackage, "Bp"+shortName+".h")
|
D | proto.go | 49 outDir := flags.proto.Dir 55 android.ProtoRule(rule, protoFile, flags.proto, protoDeps, outDir, depFile, outputs)
|
/build/soong/shared/ |
D | paths.go | 49 func TempDirForOutDir(outDir string) (tempPath string) { 50 return filepath.Join(outDir, ".temp")
|
/build/soong/cuj/ |
D | cuj.go | 133 outDir := os.Getenv("OUT_DIR") 134 if outDir == "" { 135 outDir = "out" 138 cujDir := filepath.Join(outDir, "cuj_tests")
|
/build/soong/rust/ |
D | protobuf.go | 73 outDir := android.PathForModuleOut(ctx) 93 grpcProtoFlags.Flags = append(grpcProtoFlags.Flags, "--grpc_out="+outDir.String()) 137 android.ProtoRule(rule, protoFile, protoFlags, protoFlags.Deps, outDir, depFile, ruleOutputs) 152 …android.ProtoRule(rule, grpcFile, grpcProtoFlags, grpcProtoFlags.Deps, outDir, depFile, ruleOutput…
|
/build/soong/cmd/soong_build/ |
D | main.go | 37 outDir string var 52 flag.StringVar(&outDir, "out", "", "Soong output directory (usually $TOP/out/soong)") 93 func newConfig(srcDir, outDir string, availableEnv map[string]string) android.Config { 94 …configuration, err := android.NewConfig(srcDir, outDir, bootstrap.CmdlineArgs.ModuleListFile, avai… 262 configuration := newConfig(srcDir, outDir, availableEnv)
|