Home
last modified time | relevance | path

Searched refs:outputFile (Results 1 – 25 of 75) sorted by relevance

123

/build/soong/android/
Dnotices.go51 ctx BuilderContext, tool, ruleName string, outputFile WritablePath,
53 depsFile := outputFile.ReplaceExtension(ctx, strings.TrimPrefix(outputFile.Ext()+".d", "."))
67 FlagWithOutput("-o ", outputFile).
87 ctx BuilderContext, outputFile WritablePath, ruleName, libraryName string,
90 outputFile, libraryName, stripPrefix, modules...)
97 ctx BuilderContext, outputFile WritablePath, ruleName, libraryName string,
100 outputFile, libraryName, stripPrefix, modules...)
107 ctx BuilderContext, outputFile WritablePath, ruleName, libraryName string,
110 outputFile, libraryName, stripPrefix, modules...)
Dtest_suites.go65 outputFile := PathForOutput(ctx, "packaging", "robolectric-tests.zip")
68 FlagWithOutput("-o ", outputFile).
71 FlagWithRspFileInputList("-r ", outputFile.ReplaceExtension(ctx, "rsp"), installedPaths.Paths())
74 return outputFile
/build/make/tools/compliance/cmd/shippedlibs/
Dshippedlibs.go66 outputFile := flags.String("o", "-", "Where to write the library list. (default stdout)")
90 if len(*outputFile) == 0 {
95 dir, err := filepath.Abs(filepath.Dir(*outputFile))
97 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
102 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
106 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
113 if *outputFile != "-" {
127 if *outputFile != "-" {
128 err := os.WriteFile(*outputFile, ofile.(*bytes.Buffer).Bytes(), 0666)
130 fmt.Fprintf(os.Stderr, "could not write output to %q: %s\n", *outputFile, err)
/build/soong/rust/
Dbuilder.go89 outputFile android.Path member
97 outputFile android.WritablePath) buildOutput {
100 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "bin")
104 outputFile android.WritablePath) buildOutput {
105 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "rlib")
109 outputFile android.WritablePath) buildOutput {
110 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "dylib")
114 outputFile android.WritablePath) buildOutput {
116 return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, "staticlib")
120 outputFile android.WritablePath) buildOutput {
[all …]
Dbinary.go134 outputFile := android.PathForModuleOut(ctx, fileName)
135 ret := outputFile
142 strippedOutputFile := outputFile
143 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
144 binary.stripper.StripExecutableOrSharedLib(ctx, outputFile, strippedOutputFile)
148 binary.baseCompiler.unstrippedOutputFile = outputFile
150 TransformSrcToBinary(ctx, srcPath, deps, flags, outputFile)
Dlibrary.go478 var outputFile, ret android.ModuleOutPath
489 outputFile = android.PathForModuleOut(ctx, fileName)
490 ret = outputFile
493 outputFile = android.PathForModuleOut(ctx, fileName)
494 ret = outputFile
497 outputFile = android.PathForModuleOut(ctx, fileName)
498 ret = outputFile
501 outputFile = android.PathForModuleOut(ctx, fileName)
502 ret = outputFile
506 strippedOutputFile := outputFile
[all …]
Dproc_macro.go75 outputFile := android.PathForModuleOut(ctx, fileName)
78 TransformSrctoProcMacro(ctx, srcPath, deps, flags, outputFile)
79 procMacro.baseCompiler.unstrippedOutputFile = outputFile
80 return outputFile
/build/soong/cc/
Dbuilder.go767 …flags builderFlags, outputFile android.ModuleOutPath, deps android.Paths, validations android.Path…
778 Description: "static link " + outputFile.Base(),
779 Output: outputFile,
792 Description: "static link " + outputFile.Base(),
793 Output: outputFile,
811 groupLate bool, flags builderFlags, outputFile android.WritablePath,
873 Description: "link " + outputFile.Base(),
874 Output: outputFile,
890 outputFile := android.PathForModuleOut(ctx, baseName+".lsdump")
924 Description: "header-abi-linker " + outputFile.Base(),
[all …]
Dbinary.go343 outputFile := android.PathForModuleOut(ctx, fileName)
344 ret := outputFile
355 fatOutputFile := outputFile
356 outputFile = android.PathForModuleOut(ctx, "pre-fat", fileName)
357 transformDarwinUniversalBinary(ctx, fatOutputFile, outputFile, deps.DarwinSecondArchOutput.Path())
366 strippedOutputFile := outputFile
367 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
368 binary.stripper.StripExecutableOrSharedLib(ctx, outputFile, strippedOutputFile, stripFlags)
371 binary.unstrippedOutputFile = outputFile
374 afterPrefixSymbols := outputFile
[all …]
Dbinary_sdk_member.go91 nativeBinaryDir, lib.outputFile.Base())
106 outputFile android.Path member
127 p.outputFile = getRequiredMemberOutputFile(ctx, ccModule)
144 if p.outputFile != nil {
147 builder.CopyToSnapshot(p.outputFile, nativeBinaryPathFor(*p))
/build/make/tools/compliance/cmd/bom/
Dbom.go103 outputFile := flags.String("o", "-", "Where to write the bill of materials. (default stdout)")
114 if len(*outputFile) == 0 {
119 dir, err := filepath.Abs(filepath.Dir(*outputFile))
121 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
126 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
130 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
137 if *outputFile != "-" {
151 if *outputFile != "-" {
152 err := os.WriteFile(*outputFile, ofile.(*bytes.Buffer).Bytes(), 0666)
154 fmt.Fprintf(os.Stderr, "could not write output to %q: %s\n", *outputFile, err)
/build/make/tools/compliance/cmd/textnotice/
Dtextnotice.go112 outputFile := flags.String("o", "-", "Where to write the NOTICE text file. (default stdout)")
126 if len(*outputFile) == 0 {
131 dir, err := filepath.Abs(filepath.Dir(*outputFile))
133 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
138 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
142 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
151 if *outputFile != "-" {
155 if strings.HasSuffix(*outputFile, ".gz") {
176 if *outputFile != "-" {
177 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
[all …]
/build/make/tools/compliance/cmd/listshare/
Dlistshare.go73outputFile := flags.String("o", "-", "Where to write the list of projects to share. (default stdou…
83 if len(*outputFile) == 0 {
88 dir, err := filepath.Abs(filepath.Dir(*outputFile))
90 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
95 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
99 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
107 if *outputFile != "-" {
120 if *outputFile != "-" {
121 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
123 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
/build/make/tools/compliance/cmd/xmlnotice/
Dxmlnotice.go114outputFile := flags.String("o", "-", "Where to write the NOTICE xml or xml.gz file. (default stdou…
128 if len(*outputFile) == 0 {
133 dir, err := filepath.Abs(filepath.Dir(*outputFile))
135 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
140 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
144 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
153 if *outputFile != "-" {
157 if strings.HasSuffix(*outputFile, ".gz") {
178 if *outputFile != "-" {
179 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
[all …]
/build/make/tools/compliance/cmd/checkshare/
Dcheckshare.go89 outputFile := flags.String("o", "-", "Where to write the output. (default stdout)")
99 if len(*outputFile) == 0 {
104 dir, err := filepath.Abs(filepath.Dir(*outputFile))
106 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
111 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
115 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
123 if *outputFile != "-" {
138 if *outputFile != "-" {
139 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
141 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
/build/make/tools/compliance/cmd/htmlnotice/
Dhtmlnotice.go115 outputFile := flags.String("o", "-", "Where to write the NOTICE text file. (default stdout)")
130 if len(*outputFile) == 0 {
135 dir, err := filepath.Abs(filepath.Dir(*outputFile))
137 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
142 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
146 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
155 if *outputFile != "-" {
159 if strings.HasSuffix(*outputFile, ".gz") {
180 if *outputFile != "-" {
181 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
[all …]
/build/soong/java/
Dbuilder.go285 func TransformJavaToClasses(ctx android.ModuleContext, outputFile android.WritablePath, shardIdx in…
294 transformJavaToClasses(ctx, outputFile, shardIdx, srcFiles, srcJars, flags, deps, "javac", desc)
386 func TransformJavaToHeaderClasses(ctx android.ModuleContext, outputFile android.WritablePath,
399 "outputFlags": "--output " + outputFile.String() + ".tmp",
400 "outputs": outputFile.String(),
405 args["rbeOutputs"] = outputFile.String() + ".tmp"
410 Output: outputFile,
467 func transformJavaToClasses(ctx android.ModuleContext, outputFile android.WritablePath,
517 Output: outputFile,
535 func TransformResourcesToJar(ctx android.ModuleContext, outputFile android.WritablePath,
[all …]
Ddevice_host_converter.go117 outputFile := android.PathForModuleOut(ctx, "combined", jarName)
118 TransformJarsToJar(ctx, outputFile, "combine", d.implementationAndResourceJars,
120 d.combinedImplementationJar = outputFile
126 outputFile := android.PathForModuleOut(ctx, "turbine-combined", jarName)
127 TransformJarsToJar(ctx, outputFile, "turbine combine", d.headerJars,
129 d.combinedHeaderJar = outputFile
181 func(w io.Writer, outputFile android.Path) {
Dapp_builder.go54 func CreateAndSignAppPackage(ctx android.ModuleContext, outputFile android.WritablePath,
57 unsignedApkName := strings.TrimSuffix(outputFile.Base(), ".apk") + "-unsigned.apk"
76 …SignAppPackage(ctx, outputFile, unsignedApk, certificates, v4SignatureFile, lineageFile, rotationM…
135 func BuildAAR(ctx android.ModuleContext, outputFile android.WritablePath,
151 Output: outputFile,
181 func BuildBundleModule(ctx android.ModuleContext, outputFile android.WritablePath,
220 Output: outputFile,
225 func TransformJniLibsToJar(ctx android.ModuleContext, outputFile android.WritablePath,
255 Output: outputFile,
268 Input(a.Library.Module.outputFile)
Drobolectric.go155 r.resourceApk = instrumentedApp.outputFile
174 r.outputFile,
186 r.combinedJar = android.PathForModuleOut(ctx, "robolectric_combined", r.outputFile.Base())
228 func generateRoboTestConfig(ctx android.ModuleContext, outputFile android.WritablePath,
233 resourceApk := instrumentedApp.outputFile
235 rule.Command().Text("rm -f").Output(outputFile)
237 Textf(`echo "android_merged_manifest=%s" >>`, manifest.String()).Output(outputFile).Text("&&").
238 Textf(`echo "android_resource_apk=%s" >>`, resourceApk.String()).Output(outputFile).
247 func generateSameDirRoboTestConfigJar(ctx android.ModuleContext, outputFile android.ModuleOutPath) {
250 outputDir := outputFile.InSameDir(ctx)
[all …]
/build/soong/tradefed/suite_harness/
Dtradefed_binary.go130 outputFile := android.PathForModuleOut(ctx, "test-suite-info.properties")
133 Output: outputFile,
144 tfg.gen = append(tfg.gen, outputFile)
148outputFile := android.PathForModuleOut(ctx, strings.TrimSuffix(ctx.ModuleName(), genSuffix)+".dyna…
152 Output: outputFile,
155 tfg.gen = append(tfg.gen, outputFile)
/build/make/tools/compliance/cmd/rtrace/
Drtrace.go113 outputFile := flags.String("o", "-", "Where to write the output. (default stdout)")
131 if len(*outputFile) == 0 {
136 dir, err := filepath.Abs(filepath.Dir(*outputFile))
138 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
143 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
147 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
155 if *outputFile != "-" {
172 if *outputFile != "-" {
173 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
175 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
/build/make/tools/compliance/cmd/dumpgraph/
Ddumpgraph.go112 outputFile := flags.String("o", "-", "Where to write the output. (default stdout)")
123 if len(*outputFile) == 0 {
128 dir, err := filepath.Abs(filepath.Dir(*outputFile))
130 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
135 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
139 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
147 if *outputFile != "-" {
162 if *outputFile != "-" {
163 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
165 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
/build/make/tools/compliance/cmd/dumpresolutions/
Ddumpresolutions.go117 outputFile := flags.String("o", "-", "Where to write the output. (default stdout)")
128 if len(*outputFile) == 0 {
133 dir, err := filepath.Abs(filepath.Dir(*outputFile))
135 fmt.Fprintf(os.Stderr, "cannot determine path to %q: %s\n", *outputFile, err)
140 fmt.Fprintf(os.Stderr, "cannot read directory %q of %q: %s\n", dir, *outputFile, err)
144 fmt.Fprintf(os.Stderr, "parent %q of %q is not a directory\n", dir, *outputFile)
152 if *outputFile != "-" {
175 if *outputFile != "-" {
176 err := os.WriteFile(*outputFile, obuf.Bytes(), 0666)
178 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go30 outputFile = flag.String("o", "", "output file") var
54 if *outputFile == "" || *inputFile == "" {
87 must(ioutil.WriteFile(*outputFile, data, 0666))

123