Home
last modified time | relevance | path

Searched refs:Command (Results 1 – 25 of 105) sorted by relevance

12345

/build/soong/android/
Ddefs.go33 Command: "# phony $out",
42 Command: "# generated $out",
50 Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out",
57 Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out && chmod +x $out",
65 Command: "touch $out",
72 Command: "ln -f -s $fromPath $out",
79 Command: `echo "$error" && false`,
86 Command: "cat $in > $out",
95 Command: "/bin/bash -c 'echo -e $$0 > $out' '$content'",
Drule_builder_test.go49 rule.Command().
53 rule.Command().Text("echo success")
75 rule.Command().
79 rule.Command().
102 rule.Command().
106 rule.Command().
132 rule.Command().
151 rule.Command().
157 cmd := rule.Command()
163 cmd = rule.Command().Tool(PathForSource(ctx, "ld"))
[all …]
/build/soong/remoteexec/
Dremoteexec.go174 ruleParams.Command = strings.ReplaceAll(ruleParams.Command, "$reTemplate", "")
175 ruleParamsRE.Command = strings.ReplaceAll(ruleParamsRE.Command, "$reTemplate", reParams.Template())
189 ruleParams.Command = strings.ReplaceAll(ruleParams.Command, k, "")
190 ruleParamsRE.Command = strings.ReplaceAll(ruleParamsRE.Command, k, v.Template())
/build/soong/python/
Dproto.go29 rule.Command().Text("rm -rf").Flag(outDir.String())
30 rule.Command().Text("mkdir -p").Flag(outDir.String())
36 zipCmd := rule.Command().
45 rule.Command().Text("rm -rf").Flag(outDir.String())
Dbuilder.go33 Command: `$parCmd -o $out $args`,
40 Command: `$mergeParCmd $out $in`,
47 Command: `sed -e 's/%interpreter%/$interp/g' -e 's/%main%/$main/g' $template > $stub && ` +
57 Command: `rm -f $out.main && ` +
67 Command: `$mergeParCmd -p --prefix $launcher $out $srcsZips && ` +
/build/soong/java/
Dgen.go36 Command: "$logtagsCmd -o $out $in",
42 Command: "$mergeLogtagsCmd -o $out $in",
62 rule.Command().Text("rm -rf").Flag(outDir.String())
63 rule.Command().Text("mkdir -p").Flag(outDir.String())
64 rule.Command().Text("FLAGS=' " + aidlFlags + "'")
69 rule.Command().
79 rule.Command().
90 rule.Command().Text("rm -rf").Flag(outDir.String())
Dproto.go39 rule.Command().Text("rm -rf").Flag(outDir.String())
40 rule.Command().Text("mkdir -p").Flag(outDir.String())
44 rule.Command().Text("mkdir -p").Flag(filepath.Dir(depFile.String()))
50 rule.Command().
58 rule.Command().Text("rm -rf").Flag(outDir.String())
Ddroiddoc.go712 rule.Command().Text("rm -rf").Text(outDir.String())
713 rule.Command().Text("mkdir -p").Text(outDir.String())
727 rule.Command().
911 rule.Command().Text("cp").
918 rule.Command().Text("cp").
927 cmd := rule.Command().
996 return rule.Command().
1023 rule.Command().Text("rm -rf").Text(outDir.String()).Text(stubsDir.String())
1024 rule.Command().Text("mkdir -p").Text(outDir.String()).Text(stubsDir.String())
1059 rule.Command().
[all …]
Daapt2.go58 Command: `${config.Aapt2Cmd} compile -o $outDir $cFlags $in`,
99 Command: `${config.ZipSyncCmd} -d $resZipDir $zipSyncFlags $in && ` +
128 Command: `rm -rf $genDir && ` +
145 Command: `cp $out.rsp $out`,
152 Command: `${config.MergeZipsCmd} ${out} ${in}`,
229 Command: `${config.Aapt2Cmd} convert --output-format proto $in -o $out`,
Dapp_builder.go35Command: `$reTemplate${config.JavaCmd} ${config.JavaVmFlags} -Djava.library.path=$$(dirname ${conf…
50 Command: `${config.MergeZipsCmd} $out $in`,
117 Command: `rm -rf ${outDir} && mkdir -p ${outDir} && ` +
154 Command: `${config.MergeZipsCmd} ${out} ${in}`,
160Command: `${config.Zip2ZipCmd} -i ${in} -o ${out} AndroidManifest.xml:manifest/AndroidManifest…
166 Command: `${config.Zip2ZipCmd} -i ${in} -o ${out} "classes*.dex:dex/" && ` +
Dhiddenapi_singleton.go195 rule.Command().
246 rule.Command().
279 rule.Command().Text("rm").Flag("-f").Output(outputPath)
280 rule.Command().Text("touch").Output(outputPath)
304 rule.Command().
320 rule.Command().
401 rule.Command().
Dbuilder.go45Command: `rm -rf "$outDir" "$annoDir" "$srcJarDir" && mkdir -p "$outDir" "$annoDir" "$srcJarDir" &…
89 Command: `${config.ZipSyncCmd} -d $srcJarDir ` +
119 Command: `rm -rf "$out" && ` +
131 Command: `rm -rf "$outDir" && mkdir -p "$outDir" && ` +
159 Command: `$reTemplate${config.SoongZipCmd} -jar -o $out @$out.rsp`,
174 Command: `${config.SoongZipCmd} -o $out @$out.rsp`,
189 Command: `${config.MergeZipsCmd} --ignore-duplicates -j $jarArgs $out $in`,
196 Command: "${config.JavaCmd} ${config.JavaVmFlags}" +
208 Command: "rm -f $out && " +
217Command: "${config.JavaCmd} ${config.JavaVmFlags} -jar ${config.JetifierJar} -l error -o $out…
[all …]
/build/soong/cc/
Dcflag_artifacts.go72 rule.Command().Textf("rm -f %s", filepath.String())
75 rule.Command().
79 rule.Command().
96 rule.Command().
106 rule.Command().Textf("rm -f %s", filepath.String())
127 rule.Command().
Dgen.go37 Command: "M4=$m4Cmd $lexCmd -o$out $in",
43 Command: "$syspropCmd --header-dir=$headerOutDir --public-header-dir=$publicOutDir " +
51 Command: "$windmcCmd -r$$(dirname $out) -h$$(dirname $out) $in",
75 cmd := rule.Command()
79 rule.Command().Text(sedCmd).Input(outFile)
80 rule.Command().Text(sedCmd).Input(headerFile)
90 rule.Command().Text(sedCmd).Input(locationHeader)
96 rule.Command().Text(sedCmd).Input(positionHeader)
135 cmd := rule.Command()
Dbuilder.go47 Command: "$relPwd ${config.CcWrapper}$ccCmd -c $cFlags -MD -MF ${out}.d -o $out $in",
54 Command: "$relPwd $ccCmd -c $cFlags -o $out $in",
61 Command: "$reTemplate$ldCmd ${crtBegin} @${out}.rsp " +
83Command: "$reTemplate$ldCmd -fuse-ld=lld -nostdlib -no-pie -Wl,-r ${in} -o ${out} ${ldFlags}",
95 Command: "rm -f ${out} && $arCmd $arFlags $out @${out}.rsp",
104Command: "rm -f ${out} && $arCmd $arObjFlags $out @${out}.rsp && $arCmd $arLibFlags $out $a…
113 Command: "${config.MacStripPath} -u -r -o $out $in",
119 Command: "$objcopyCmd --prefix-symbols=${prefix} ${in} ${out}",
143Command: "CROSS_COMPILE=$crossCompile XZ=$xzCmd CLANG_BIN=${config.ClangBin} $stripPath ${args…
155Command: "CLANG_BIN=${config.ClangBin} $archiveRepackPath -i ${in} -o ${out} -d ${out}.d ${obj…
[all …]
Dproto_test.go34 if cmd := proto.RuleParams.Command; !strings.Contains(cmd, "--cpp_out=") {
59 cmd := proto.RuleParams.Command
/build/soong/dexpreopt/
Ddexpreopt.go132 rule.Command().FlagWithOutput("touch ", profilePath)
135 cmd := rule.Command().
171 rule.Command().FlagWithOutput("touch ", profilePath)
174 cmd := rule.Command().
282 rule.Command().FlagWithArg("mkdir -p ", filepath.Dir(odexPath.String()))
283 rule.Command().FlagWithOutput("rm -f ", odexPath)
292 rule.Command().Text("mkdir -p").Flag(filepath.Dir(dexPathHost.String()))
293 rule.Command().Text("cp -f").Input(module.DexPath).Output(dexPathHost)
298 rule.Command().
328 rule.Command().Text(`target_sdk_version="$(`).
[all …]
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go145 dexpreoptRule.Command().FlagWithArg("rm -rf ", installDir.String())
146 dexpreoptRule.Command().FlagWithArg("mkdir -p ", installDir.String())
150 dexpreoptRule.Command().Text("mkdir -p").Flag(filepath.Dir(installPath.String()))
151 dexpreoptRule.Command().Text("cp -f").Input(install.From).Output(installPath)
153 dexpreoptRule.Command().Tool(globalSoong.SoongZip).
/build/soong/cmd/path_interposer/
Dmain.go158 Command string member
162 cmd := exec.Command("ps", "-o", "pid,ppid,command")
206 Command: string(bytes.TrimLeft(fields[1], " ")),
230 Command: entry.Command,
/build/make/tools/fs_config/
Dfs_config.go52 rule.Command().Text("rm -rf").Output(path)
53 rule.Command().Text("touch").Output(path)
/build/soong/xml/
Dxml.go33 Command: `$XmlLintCmd --dtdvalid $dtd $in > /dev/null && touch -a $out`,
41 Command: `$XmlLintCmd --schema $xsd $in > /dev/null && touch -a $out`,
49 Command: `$XmlLintCmd $in > /dev/null && touch -a $out`,
/build/soong/ui/status/
Dlog.go58 cmd := result.Command
124 if result.Command != "" {
125 fmt.Fprintf(e.w, "Command: %s\n", result.Command)
176 Command: proto.String(result.Command),
/build/soong/ui/status/build_error_proto/
Dbuild_error.pb.go79 Command *string `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"` member
124 if m != nil && m.Command != nil {
125 return *m.Command
/build/blueprint/bootstrap/
Dbootstrap.go61 Command: "GOROOT='$goRoot' $compileCmd $parallelCompile -o $out.tmp " +
72 Command: "GOROOT='$goRoot' $linkCmd -o $out.tmp $libDirFlags $in && " +
82 Command: "$goTestMainCmd -o $out -pkg $pkg $in",
90 Command: "$pluginGenSrcCmd -o $out -p $pkg $plugins",
98 Command: "$goTestRunnerCmd -p $pkgSrcDir -f $out -- $in -test.short",
106 Command: "cp $in $out",
113 Command: "BUILDDIR=$buildDir $bootstrapCmd -i $in",
121 Command: "touch $out",
128Command: "$builder $extra -b $buildDir -n $ninjaBuildDir -d $out.d -globFile $globFile -o $out…
140 Command: "# phony $out",
[all …]
/build/soong/apex/
Dbuilder.go73 Command: `( echo '/ 1000 1000 0755' ` +
83 Command: `rm -f $out && ${jsonmodify} $in ` +
93 Command: `rm -f $out && ${conv_apex_manifest} strip $in -o $out`,
99 Command: `rm -f $out && ${conv_apex_manifest} proto $in -o $out`,
109 Command: `rm -rf ${image_dir} && mkdir -p ${image_dir} && ` +
127 Command: `rm -rf ${image_dir} && mkdir -p ${image_dir} && ` +
141 Command: `${aapt2} convert --output-format proto $in -o $out`,
146 Command: `${zip2zip} -i $in -o $out.base ` +
160 Command: `rm -f ${out} && touch ${out} && (. ${out}.emit_commands)`,
167 Command: `diff --unchanged-group-format='' \` +
[all …]

12345