Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 1118) sorted by relevance

12345678910>>...45

/build/soong/cmd/sbox/sbox_proto/
Dsbox.proto9 // Unless required by applicable law or agreed to in writing, software
20 // A set of commands to run in a sandbox.
22 // A list of commands to run in the sandbox.
26 // merged into the given output file relative to the $PWD when sbox was started.
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
33 // $PWD when sbox was run, the to field is relative to the top of the temporary sandbox directory.
36 // If true, change the working directory to the top of the temporary sandbox directory before
40 // The command to run.
43 // A list of copy rules to run after the sandboxed command. The from field is relative to the
[all …]
/build/
Dbuildspec.mk.default10 # Unless required by applicable law or agreed to in writing, software
18 # This is a do-nothing template file. To use it, copy it to a file
21 # "buildspec.mk" should never be checked in to source control.
24 # Choose a product to build for. Look in the products directory for ones
30 # Choose a variant to build. If you don't pick one, the default is eng.
45 # Choose additional targets to always install, even when building
54 # Set this to debug or release if you care. Otherwise, it defaults to release.
60 # it defaults to release.
66 # to a non-empty value, the appropriate HOST_/TARGET_CUSTOM_DEBUG_CFLAGS
67 # will be added to LOCAL_CFLAGS when building the module.
[all …]
/build/make/
Dbuildspec.mk.default10 # Unless required by applicable law or agreed to in writing, software
18 # This is a do-nothing template file. To use it, copy it to a file
21 # "buildspec.mk" should never be checked in to source control.
24 # Choose a product to build for. Look in the products directory for ones
30 # Choose a variant to build. If you don't pick one, the default is eng.
45 # Choose additional targets to always install, even when building
54 # Set this to debug or release if you care. Otherwise, it defaults to release.
60 # it defaults to release.
66 # to a non-empty value, the appropriate HOST_/TARGET_CUSTOM_DEBUG_CFLAGS
67 # will be added to LOCAL_CFLAGS when building the module.
[all …]
DUsage.txt6 Ways to specify what to build:
7 The common way to specify what to build is to set that information in the
12 # Select the device and variant to target. If no argument is given, it
14 lunch [<product>-<variant>] # Selects the device and variant to target.
18 <product> is the device that the created image is intended to be run on.
21 amount of debugging to be added into the generated image.
31 interpreted relative to the root of the source tree (rather than relative
32 to the current working directory).
35 `m help` to view the names of some common targets.
47 every command run, along with its outputs. This is similar to the
[all …]
DDeprecation.md3 We've made significant progress converting AOSP from Make to Soong (Android.mk
4 to Android.bp), and we're ready to start turning off pieces of Make. If you
42 * `BUILD_PACKAGE` will be moved from `AVAILABLE_BUILD_MODULE_TYPES` to
44 will make referring to `BUILD_PACKAGE` a warning.
46 `BUILD_BROKEN_USES_BUILD_PACKAGE := true` added to their `BoardConfig.mk`.
47 * `BUILD_PACKAGE` will be switched from `DEFAULT_WARNING_BUILD_MODULE_TYPES` to
48 `DEFAULT_ERROR_BUILD_MODULE_TYPES`, which will turn referring to
52 `DEFAULT_ERROR_BUILD_MODULE_TYPES` to `OBSOLETE_BUILD_MODULE_TYPES` and the
53 code will be removed. It will no longer be possible to use `BUILD_PACKAGE`.
55 In most cases, we expect module types to stay in the default warning state for
[all …]
DChanges.md10 in board config to disable this behavior.
14 Partition builds used to include everything in their staging directories, and building an
15 individual module will install it to the staging directory. Thus, previously, `m mymodule` followed
16 by `m` would cause `mymodule` to be presinstalled on the device, even if it wasn't listed in
23 Manually adding make rules that build to the staging directories without going through the make
29 Each Soong plugin will require manual work to migrate to Bazel. In order to
30 minimize the manual work outside of build/soong, we are restricting plugins to
33 If you need to extend the build system via a plugin, please reach out to the
38 space-separated list of plugins to omit from the validation. This must be set
41 ## Python 2 to 3 migration
[all …]
/build/make/tools/ide_query/ide_query_proto/
Dide_query.proto10 * Unless required by applicable law or agreed to in writing, software
28 // Details about the status, might be displayed to user.
37 // Relative to repo_dir.
39 // Repository relative path to output directory in workstation.
41 // Repository relative path to compile_commands.json in workstation.
50 // Relative to repo_dir.
52 // Build target to execute for generating dep.
63 // Path to the file relative to IdeAnalysis.build_artifact_root.
72 // Path to the source file relative to repository root.
76 // paths in compiler_arguments should be relative to this path.
[all …]
/build/soong/docs/
Dbest_practices.md5 Never write to the source directory during the build, always write to
6 `$OUT_DIR`. We expect to enforce this in the future.
8 If you want to verify / provide an update to a checked in generated source
10 asking the user to run a command (either a straight command, checked in script,
11 generated script, etc) to explicitly copy that file from the output into the
16 Never access the network during the build. We expect to enforce this in the
25 Assume that the source directory is `$PWD`. If a script is going to change
26 directories and needs to convert an input from a relative to absolute path,
27 prefer to do that in the script.
30 it difficult to reproduce builds on other machines.
[all …]
/build/bazel_common_rules/dist/
Ddist.bzl1 """Rule to support Bazel in copying its output files to the dist dir outside of
9 """Convert the outputs of a label list to manifest content."""
16 # Create a manifest of dist files to differentiate them from other runfiles.
41 doc = """Generate a manifest of files to be dist to a directory.""",
45 doc = """Files or targets to copy to the dist dir.
52 doc = """Files or targets to be extracted to the dist dir.
75 """A dist rule to copy files out of Bazel's output directory into a custom location.
79 bazel run //path/to/my:dist_target -- --dist_dir=/tmp/dist
82 Run `bazel run //path/to/my:dist_target -- --help` for explanations of
87 data: A list of labels, whose outputs are copied to `--dist_dir`.
[all …]
/build/make/core/
DLINUX_KERNEL_COPYING6 Foundation, but the instance of code that it refers to (the Linux
22 Everyone is permitted to copy and distribute verbatim copies
27 The licenses for most software are designed to take away your
28 freedom to share and change it. By contrast, the GNU General Public
29 License is intended to guarantee your freedom to share and change free
30 software--to make sure the software is free for all its users. This
31 General Public License applies to most of the Free Software
32 Foundation's software and to any other program whose authors commit to
34 the GNU Library General Public License instead.) You can apply it to
37 When we speak of free software, we are referring to freedom, not
[all …]
/build/bazel/docs/
Dconcepts.md13 Android Platform build system, and how each component maps to a concept in
16 |Android build system component|Description|Mapping to Bazel concepts|
18 …ates Ninja file directly.|Loading and analysis phase. Conceptually similar to `bazel build --nobui…
20 …lueprint to generate Ninja file. Generates a `.mk` file with prebuilt module stubs to Kati.|Loadi…
22 |atest|Test executor and orchestrator.|Conceptually similar to `bazel test` command.|
23 … Ninja + atest|The entire build pipeline for Android.|Conceptually similar to `bazel build` or `ba…
24 |`<script>.sh`|Running arbitrary scripts in AOSP.|Conceptually similar to `bazel run` command.|
25 …the tools above.|Loading, analysis, execution phases. Conceptually similar to `bazel build` comman…
31 * Kati product configuration component to generate config variables (config.mk, AndroidProducts.mk)
33 * Kati component to generate build actions in Ninja files (main.mk, Android.mk files)
[all …]
/build/soong/mk2rbc/
DTODO2 * Need heuristics to recognize that a variable is local. Propose to use lowercase.
7 * If variable's type is not yet known, try to divine it from the value assigned to it
9 * ifneq (,$(VAR)) should translate to
11 * Launcher file needs to have same suffix as the rest of the generated files
/build/soong/bin/
Dhmm24 Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
26 Selects <product_name> as the product to build, and <build_variant> as the variant to
27 build, and stores those selections in the environment to be read by subsequent
34 - croot: Changes directory to the top of the tree, or a subdirectory thereof.
43 - provision: Flash device with all required partitions. Options will be passed on to fastboot.
59 - godir: Go to the directory containing a file.
61 - gomod: Go to the directory containing a module.
70 - SANITIZE_HOST: Set to 'address' to use ASAN for all host modules.
71 - ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.
73 Look at the source to view more functions. The complete list is:
/build/make/tools/droiddoc/
DLICENSE20 Everyone is permitted to copy and distribute verbatim copies
29 to take away your freedom to share and change the works. By contrast,
30 the GNU General Public License is intended to guarantee your freedom to
31 share and change all versions of a program--to make sure it remains free
33 GNU General Public License for most of our software; it applies also to
34 any other work released this way by its authors. You can apply it to
37 When we speak of free software, we are referring to freedom, not
38 price. Our General Public Licenses are designed to make sure that you
39 have the freedom to distribute copies of free software (and charge for
44 To protect your rights, we need to prevent others from denying you
[all …]
/build/blueprint/pathtools/
Dlists_test.go23 from, ext, to string
36 if got != test.to {
37 t.Errorf("ReplaceExtension(%v, %v) = %v; want: %v", test.from, test.ext, got, test.to)
/build/make/tools/rbcrun/
DREADME.md9 …tion file is a Starlark script. Usually it is read from *file*. The option `-c` allows to provide a
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`).
22 Gather performance statistics and save it to *file*. Use \
24 to show top CPU users
27 File to run.
31 The runner allows Starlark scripts to use the following features that Bazel's Starlark interpreter …
37 (`":file"` or `"//path:file"`). In addition, it allows the URI to end with
47 `mymodule_init` will be set to `None`
74 not zero, only the paths to the regular files are returned. The returned paths are relative to *top…
[all …]
/build/soong/android/
Donceper_test.go30 t.Errorf(`first call to Once should return "a": %q`, a)
34 t.Errorf(`second call to Once with the same key should return "a": %q`, b)
61 t.Errorf(`first call to Once should return "a": %q`, a)
107 t.Errorf(`first call to OnceStringSlice should return ["a"]: %q`, a)
111 t.Errorf(`second call to OnceStringSlice with the same key should return ["a"]: %q`, b)
123 t.Errorf(`first call to Once2StringSlice should return ["a"], ["b"]: %q, %q`, a, b)
127 …t.Errorf(`second call to Once2StringSlice with the same key should return ["a"], ["b"]: %q, %q`, c…
140 t.Errorf(`first call to Once should return "a": %q`, a)
144 t.Errorf(`second call to Once with the NewOnceKey from same string should return "b": %q`, b)
160 t.Errorf(`first call to Once should return "a": %q`, a)
[all …]
/build/soong/scripts/
Dcheck_do_not_merge.sh19 DO NOT MERGE and RESTRICT AUTOMERGE very often lead to unintended results
20 and are not allowed to be used in this project.
21 Please use the Merged-In tag to be more explicit about where this change
22 should merge to. Google-internal documentation exists at go/merged-in
/build/bazel/rules/cc/
Dcc_library_common_test.bzl9 # Unless required by applicable law or agreed to in writing, software
31 asserts.equals(env, ctx.attr.expected_value, actual, "expected {path}, to be {external}".format(
49 path = "path/to/package",
53 path = "external/path/to/package",
57 path = "hardware/path/to/package",
65 path = "hardware/google/path/to/package",
69 path = "hardware/interfaces/path/to/package",
73 path = "hardware/ril/path/to/package",
77 path = "hardware/libhardware/path/to/package",
81 path = "hardware/libhardware_legacy/path/to/package",
[all …]
/build/soong/cmd/extract_apks/bundle_proto/
Dconfig.proto16 // Resources to be always kept in the master split.
19 // APKs to be signed with the same key as generated APKs.
36 // Version of BundleTool used to build the Bundle.
41 // Glob matching the list of files to leave uncompressed in the APKs.
53 // files or folders to keep uncompressed in `uncompressed_glob`.
54 // This option should only be used if the app is able to handle compressed
60 // If the compression strategy indicates to compress a file and the same file
78 // which are used to update the application from previous to next version.
82 // but size of patches required to update the application are larger.
86 // Compression algorithm which is used to compress entries in final APKs.
[all …]
/build/soong/java/
Ddexpreopt_config_testing.go137 to string member
147 to: install.To,
257 to: "/apex/art_boot_images/javalib/arm64/boot.art",
261 to: "/apex/art_boot_images/javalib/arm64/boot.oat",
265 to: "/apex/art_boot_images/javalib/arm64/boot-core2.art",
269 to: "/apex/art_boot_images/javalib/arm64/boot-core2.oat",
273 to: "/apex/art_boot_images/javalib/arm64/boot-extra1.art",
277 to: "/apex/art_boot_images/javalib/arm64/boot-extra1.oat",
283 to: "/apex/art_boot_images/javalib/arm64/boot.vdex",
287 to: "/apex/art_boot_images/javalib/arm64/boot-core2.vdex",
[all …]
/build/make/tools/zipalign/
DREADME.txt15 The purpose of zipalign is to ensure that all uncompressed data starts
16 with a particular alignment relative to the start of the file. This
17 allows those portions to be accessed directly with mmap() even if they
20 Some data needs to be word-aligned for easy access, others might benefit
26 need to adjust its alignment.
28 Alterations to the archive, such as renaming or deleting entries, will
30 entries. Files added to an "aligned" archive will not be aligned.
35 You can use the "-c" flag to test whether a zip archive is properly aligned.
38 uncompressed in the zip archive, to a 4096-byte page boundary. This
/build/bazel/tests/products/
DBUILD8 # This package contains pregenerated soong.variables files for the aosp_<arch> products, used to
10 # at build time but it would add time to every `m nothing`. Converting the product config makefiles
11 # to starlark and checking them in would also solve this performance issue.
13 # This is also where we can define platforms that have set product config variables to certain
15 # due to limitations in bazel.
/build/bazel/bazel_sandwich/
Dbazel_sandwich_imported_file.bzl9 # Unless required by applicable law or agreed to in writing, software
40 # the bazel_sandwich: prefix signals to the mixed build handler to treat this specially
52 doc = "The target of the symlink. It's a path relative to the root of the output dir " +
53 … " to import. In this attribute, $(DeviceName) will be replaced with the device name " +
58 doc = "Whether or not a dependency should be added from the symlink to the file it's " +
59 "targeting. In most cases you want this to be true.",
62 doc = "Paths to other make-generated files to use as implicit deps. This is useful " +
63 "when you want to import a folder to bazel, you can add an implicit dep on a " +
/build/release/flag_declarations/
DRELEASE_HIDDEN_API_EXPORTABLE_STUBS.textproto3 … "b/319697968: Flag to determine the dependency of hiddenapi to the stubs that contain all flagged…

12345678910>>...45