Home
last modified time | relevance | path

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

123

/build/soong/cmd/run_with_timeout/
Drun_with_timeout_test.go27 command string
43 command: "echo",
51 command: "echo",
60 command: "sh",
70 command: "sh",
84 …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/fuzz/
Dfuzz_common.go130 command := builder.Command().BuiltTool("soong_zip").
134 command.FlagWithRspFileInputList("-r ", rspFile, fuzzModule.Corpus)
141 command := builder.Command().BuiltTool("soong_zip").
145 command.FlagWithArg("-C ", intermediateDir)
146 command.FlagWithInput("-f ", f)
167 command := builder.Command().BuiltTool("soong_zip").
173 command.FlagWithArg("-P ", file.DestinationPathPrefix)
175 command.Flag("-P ''")
177 command.FlagWithInput("-f ", file.SourceFilePath)
231 command := builder.Command().BuiltTool("soong_zip").
[all …]
/build/make/tools/releasetools/merge/
Dmerge_dexopt.py163 command = [
171 logging.info(' running %s', command)
172 subprocess.check_call(command)
230 command = [
250 logging.info('running %s', command)
251 subprocess.check_call(command, cwd=temp_dir)
254 command = ['sh', 'dexpreopt_app.sh', apk_path]
255 logging.info('running %s', command)
256 subprocess.check_call(command, cwd=temp_dir)
/build/make/tools/canoninja/
DREADME.md6 rule names, the real differences in the output of the `diff` command are drowned in noise. Enter Ca…
9 simple `comm` command immediately reveal the essential difference between the files.
39 command = /bin/sh -c "echo foo"
44 command = /bin/sh -c "echo bar"
64 command = /bin/sh -c "echo bar"
69 command = /bin/sh -c "echo foo"
105 command = /bin/sh -c "echo foo"
110 command = /bin/sh -c "echo bar"
130 command = /bin/sh -c "echo bar"
135 command = /bin/sh -c "echo foo"
/build/soong/java/
Dhiddenapi_modular.go320 command := rule.Command().
330 command.Flag("--fragment")
344 command.FlagWithInputList(option+"=", paths, ":")
349 command.FlagWithOutput("--out-api-flags=", tempPath)
361 command.Validation(validFile)
419 commandMutator func(command *android.RuleBuilderCommand, path android.Path)
433 commandMutator: func(command *android.RuleBuilderCommand, path android.Path) {
434command.FlagWithInput("--unsupported ", path).Flag("--ignore-conflicts ").FlagWithArg("--tag ", "r…
445 commandMutator: func(command *android.RuleBuilderCommand, path android.Path) {
446 command.FlagWithInput("--unsupported ", path)
[all …]
Dsdk_library_test.go209 …android.AssertStringDoesContain(t, "fooUpdatable.xml java_sdk_xml command", fooUpdatable.RuleParam…
210 …android.AssertStringDoesContain(t, "fooUpdatable.xml java_sdk_xml command", fooUpdatable.RuleParam…
211 …android.AssertStringDoesContain(t, "fooUpdatable.xml java_sdk_xml command", fooUpdatable.RuleParam…
216 …android.AssertStringDoesNotContain(t, "foo.xml java_sdk_xml command", fooPermissions.RuleParams.Co…
217 …android.AssertStringDoesNotContain(t, "foo.xml java_sdk_xml command", fooPermissions.RuleParams.Co…
218 …android.AssertStringDoesNotContain(t, "foo.xml java_sdk_xml command", fooPermissions.RuleParams.Co…
219 …android.AssertStringDoesNotContain(t, "foo.xml java_sdk_xml command", fooPermissions.RuleParams.Co…
351 …android.AssertStringDoesContain(t, "foo.xml java_sdk_xml command", fooUpdatable.RuleParams.Command…
352 …android.AssertStringDoesNotContain(t, "foo.xml java_sdk_xml command", fooUpdatable.RuleParams.Comm…
/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/soong/apex/
Dbootclasspath_fragment_test.go1033 command := rule.RuleParams.Command
1034 android.AssertStringDoesContain(t, "check correct rule", command, "hiddenapi list")
1038 …android.AssertStringDoesContain(t, "quuz widest", command, "--dependency-stub-dex="+quuzModuleLibS…
1042 …android.AssertStringDoesContain(t, "public", command, "--public-stub-classpath="+quuzPublicStubs+"…
1043 …android.AssertStringDoesContain(t, "system", command, "--system-stub-classpath="+quuzSystemStubs+"…
1044 …android.AssertStringDoesContain(t, "test", command, "--test-stub-classpath="+quuzTestStubs+":"+foo…
1202 command := rule.RuleParams.Command
1203 android.AssertStringDoesContain(t, "check correct rule", command, "hiddenapi list")
1207 …android.AssertStringDoesContain(t, "android-non-updatable widest", command, "--dependency-stub-dex…
1211 …android.AssertStringDoesContain(t, "public", command, "--public-stub-classpath="+nonUpdatablePubli…
[all …]
Ddeapexer.go138 command := builder.Command()
139 command.
146 command.Output(p.(android.WritablePath))
/build/soong/cmd/sbox/
Dsbox.go168 for i, command := range manifest.Commands {
173 depFile, err := runCommand(command, localTempDir, i)
240 func runCommand(command *sbox_proto.Command, tempDir string, commandIndex int) (depFile string, err…
241 rawCommand := command.GetCommand()
247 err = clearOutputDirectory(command.CopyAfter, outputDir, writeType(writeIfChanged))
253 if command.GetChdir() {
263 err = copyFiles(command.CopyBefore, "", tempDir, requireFromExists, alwaysWrite)
267 err = copyRspFiles(command.RspFiles, tempDir, pathToTempDirInSbox)
283 err = makeOutputDirs(command.CopyAfter, tempDir)
301 if command.GetChdir() {
[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: "deps(@soong_injection//mixed_builds:buildroot, 2)"}: …
59 bazelCommand{command: "aquery", expression: "deps(@soong_injection//mixed_builds:buildroot)"}: `
108 …aqueryCommand := bazelCommand{command: "aquery", expression: "deps(@soong_injection//mixed_builds:…
Drule_builder.go194 command := &RuleBuilderCommand{
197 r.commands = append(r.commands, command)
198 return command
522 command := sbox_proto.Command{}
523 manifest.Commands = append(manifest.Commands, &command)
524 command.Command = proto.String(commandString)
534 command.CopyBefore = append(command.CopyBefore, &sbox_proto.Copy{
541 command.CopyBefore = append(command.CopyBefore, &sbox_proto.Copy{
555 command.CopyBefore = append(command.CopyBefore, &sbox_proto.Copy{
564 command.RspFiles = append(command.RspFiles, &sbox_proto.RspFile{
[all …]
Dbazel_handler.go107 …issueBazelCommand(paths *bazelPaths, runName bazel.RunName, command bazelCommand, extraFlags ...st…
329 command string member
341 command bazelCommand,
343 r.commands = append(r.commands, command)
344 if ret, ok := r.bazelCommandResults[command]; ok {
356 func (r *builtinBazelRunner) issueBazelCommand(paths *bazelPaths, runName bazel.RunName, command ba…
366 command.command,
368 cmdFlags = append(cmdFlags, command.expression)
/build/make/core/
Dchecktree40 def run(command, regex, filt): argument
53 fd = os.popen(command);
57 raise PerforceError("error calling " + command)
/build/soong/bazel/
Daquery.go303command := fmt.Sprintf(`/bin/bash -c 'echo "%[1]s" | sed "s/\\\\n/\\n/g" > %[2]s && chmod a+x %[2]…
305 buildStatement.Command = command
401 command := fmt.Sprintf("%s x %s -d %s", zipperCommandPath, zipFilePath, runfilesDirName)
404 command += fmt.Sprintf(" && ln -sf runfiles/__main__ %s", runfilesDirName)
405 return bs.Command + " && " + 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
85 #### rblf_shell(*command*)
87 Runs `sh -c "`*command*`"`, reads its output, converts all newlines into spaces, chops trailing new…
/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/soong/docs/
Dnative_code_coverage.md66 # Run the test. The exact command depends on the nature of the test.
84 command. It invokes two LLVM utilities `llvm-profdata` and `llvm-cov`. An
151 For added specificity, restrict the above command to just the <PID>s of the
165 documentation for commonly used `llvm-cov` command-line arguments is available
171 The `show` command displays the function and line coverage for each source file
182 * In the above command, `$MY_BIN` should be the unstripped binary (i.e. with
205 E.g., the following command is used for `bionic-unit-tests`, which tests
/build/pesto/experiments/prepare_bazel_test_env/
DREADME.md31 The generate command builds the required targets for a Bazel environment via
35 The generate command performs the following actions:
54 environment, or can be synced to the source tree using the sync command,
62 The sync command scans the staging directory at `out/pesto-environment/gen` for
67 The sync command performs the following actions:
80 synchronization, subsequent calls to the generate command will propogate
88 The clean command removes all files that have been created in the tree, and also
91 The clean command performs the following actions:
/build/bazel/rules/
DREADME.md7 Run the following command to build a miminal APEX example.

123