/build/soong/filesystem/ |
D | filesystem.go | 162 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 …]
|
D | logical_partition.go | 95 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).
|
D | system_image.go | 66 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())
|
D | vbmeta.go | 121 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(). 237 …builder.Build("vbmeta_extract_public_key", fmt.Sprintf("Extract public keys for %s", ctx.ModuleNam…
|
D | bootimg.go | 131 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/ |
D | linkerconfig.go | 91 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/ |
D | build.ninja | 14 …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/ |
D | packaging.go | 220 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()))
|
D | depset_test.go | 117 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/ |
D | prebuilt_kernel_modules.go | 135 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/ |
D | KatiCommandImpl.java | 81 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/ |
D | fuzz.go | 261 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 …]
|
D | binary_sdk_member.go | 143 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…
|
D | library_sdk_member.go | 240 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/ |
D | fuzz.go | 166 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,
|
D | Android.bp | 20 "builder.go",
|
/build/soong/apex/ |
D | deapexer.go | 123 builder := android.NewRuleBuilder(pctx, ctx) 124 command := builder.Command() 134 builder.Build("deapexer", "deapex "+ctx.ModuleName())
|
D | Android.bp | 24 "builder.go",
|
D | apex_test.go | 521 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/ |
D | test_verity_utils.py | 335 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(
|
D | verity_utils.py | 712 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/ |
D | update.go | 321 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/ |
D | diff_build_graphs.sh | 101 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/ |
D | Android.bp | 16 "builder.go",
|
/build/bazel/rules/ |
D | cc_object.bzl | 7 # 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=…
|