Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 45) sorted by relevance

12

/build/soong/cmd/run_with_timeout/
Drun_with_timeout_test.go26 command string
42 command: "echo",
50 command: "echo",
59 command: "sh",
68 command: "sh",
81 …err := runWithTimeout(tt.args.command, tt.args.args, tt.args.timeout, tt.args.onTimeoutCmd, tt.arg…
Drun_with_timeout.go90 func runWithTimeout(command string, args []string, timeout time.Duration, onTimeoutCmdStr string,
92 cmd := exec.Command(command, args...)
/build/soong/rust/
Dfuzz.go171 command := builder.Command().BuiltTool("soong_zip").
175 command.FlagWithRspFileInputList("-r ", rspFile, fuzzModule.corpus)
182 command := builder.Command().BuiltTool("soong_zip").
186 command.FlagWithArg("-C ", intermediateDir)
187 command.FlagWithInput("-f ", f)
207 command := builder.Command().BuiltTool("soong_zip").
213 command.FlagWithArg("-P ", file.DestinationPathPrefix)
215 command.Flag("-P ''")
217 command.FlagWithInput("-f ", file.SourceFilePath)
251 command := builder.Command().BuiltTool("soong_zip").
[all …]
/build/soong/ui/status/build_error_proto/
Dbuild_error.proto32 // Description of the command.
35 // The command name that raised the error.
36 optional string command = 2; field
38 // The command output stream.
41 // List of artifacts (i.e. files) that was produced by the command.
/build/soong/cmd/sbox/sbox_proto/
Dsbox.proto25 // If set, GCC-style dependency files from any command that references __SBOX_DEPFILE__ will be
30 // SandboxManifest describes a command to run in the sandbox.
32 // A list of copy rules to run before the sandboxed command. The from field is relative to the
37 // running the command. If false, leave the working directory where it was when sbox was started.
40 // The command to run.
41 required string command = 3; field
43 // A list of copy rules to run after the sandboxed command. The from field is relative to the
48 // when the lists of inputs changes, even if the inputs are not on the command line.
51 // A list of files that will be copied before the sandboxed command, and whose contents should be
/build/bazel/bazel_skylib/rules/
Dcommon_settings.bzl26 "This value may come from the command line or an upstream transition, " +
37 doc = "An int-typed build setting that can be set on the command line",
43 doc = "An int-typed build setting that cannot be set on the command line",
49 doc = "A bool-typed build setting that can be set on the command line",
55 doc = "A bool-typed build setting that cannot be set on the command line",
61 doc = "A string list-typed build setting that can be set on the command line",
67 doc = "A string list-typed build setting that cannot be set on the command line",
86 doc = "A string-typed build setting that can be set on the command line",
97 doc = "A string-typed build setting that cannot be set on the command line",
/build/soong/java/
Dhiddenapi_modular.go312 command := rule.Command().
322 command.Flag("--fragment")
336 command.FlagWithInputList(option+"=", paths, ":")
341 command.FlagWithOutput("--out-api-flags=", tempPath)
352 command.Validation(validFile)
410 commandMutator func(command *android.RuleBuilderCommand, path android.Path)
424 commandMutator: func(command *android.RuleBuilderCommand, path android.Path) {
425command.FlagWithInput("--unsupported ", path).Flag("--ignore-conflicts ").FlagWithArg("--tag ", "r…
436 commandMutator: func(command *android.RuleBuilderCommand, path android.Path) {
437 command.FlagWithInput("--unsupported ", path)
[all …]
/build/soong/cmd/sbox/
Dsbox.go162 for i, command := range manifest.Commands {
167 depFile, err := runCommand(command, localTempDir)
216 func runCommand(command *sbox_proto.Command, tempDir string) (depFile string, err error) {
217 rawCommand := command.GetCommand()
223 if command.GetChdir() {
233 err = copyFiles(command.CopyBefore, "", tempDir, false)
237 err = copyRspFiles(command.RspFiles, tempDir, pathToTempDirInSbox)
253 err = makeOutputDirs(command.CopyAfter, tempDir)
264 if command.GetChdir() {
283 copyFiles(command.CopyAfter, tempDir, "", true)
[all …]
/build/soong/apex/
Dbootclasspath_fragment_test.go859 command := rule.RuleParams.Command
860 android.AssertStringDoesContain(t, "check correct rule", command, "hiddenapi list")
864 …android.AssertStringDoesContain(t, "quuz widest", command, "--dependency-stub-dex="+quuzModuleLibS…
868 …android.AssertStringDoesContain(t, "public", command, "--public-stub-classpath="+quuzPublicStubs+"…
869 …android.AssertStringDoesContain(t, "system", command, "--system-stub-classpath="+quuzSystemStubs+"…
870 …android.AssertStringDoesContain(t, "test", command, "--test-stub-classpath="+quuzTestStubs+":"+foo…
1027 command := rule.RuleParams.Command
1028 android.AssertStringDoesContain(t, "check correct rule", command, "hiddenapi list")
1032 …android.AssertStringDoesContain(t, "android-non-updatable widest", command, "--dependency-stub-dex…
1036 …android.AssertStringDoesContain(t, "public", command, "--public-stub-classpath="+nonUpdatablePubli…
[all …]
Ddeapexer.go124 command := builder.Command()
125 command.
132 command.Output(p.(android.WritablePath))
/build/soong/cc/
Dfuzz.go439 command := builder.Command().BuiltTool("soong_zip").
443 command.FlagWithRspFileInputList("-r ", rspFile, fuzzModule.corpus)
450 command := builder.Command().BuiltTool("soong_zip").
454 command.FlagWithArg("-C ", intermediateDir)
455 command.FlagWithInput("-f ", f)
508 command := builder.Command().BuiltTool("soong_zip").
513 command.FlagWithArg("-P ", file.DestinationPathPrefix)
515 command.Flag("-P ''")
517 command.FlagWithInput("-f ", file.SourceFilePath)
551 command := builder.Command().BuiltTool("soong_zip").
[all …]
/build/make/tools/releasetools/
Dcheck_target_files_vintf.py142 command = common_command + sku_args
143 proc = common.Run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
146 logger.info("Command `%s` returns 'compatible'", ' '.join(command))
148 logger.info("Command `%s` returns 'incompatible'", ' '.join(command))
153 .format(' '.join(command), proc.returncode, out, err))
Dtest_build_image.py82 command = ['mkuserimg_mke2fs', input_dir, output_image, 'ext4',
84 proc = common.Run(command)
187 command = ['mkuserimg_mke2fs', input_dir, output_image, 'ext4',
189 proc = common.Run(command)
/build/soong/android/
Dbazel_handler_test.go14 …bazelCommand{command: "cquery", expression: "kind(rule, deps(@soong_injection//mixed_builds:buildr…
59 bazelCommand{command: "aquery", expression: "deps(@soong_injection//mixed_builds:buildroot)"}: `
108 …aqueryCommand := bazelCommand{command: "aquery", expression: "deps(@soong_injection//mixed_builds:…
Drule_builder.go203 command := &RuleBuilderCommand{
206 r.commands = append(r.commands, command)
207 return command
531 command := sbox_proto.Command{}
532 manifest.Commands = append(manifest.Commands, &command)
533 command.Command = proto.String(commandString)
543 command.CopyBefore = append(command.CopyBefore, &sbox_proto.Copy{
550 command.CopyBefore = append(command.CopyBefore, &sbox_proto.Copy{
564 command.CopyBefore = append(command.CopyBefore, &sbox_proto.Copy{
573 command.RspFiles = append(command.RspFiles, &sbox_proto.RspFile{
[all …]
Dbazel_handler.go89 …issueBazelCommand(paths *bazelPaths, runName bazel.RunName, command bazelCommand, extraFlags ...st…
295 command string member
307 command bazelCommand,
309 r.commands = append(r.commands, command)
310 if ret, ok := r.bazelCommandResults[command]; ok {
322 func (r *builtinBazelRunner) issueBazelCommand(paths *bazelPaths, runName bazel.RunName, command ba…
324 cmdFlags := []string{"--output_base=" + absolutePath(paths.outputBase), command.command}
325 cmdFlags = append(cmdFlags, command.expression)
Drule_builder_test.go624 command := params.RuleParams.Command
626 command = re.ReplaceAllLiteralString(command, "")
628 AssertStringEquals(t, "RuleParams.Command", wantCommand, command)
787 command := gen.Output("gen/" + test.name).RuleParams.Command
788 if g, w := command, " # hash of input list: "+test.expectedHash; !strings.HasSuffix(g, w) {
/build/make/core/
Dchecktree40 def run(command, regex, filt): argument
53 fd = os.popen(command);
57 raise PerforceError("error calling " + command)
/build/make/tools/rbcrun/
DREADME.md10 script directly on the command line. The option `-f` is there to allow the name of a file script to…
57 A `struct` containing the variable set by the interpreter's command line. That is, running
80 #### rblf_shell(*command*)
82 Runs `sh -c "`*command*`"`, reads its output, converts all newlines into spaces, chops trailing new…
Dhost.go179 var command string
180 if err := starlark.UnpackPositionalArgs(b.Name(), args, kwargs, 1, &command); err != nil {
187 cmd := exec.Command(shellPath, "-c", command)
/build/make/tools/acp/
DREADME3 The "cp" command was judged and found wanting. The issues are:
31 It's easier and more reliable to write a cp command that works properly.
34 The "acp" command takes most of the standard flags, following the GNU
/build/make/tools/product_config/src/com/android/build/config/
DKatiImpl.java52 public KatiImpl(Errors errors, Options options, KatiCommand command) { in KatiImpl() argument
55 mCommand = command; in KatiImpl()
/build/blueprint/bootstrap/
Dbuild.ninja14command = ${builder} ${extraArgs} -b ${bootstrapBuildDir} -n ${builddir} -d ${out}.d -globFile ${m…
/build/soong/docs/
Dbest_practices.md10 asking the user to run a command (either a straight command, checked in script,
122 Prefer to list input files on the command line, otherwise we may not know to
123 re-run your command when a new input file is added. Ninja does not treat a
125 command line would need to change, or one of the inputs would need to be newer
126 than the output file. If you don't include the inputs in your command line, you
133 Only control output files based on the command line, not by an input file. We
/build/bazel/examples/queryview/
DREADME.md26 Alternatively, you can also write the expression directly in the command:

12