Home
last modified time | relevance | path

Searched refs:outDir (Results 1 – 25 of 33) sorted by relevance

12

/build/soong/python/
Dproto.go24 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/
Dupload_test.go104 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 …]
Dtest_build.go66 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) {
Dsandbox_linux.go59 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,
Dsandbox_darwin.go52 outDir := absPath(c.ctx, c.config.OutDir())
60 "-D", "OUT_DIR=" + outDir,
Dconfig.go139 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 …]
Dbuild.go122 outDir := config.OutDir()
123 lowerCase := filepath.Join(outDir, "casecheck.txt")
124 upperCase := filepath.Join(outDir, "CaseCheck.txt")
/build/soong/java/
Dproto.go35 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())
Dgen.go58 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())
Ddex.go95 `$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(),
Dapp_builder.go122 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}`,
Ddroiddoc.go508 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())
686outDir, 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 …]
Dsystem_modules.go51 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()
Dbuilder.go52 `-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/
Dmain.go45 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/
Drule_builder_test.go514 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 …]
Drule_builder.go54 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 …]
Dproto.go126 outDir WritablePath, depFile WritablePath, outputs WritablePaths) {
138 FlagWithArg(flags.OutTypeFlag+"=", strings.Join(flags.OutParams, ",")+":"+outDir.String()).
/build/soong/cc/
Drs.go38 ${rsCmd} -o ${outDir} -d ${outDir} -a ${out} -MD -reflect-c++ ${rsFlags} $in &&
Dgen.go71 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")
Dproto.go49 outDir := flags.proto.Dir
55 android.ProtoRule(rule, protoFile, flags.proto, protoDeps, outDir, depFile, outputs)
/build/soong/shared/
Dpaths.go49 func TempDirForOutDir(outDir string) (tempPath string) {
50 return filepath.Join(outDir, ".temp")
/build/soong/cuj/
Dcuj.go133 outDir := os.Getenv("OUT_DIR")
134 if outDir == "" {
135 outDir = "out"
138 cujDir := filepath.Join(outDir, "cuj_tests")
/build/soong/rust/
Dprotobuf.go73 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/
Dmain.go37 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)

12