/build/soong/cmd/sbox/sbox_proto/ |
D | sbox.proto | 9 // 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/make/ |
D | buildspec.mk.default | 10 # 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 …]
|
D | Usage.txt | 6 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 …]
|
D | Deprecation.md | 3 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 …]
|
D | Changes.md | 5 In order to construct correct class loader context for dexpreopt, build system 6 needs to know about the shared library dependencies of Java modules listed in 8 access to the manifest contents, that information must be present in the build 9 files. In simple cases Soong is able to infer it from its knowledge of Java SDK 11 necessary to add the missing information in Android.bp/Android.mk manually. 18 If a library is in `libs`, it usually should *not* be added to the above 19 properties, and Soong should be able to infer the `<uses-library>` tag. But 24 cases it is possible to tell the build system that the library provides a 26 deprecated in the future, and it is recommended to fix the underlying problem): 31 It is possible to disable the check on a per-module basis. When doing that it is [all …]
|
/build/ |
D | buildspec.mk.default | 10 # 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/soong/docs/ |
D | best_practices.md | 5 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 …]
|
D | map_files.md | 5 semantically meaningful to [gen_stub_libs.py]. For an example of a map file, see 33 meaning. If you need to add any comments that should not be interpreted by the 52 symbol visibility of the library to expose only the interface named by the map 54 available to users via `dlsym`. Note: All comments are ignored in this case. Any 62 naming schemes is equivalent to marking the version with the `platform-only` 73 Indicates that the version or symbol is to be exposed in the APEX stubs rather 75 to both APEX and the LL-NDK. 80 level. This is an arbitrarily high API level used to define APIs that have not 81 yet been added to a specific release. 91 API level 21. This tag can be applied to either a version definition or an [all …]
|
D | perf.md | 17 soong_ui logs the wall time of the longest dependency chain compared to the 54 don't currently have an easy way to enable them in the context of a full build. 59 performance sensitive, since it doesn't need to happen on every build. It is 60 important for the fast-path (detecting whether it needs to regenerate the ninja 61 file) to be fast however. And it shouldn't hit the slow path too often -- so 63 or read a file that's going to change on every build. 68 `$(shell)` commands need to be re-executed to determine if their output changed. 89 other "(regen)" numbers add up to more than that (some parts are parallelized 94 All the longest commands in this case are all variants of a call to `find`, but 95 this is where using pure make functions instead of calling out to the shell can [all …]
|
/build/make/core/ |
D | LINUX_KERNEL_COPYING | 6 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 …]
|
D | definitions.mk | 446 $(warning Empty argument supplied to find-subdir-assets in $(LOCAL_PATH)) \ 669 $(error $(LOCAL_PATH): Class not defined in call to intermediates-dir-for)) \ 672 $(error $(LOCAL_PATH): Name not defined in call to intermediates-dir-for)) \ 695 … $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS not defined before call to local-intermediates-dir)) \ 697 $(error $(LOCAL_PATH): LOCAL_MODULE not defined before call to local-intermediates-dir)) \ 719 $(error $(LOCAL_PATH): Class not defined in call to generated-sources-dir-for)) \ 722 $(error $(LOCAL_PATH): Name not defined in call to generated-sources-dir-for)) \ 740 …$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS not defined before call to local-generated-sources-dir))… 742 … $(error $(LOCAL_PATH): LOCAL_MODULE not defined before call to local-generated-sources-dir)) \ 760 $(error $(LOCAL_PATH): Class not defined in call to generated-sources-dir-for)) \ [all …]
|
D | dumpconfig.mk | 9 $(warning Kati must be used to call dumpconfig.mk, not make.) 15 $(warning supported. It is only meant to be called via kati by product-confing.) 20 $(warning dumpconfig.mk requires TARGET_PRODUCT to be set) 25 $(warning dumpconfig.mk requires TARGET_BUILD_VARIANT to be set) 35 $(warning dumpconfig requires DUMPCONFIG_FILE to be set)
|
/build/bazel/docs/ |
D | concepts.md | 10 Android Platform build system, and how each component maps to a concept in 13 |Android build system component|Description|Mapping to Bazel concepts| 15 …ates Ninja file directly.|Loading and analysis phase. Conceptually similar to `bazel build --nobui… 17 …lueprint to generate Ninja file. Generates a `.mk` file with prebuilt module stubs to Kati.|Loadi… 19 |atest|Test executor and orchestrator.|Conceptually similar to `bazel test` command.| 20 … Ninja + atest|The entire build pipeline for Android.|Conceptually similar to `bazel build` or `ba… 21 |`<script>.sh`|Running arbitrary scripts in AOSP.|Conceptually similar to `bazel run` command.| 22 …the tools above.|Loading, analysis, execution phases. Conceptually similar to `bazel build` comman… 28 * Kati product configuration component to generate config variables (config.mk, AndroidProducts.mk) 30 * Kati component to generate build actions in Ninja files (main.mk, Android.mk files) [all …]
|
/build/soong/cmd/extract_apks/bundle_proto/ |
D | config.proto | 16 // Resources to be always kept in the master split. 19 // APKs to be signed with the same key as generated APKs. 33 // Version of BundleTool used to build the Bundle. 38 // Glob matching the list of files to leave uncompressed in the APKs. 45 // Resources to keep in the master split. 47 // Resource IDs to be kept in master split. 49 // Resource names to be kept in master split. 74 // Optimization configuration used to generate Split APKs. 79 // Optimization configuration used to generate Standalone APKs. 81 // Device targeting dimensions to shard. [all …]
|
/build/soong/android/ |
D | onceper_test.go | 30 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/bazel/rules_cc/cc/ |
D | find_cc_toolchain.bzl | 10 # Unless required by applicable law or agreed to in writing, software 21 `--cpu`, `--compiler`). For that to work the rule needs to declare an 37 (`--platforms`). For that to work the rule needs to declare a dependency on 47 We advise to depend on both `_cc_toolchain` attr and on the toolchain type for 50 Bazel version is not needed), it's enough to only keep the toolchain type. 58 ctx: The rule context for which to find a toolchain. 67 …fail("In order to use find_cc_toolchain, your rule has to depend on C++ toolchain. See find_cc_too… 73 # Fall back to the legacy implicit attribute lookup. 78 …fail("In order to use find_cc_toolchain, your rule has to depend on C++ toolchain. See find_cc_too…
|
/build/make/tools/rbcrun/ |
D | README.md | 9 …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` 83 string. This is equivalent to Make's
|
/build/make/tools/zipalign/ |
D | README.txt | 15 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/soong/licenses/ |
D | LICENSE | 7 Unless required by applicable law or agreed to in writing, software 31 "control" means (i) the power, direct or indirect, to cause the 40 including but not limited to software source code, documentation 45 not limited to compiled object code, generated documentation, 46 and conversions to other media types. 50 copyright notice that is included in or attached to the work 58 separable from, or merely link (or bind by name) to the interfaces of, 63 to that Work or Derivative Works thereof, that is intentionally 64 submitted to Licensor for inclusion in the Work by the copyright owner 65 or by an individual or Legal Entity authorized to submit on behalf of [all …]
|
/build/blueprint/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/build/soong/cc/ |
D | sanitize_test.go | 131 expectSharedLinkDep := func(from, to android.TestingModule) { 134 toLink := to.Description("strip") 138 from.Module(), to.Module(), w, g) 144 expectStaticLinkDep := func(from, to android.TestingModule) { 147 toLink := to.Description("static link") 151 from.Module(), to.Module(), w, g) 158 expectInstallDep := func(from, to android.TestingModule) { 161 toInstalled := to.Description("install") 169 from.Module(), to.Module(), want, got)
|
/build/soong/ui/build/sandbox/darwin/ |
D | global.sb | 12 ; Allow writing to $OUT_DIR and $DIST_DIR 17 ; Java attempts to write usage data to ~/.oracle_jre_usage, just ignore 21 ; Allow writes to user-specific temp folders (Java stores hsperfdata there) 25 ; Allow writing to the terminal 38 ; Allow suid /bin/ps to function
|
/build/soong/scripts/ |
D | check_do_not_merge.sh | 19 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/blueprint/pathtools/ |
D | lists_test.go | 23 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/blueprint/bootstrap/ |
D | build.ninja | 4 # topFile - The path to the top-level Blueprints(etc) file 5 # extraArgs - Any extra arguments to pass to minibp (-t) 6 # bootstrapBuildDir - The path to the build directory
|