/aosp12/build/soong/ui/build/ |
H A 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 …]
|
H A 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) {
|
H A 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,
|
H A 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 …]
|
H A D | sandbox_darwin.go | 52 outDir := absPath(c.ctx, c.config.OutDir()) 60 "-D", "OUT_DIR=" + outDir,
|
/aosp12/build/soong/python/ |
H A 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())
|
/aosp12/build/soong/java/ |
H A 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())
|
H A D | dex.go | 90 `$d8Template${config.D8Cmd} ${config.DexFlags} --output $outDir $d8Flags $in && ` + 91 …`$zipTemplate${config.SoongZipCmd} $zipFlags -o $outDir/classes.dex.jar -C $outDir -f "$outDir/cla… 92 `${config.MergeZipsCmd} -D -stripFile "**/*.class" $out $outDir/classes.dex.jar $in`, 120 `$r8Template${config.R8Cmd} ${config.DexFlags} -injars $in --output $outDir ` + 128 …`$zipTemplate${config.SoongZipCmd} $zipFlags -o $outDir/classes.dex.jar -C $outDir -f "$outDir/cla… 129 `${config.MergeZipsCmd} -D -stripFile "**/*.class" $out $outDir/classes.dex.jar $in`, 275 outDir := android.PathForModuleOut(ctx, "dex") 302 "outDir": outDir.String(), 332 "outDir": outDir.String(),
|
H A 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())
|
H A 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()) 537 FlagWithArg("-C ", outDir.String()). 538 FlagWithArg("-D ", outDir.String()) 706 cmd.FlagWithArg("-d ", outDir.String()). 713 outDir, srcJarDir, srcJarList android.Path, systemModules *systemModules, argument 764 FlagWithArg("-output ", outDir.String()) 775 outDir := android.PathForModuleOut(ctx, "out") 816 FlagWithArg("-C ", outDir.String()). [all …]
|
H A 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}`,
|
H A 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()
|
H A 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(),
|
/aosp12/build/soong/android/ |
H A D | rule_builder_test.go | 514 outDir := PathForModuleOut(ctx, "gen") 539 outDir := PathForOutput(ctx, "singleton/gen") 552 out, outDep, outDir, manifestPath WritablePath, argument 559 rule.Sbox(outDir, manifestPath) 680 outDir := "out/soong/.intermediates/foo_sbox" 683 rspFile := filepath.Join(outDir, "rsp") 684 rspFile2 := filepath.Join(outDir, "rsp2") 689 cmd := `rm -rf ` + outDir + `/gen && ` + 699 rspFile := filepath.Join(outDir, "rsp") 700 rspFile2 := filepath.Join(outDir, "rsp2") [all …]
|
H A 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()) 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()) 833 rel, isRelSboxOut, _ := maybeRelErr(r.outDir.String(), path.String()) [all …]
|
/aosp12/build/soong/cmd/multiproduct_kati/ |
H A D | main.go | 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, 447 SourcePrefixToStrip: outDir, [all …]
|
/aosp12/system/tools/aidl/build/ |
H A D | aidl_mapping.go | 29 `${aidlCmd} --apimapping ${outDir}/intermediate.txt ${in} ${imports} && ` + 30 `${aidlToJniCmd} ${outDir}/intermediate.txt ${out}`, 58 outDir := android.PathForModuleGen(ctx) 65 "outDir": outDir.String(),
|
/aosp12/system/tools/xsdc/src/com/android/xsdc/ |
H A D | Main.java | 117 String outDir = cmd.getOptionValue('o', null); in main() local 130 if (outDir == null) { in main() 131 outDir = "."; in main() 137 File packageDir = new File(Paths.get(outDir, packageName.replace(".", "/")).toString()); in main() 145 File includeDir = new File(Paths.get(outDir, "include").toString()); in main() 147 FileSystem fs = new FileSystem(new File(outDir)); in main()
|
/aosp12/build/soong/cc/ |
H A 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")
|
H A D | rs.go | 38 ${rsCmd} -o ${outDir} -d ${outDir} -a ${out} -MD -reflect-c++ ${rsFlags} $in &&
|
/aosp12/packages/modules/Gki/build/ |
H A D | raw_img_ota.go | 77 ` ${kwargs} --out ${outDir} -- ${inputArg}`, 212 outDir := android.PathForModuleGen(ctx, "payload_files") 213 r.outPayload = outDir.Join(ctx, "payload.bin") 214 r.outProperties = outDir.Join(ctx, "payload_properties.txt") 223 "outDir": outDir.String(),
|
/aosp12/frameworks/base/tools/bit/ |
H A D | make.cpp | 48 make_cache_filename(const string& outDir) in make_cache_filename() argument 50 string filename(outDir); in make_cache_filename() 66 BuildVars::BuildVars(const string& outDir, const string& buildProduct, in BuildVars() argument 78 if (outDir == "") { in BuildVars() 83 m_filename = make_cache_filename(outDir); in BuildVars()
|
/aosp12/build/soong/cuj/ |
H A D | cuj.go | 133 outDir := os.Getenv("OUT_DIR") 134 if outDir == "" { 135 outDir = "out" 138 cujDir := filepath.Join(outDir, "cuj_tests")
|
/aosp12/build/soong/shared/ |
H A D | paths.go | 49 func TempDirForOutDir(outDir string) (tempPath string) { 50 return filepath.Join(outDir, ".temp")
|
/aosp12/build/soong/rust/ |
H A 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…
|