Home
last modified time | relevance | path

Searched refs:script (Results 1 – 25 of 60) sorted by relevance

123

/build/make/tools/droiddoc/templates-pdk/
Dhead_tag.cs16 <script src="<?cs var:toroot ?>assets/search_autocomplete.js" type="text/javascript"></script>
17 <script src="<?cs var:toroot ?>assets/jquery-resizable.min.js" type="text/javascript"></script>
18 <script src="<?cs var:toroot ?>assets/android-developer-docs.js" type="text/javascript"></script>
19 <script src="<?cs var:toroot ?>assets/prettify.js" type="text/javascript"></script>
20 <script type="text/javascript">
22 </script><?cs
24 <script src="<?cs var:toroot ?>assets/android-developer-reference.js" type="text/javascript"></scri…
25 <script src="<?cs var:toroot ?>navtree_data.js" type="text/javascript"></script><?cs
28 <script src="<?cs var:toroot ?>resources/resources-data.js" type="text/javascript"></script><?cs
30 <script type="text/javascript">
[all …]
Dcustomizations.cs18 <script>
22 </script>
32 <script>
36 </script>
78 <script>
80 </script>
93 <script>
109 </script><?cs
Dtrailer.cs2 <script type="text/javascript">
4 </script>
/build/make/tools/releasetools/
Dnon_ab_ota.py119 script = edify_generator.EdifyGenerator(target_api_version, target_info)
122 target_info.WriteMountOemScript(script)
138 script=script,
148 script.AssertOlderBuild(ts, ts_text)
150 target_info.WriteDeviceAssertions(script, OPTIONS.oem_no_mount)
188 script.AppendExtra("""
193 script.Comment("Stage 2/3")
194 script.WriteRawImage("/recovery", "recovery.img")
195 script.AppendExtra("""
202 script.Comment("Stage 3/3")
[all …]
Dedify_generator.py24 self.script = []
70 self.script.extend(other.script)
94 self.script.append(cmd)
105 self.script.append(cmd)
116 self.script.append(cmd)
127 self.script.append(cmd)
132 self.script.append(
144 self.script.append(cmd)
152 self.script.append(self.WordWrap(cmd))
158 self.script.append("show_progress(%f, %d);" % (frac, int(dur)))
[all …]
Dcommon.py715 def WriteMountOemScript(self, script): argument
718 script.Mount("/oem", recovery_mount_options)
720 def WriteDeviceAssertions(self, script, oem_no_mount): argument
723 script.AssertDevice(self.device)
739 script.AssertOemProperty(prop, values, oem_no_mount)
3433 def WriteScript(self, script, output_zip, progress=None, argument
3437 script.Print("Patching %s image unconditionally..." % (self.partition,))
3439 script.Print("Patching %s image after verification." % (self.partition,))
3442 script.ShowProgress(progress, 0)
3443 self._WriteUpdate(script, output_zip)
[all …]
/build/bazel/mk2rbc/
Dapply_scripted_change.sh24 declare -r script=$(realpath $1); shift
27 [[ -x $script ]] || die "%s is not an executable script" $script
28 declare -r bugid="$(sed -nr 's/^##CL (Bug:|Fixes:) +([0-9]+)$/\2/p' $script)"
29 [[ -n "$bugid" ]] || die "$script contains neither '##CL Bug: ' nor '##CL Fixes: 'tag"
36 (cd $gr && $script)
42 …d -nr 's/^##CL *//p' $script; echo -e '\nThis change has been generated by the following script:\n…
/build/soong/cmd/extract_linker/
Dmain.go52 script := &bytes.Buffer{}
59 fmt.Fprintln(script, "ENTRY(__dlwrap__start)")
60 fmt.Fprintln(script, "SECTIONS {")
90 fmt.Fprintf(script, " %s 0x%x : {\n", sectionName, baseLoadAddr+prog.Vaddr)
91 fmt.Fprintf(script, " KEEP(*(%s));\n", sectionName)
92 fmt.Fprintln(script, " }")
119 fmt.Fprintln(script, " /DISCARD/ : { *(.interp) }")
121 fmt.Fprintln(script, "}")
122 fmt.Fprintln(script, "INSERT BEFORE .note.android.embedded_linker;")
131 if err := ioutil.WriteFile(scriptPath, script.Bytes(), 0777); err != nil {
/build/bazel/scripts/incremental_build/
Dplot_metrics_test.py28 self.script = prepare_script("\n".join(self.csv_data), Path("blah"))
32 self.assertTrue(f"$data << EOD\n{filtered}\nEOD" in self.script)
35 self.assertTrue(r"plot for[i=3:5] $data using" in self.script)
Dplot_metrics.py96 def _with_line_num(script: str) -> str:
98 f"{i + 1:2d}:{line}" for i, line in enumerate(script.splitlines(keepends=True))
123 script = prepare_script(summary_csv_data, output, filter)
124 if script is None:
127 gnuplot.write(script)
136 logging.debug("GnuPlot script:\n%s", script)
138 logging.error("GnuPlot errors:\n%s\n%s", p.stderr, _with_line_num(script))
Dplot_metrics.template.txt1 # generated script
/build/bazel_common_rules/exec/
Dexec.bzl30 script = None,
32 """Runs a script when `bazel run` this target.
37 hermeticity is not enforced or guaranteed, especially if `script` accesses PATH.
43 data: A list of labels providing runfiles. Labels may be used in `script`.
48 hashbang: hashbang of the script, default is `"/bin/bash -e"`.
49 script: The script.
77 script = script,
85 script = None,
87 """Runs a script when `bazel test` this target.
92 hermeticity is not enforced or guaranteed, especially if `script` accesses PATH.
[all …]
/build/bazel_common_rules/exec/impl/
Dexec.bzl38 content += ctx.attr.script
54 doc = """Run a script when `bazel run` this target.
59 hermeticity is not enforced or guaranteed, especially if `script` accesses PATH.
64 …, allow_files = True, doc = """A list of labels providing runfiles. Labels may be used in `script`.
70 "hashbang": attr.string(default = _DEFAULT_HASHBANG, doc = "Hashbang of the script."),
71 "script": attr.string(doc = """The script.
86 doc = """Run a test script when `bazel test` this target.
91 hermeticity is not enforced or guaranteed, especially if `script` accesses PATH.
96 …, allow_files = True, doc = """A list of labels providing runfiles. Labels may be used in `script`.
102 "hashbang": attr.string(default = _DEFAULT_HASHBANG, doc = "Hashbang of the script."),
[all …]
/build/bazel_common_rules/exec/tests/
Dexec_test.py33 output = subprocess.check_output([arguments.script], text=True).strip()
40 output = subprocess.check_output([arguments.script, "--some_arg"], text=True).strip()
DBUILD26 script = "echo script_a $@",
46 script = "cat $(rootpath :data.txt)",
67 script = """
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go174 script := &bytes.Buffer{}
175 script.WriteString(scriptHeader)
177 script.WriteString(c)
178 script.WriteString("\n\n")
196 fmt.Fprintln(script, "rm -f $2.d")
198 fmt.Fprintln(script, `echo -n $2 > $2.d`)
201 fmt.Fprintf(script, "cat >> $2.d <<'EOF'\n%sEOF\n", depFile.String())
203 err := pathtools.WriteFileIfChanged(file, script.Bytes(), 0755)
/build/make/target/product/gsi/
Dinit.gsi.rc2 # Android init script for GSI required initialization
/build/pesto/experiments/prepare_bazel_test_env/data/templates/build/bazel/rules/
Djava_test.bzl.template21 # Emit the launcher script.
22 script = ctx.actions.declare_file("%s.sh" % ctx.label.name)
25 output=script,
59 return [DefaultInfo(executable=script, runfiles=runfiles)]
Dcc_test.bzl.template20 # Emit the launcher script.
21 script = ctx.actions.declare_file("%s.sh" % ctx.label.name)
24 output = script,
54 return [DefaultInfo(executable = script, runfiles = runfiles)]
Dandroid_test.bzl.template21 # Emit the launcher script.
22 script = ctx.actions.declare_file("%s.sh" % ctx.label.name)
26 output=script,
64 return [DefaultInfo(executable=script, runfiles=runfiles)]
/build/make/tools/rbcrun/
DREADME.md9 A Roboleaf configuration file is a Starlark script. Usually it is read from *file*. The option `-c`…
10 script directly on the command line. The option `-f` is there to allow the name of a file script to…
11 (i.e., `my=file.rbc` sets `my` to `file.rbc`, `-f my=file.rbc` runs the script from `my=file.rbc`).
19 Read script from *text*
/build/make/core/
Dmisc_prebuilt_internal.mk29 $(eval $(call copy-init-script-file-checked,$(my_prebuilt_src_file),$(LOCAL_BUILT_MODULE)))
/build/bazel_common_rules/dist/
Ddist.bzl90 flat: If true, `--flat` is provided to the script by default. Flatten the distribution
92 … strip_components: If specified, `--strip_components <prefix>` is provided to the script. Strip
95 prefix: If specified, `--prefix <prefix>` is provided to the script by default. Path prefix
97 archive_prefix: If specified, `--archive_prefix <prefix>` is provided to the script by
99 dist_dir: If specified, `--dist_dir <dist_dir>` is provided to the script by default.
104 … By default, the script will overwrite any files of the same name in `dist_dir`, but preserve
136 log: If specified, `--log <log>` is provided to the script by default. This sets the
137 default log level of the script.
/build/pesto/experiments/prepare_bazel_test_env/
DREADME.md3 The `prepare_bazel_test_env` script is a proof-of-concept script to create a
9 The script currently support generation of a Bazel environment to run the
21 There are three actions that the script can perform, which are supplied as the
22 first argument to the script: generate, sync, and clean, discussed below. All
93 1. For each file packaged with the script, remove the corresponding file from
95 2. For each BUILD file packaged with the script, remove the corresponding
183 output = script,
/build/soong/cmd/soong_build/
Dwritedocs.go394 <script>
409 </script>
415 <script type="text/javascript">
428 </script>

123