Home
last modified time | relevance | path

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

12

/build/soong/filesystem/
Dfilesystem.go162 builder := android.NewRuleBuilder(pctx, ctx)
163 builder.Command().Text("rm -rf").Text(rootDir.String())
164 builder.Command().Text("mkdir -p").Text(rootDir.String())
169 builder.Command().Text("mkdir -p").Text(rootDir.Join(ctx, dir).String())
189 builder.Command().Text("mkdir -p").Text(filepath.Dir(dst.String()))
190 builder.Command().Text("ln -sf").Text(proptools.ShellEscape(target)).Text(dst.String())
208 zipCommand := builder.Command().BuiltTool("soong_zip")
221 builder.Command().Text("rm -rf").Text(rootDir.String())
223 builder.Build("zip_root", fmt.Sprintf("zipping root contents for %s", ctx.ModuleName()))
231 builder := android.NewRuleBuilder(pctx, ctx)
[all …]
Dlogical_partition.go95 builder := android.NewRuleBuilder(pctx, ctx)
103 sparseImg, sizeTxt := sparseFilesystem(ctx, part, builder)
116 cmd := builder.Command().BuiltTool("lpmake")
184 builder.Build("build_logical_partition", fmt.Sprintf("Creating %s", l.BaseModuleName()))
192 func sparseFilesystem(ctx android.ModuleContext, p partitionProperties, builder *android.RuleBuilde…
197 builder.Temporary(sparseImg)
198 builder.Command().BuiltTool("img2simg").Input(img).Output(sparseImg)
201 builder.Temporary(sizeTxt)
202 builder.Command().BuiltTool("sparse_img").Flag("--get_partition_size").Input(sparseImg).
Dsystem_image.go66 builder := android.NewRuleBuilder(pctx, ctx)
67 linkerconfig.BuildLinkerConfig(ctx, builder, input, otherModules, output)
68 builder.Build("conv_linker_config", "Generate linker config protobuf "+output.String())
Dvbmeta.go121 builder := android.NewRuleBuilder(pctx, ctx)
122 cmd := builder.Command().BuiltTool("avbtool").Text("make_vbmeta_image")
181 builder.Command().Text("truncate").
185 builder.Build("vbmeta", fmt.Sprintf("vbmeta %s", ctx.ModuleName()))
209 builder := android.NewRuleBuilder(pctx, ctx)
229 builder.Command().
237builder.Build("vbmeta_extract_public_key", fmt.Sprintf("Extract public keys for %s", ctx.ModuleNam…
Dbootimg.go131 builder := android.NewRuleBuilder(pctx, ctx)
132 cmd := builder.Command().BuiltTool("mkbootimg")
216 builder.Build("build_bootimg", fmt.Sprintf("Creating %s", b.BaseModuleName()))
224 builder := android.NewRuleBuilder(pctx, ctx)
225 builder.Command().Text("cp").Input(unsignedImage).Output(output)
226 builder.Command().BuiltTool("verity_utils").
231 builder.Build("sign_bootimg", fmt.Sprintf("Signing %s", b.BaseModuleName()))
/build/soong/linkerconfig/
Dlinkerconfig.go91 builder := android.NewRuleBuilder(pctx, ctx)
92 BuildLinkerConfig(ctx, builder, input, nil, output)
93 builder.Build("conv_linker_config", "Generate linker config protobuf "+output.String())
103 func BuildLinkerConfig(ctx android.ModuleContext, builder *android.RuleBuilder,
108 builder.Command().
126 builder.Command().
135 builder.Command().Text("cp").Input(interimOutput).Output(output)
137 builder.Temporary(interimOutput)
138 builder.DeleteTemporaryFiles()
/build/blueprint/bootstrap/
Dbuild.ninja14 …command = ${builder} ${extraArgs} -b ${bootstrapBuildDir} -n ${builddir} -d ${out}.d -globFile ${m…
17 description = ${builder} ${out}
21 build ${bootstrapNinja}: build.ninja ${topFile} | ${builder}
22 builder = ${bootstrapBuildDir}/.minibootstrap/minibp
/build/soong/android/
Dpackaging.go220 builder := NewRuleBuilder(pctx, ctx)
223 builder.Command().Text("rm").Flag("-rf").Text(dir.String())
224 builder.Command().Text("mkdir").Flag("-p").Text(dir.String())
234 builder.Command().Text("mkdir").Flag("-p").Text(destDir)
237 builder.Command().Text("cp").Input(ps.srcPath).Text(destPath)
239 builder.Command().Text("ln").Flag("-sf").Text(ps.symlinkTarget).Text(destPath)
242 builder.Command().Text("chmod").Flag("a+x").Text(destPath)
246 builder.Command().
252 builder.Command().Text("rm").Flag("-rf").Text(dir.String())
254 builder.Build("zip_deps", fmt.Sprintf("Zipping deps for %s", ctx.ModuleName()))
Ddepset_test.go117 builder := NewDepSetBuilder(order)
118 assertEquals(t, nil, builder.Build().ToList())
120 builder.Direct(b)
121 assertEquals(t, Paths{b}, builder.Build().ToList())
123 builder.Direct(d)
124 assertEquals(t, Paths{b, d}, builder.Build().ToList())
127 builder.Transitive(child)
128 return builder.Build()
148 builder := NewDepSetBuilder(order)
151 builder.Direct(b)
[all …]
/build/soong/kernel/
Dprebuilt_kernel_modules.go135 builder := android.NewRuleBuilder(pctx, ctx)
138 builder.Command().Text("rm").Flag("-rf").Text(modulesDir.String())
139 builder.Command().Text("mkdir").Flag("-p").Text(modulesDir.String())
141 builder.Command().Text("cp").Input(m).Text(modulesDir.String())
150 builder.Command().
159 builder.Command().
167 builder.Build("depmod", fmt.Sprintf("depmod %s", ctx.ModuleName()))
/build/make/tools/product_config/src/com/android/build/config/
DKatiCommandImpl.java81 final ProcessBuilder builder = new ProcessBuilder(cmd); in run() local
82 builder.redirectOutput(ProcessBuilder.Redirect.PIPE); in run()
83 builder.redirectError(ProcessBuilder.Redirect.PIPE); in run()
88 process = builder.start(); in run()
/build/soong/cc/
Dfuzz.go261 builder := android.NewRuleBuilder(pctx, ctx)
264 builder.Command().Text("cp").
268 builder.Build("copy_corpus", "copy corpus")
272 builder = android.NewRuleBuilder(pctx, ctx)
275 builder.Command().Text("cp").
279 builder.Build("copy_data", "copy data")
434 builder := android.NewRuleBuilder(pctx, ctx)
439 command := builder.Command().BuiltTool("soong_zip").
450 command := builder.Command().BuiltTool("soong_zip").
508 command := builder.Command().BuiltTool("soong_zip").
[all …]
Dbinary_sdk_member.go143 builder := ctx.SnapshotBuilder()
147 builder.CopyToSnapshot(p.outputFile, nativeBinaryPathFor(*p))
151 …propertySet.AddPropertyWithTag("shared_libs", p.SharedLibs, builder.SdkMemberReferencePropertyTag(…
157 …propertySet.AddPropertyWithTag("system_shared_libs", p.SystemSharedLibs, builder.SdkMemberReferenc…
Dlibrary_sdk_member.go240 func addPossiblyArchSpecificProperties(sdkModuleContext android.ModuleContext, builder android.Snap…
247 builder.CopyToSnapshot(libInfo.outputFile, nativeLibraryPath)
252 …outputProperties.AddPropertyWithTag("shared_libs", libInfo.SharedLibs, builder.SdkMemberReferenceP…
258 …outputProperties.AddPropertyWithTag("system_shared_libs", libInfo.SystemSharedLibs, builder.SdkMem…
303 builder.CopyToSnapshot(src, dest)
307 builder.CopyToSnapshot(path, snapshotRelativePath)
/build/soong/rust/
Dfuzz.go166 builder := android.NewRuleBuilder(pctx, ctx)
171 command := builder.Command().BuiltTool("soong_zip").
182 command := builder.Command().BuiltTool("soong_zip").
207 command := builder.Command().BuiltTool("soong_zip").
220 builder.Build("create-"+fuzzZip.String(),
247 builder := android.NewRuleBuilder(pctx, ctx)
251 command := builder.Command().BuiltTool("soong_zip").
264 builder.Build("create-fuzz-package-"+arch+"-"+hostOrTarget,
DAndroid.bp20 "builder.go",
/build/soong/apex/
Ddeapexer.go123 builder := android.NewRuleBuilder(pctx, ctx)
124 command := builder.Command()
134 builder.Build("deapexer", "deapex "+ctx.ModuleName())
DAndroid.bp24 "builder.go",
Dapex_test.go521 var builder strings.Builder
522 data.Custom(&builder, ab.BaseModuleName(), "TARGET_", "", data)
524 androidMk := builder.String()
2409 var builder strings.Builder
2410 data.Custom(&builder, name, prefix, "", data)
2411 androidMk := android.StringRelativeToTop(ctx.Config(), builder.String())
2573 var builder strings.Builder
2574 data.Custom(&builder, name, prefix, "", data)
2575 androidMk := builder.String()
2602 var builder strings.Builder
[all …]
/build/make/tools/releasetools/
Dtest_verity_utils.py335 builder = CreateVerityImageBuilder(prop_dict)
336 self.assertEqual(2, builder.version)
337 return image_sizes, builder
341 image_sizes, builder = self._test_CalculateMinPartitionSize_SetUp()
347 builder.CalculateMinPartitionSize(
358 image_sizes, builder = self._test_CalculateMinPartitionSize_SetUp()
360 min_partition_size = builder.CalculateMinPartitionSize(
380 image_sizes, builder = self._test_CalculateMinPartitionSize_SetUp()
382 min_partition_size = builder.CalculateMinPartitionSize(
Dverity_utils.py712 builder = None
714 builder = VerifiedBootVersion2VerityImageBuilder(
726 return builder
786 builder = CreateVerityImageBuilder(prop_dict)
792 size = builder.CalculateDynamicPartitionSize(image_size)
795 builder.Build(out_file)
/build/soong/sdk/
Dupdate.go321 builder := &snapshotBuilder{
333 s.builderForTests = builder
359 memberCtx := &memberContext{ctx, builder, memberType, member.name}
366 unversionedToVersionedTransformer := unversionedToVersionedTransformation{builder: builder}
371 builder: builder,
374 for _, unversioned := range builder.prebuiltOrder {
396 s.addSnapshotModule(ctx, builder, sdkVariants, memberVariantDeps)
408 filesToZip := builder.filesToZip
420 if len(builder.zipsToMerge) == 0 {
435 "basedir": builder.snapshotDir.String(),
[all …]
/build/soong/scripts/
Ddiff_build_graphs.sh101 builder="$(echo $OUT_DIR/soong/host/*/bin/multiproduct_kati)"
102 BUILD_NUMBER=sample "$builder" $PRODUCTS_ARG --keep --out "$OUT_DIR_TEMP" || true
/build/soong/python/
DAndroid.bp16 "builder.go",
/build/bazel/rules/
Dcc_object.bzl7 # partialLd module link opts, taken from build/soong/cc/builder.go
8 # https://cs.android.com/android/platform/superproject/+/master:build/soong/cc/builder.go;l=87;drc=…

12