Lines Matching refs:to
3 `cargo_embargo` is a tool to generate `Android.bp` files automatically for external Rust crates
4 which are intended to build with cargo. It can be built with `m cargo_embargo` and run with
15 multiple variants are used in some cases to provide both `std` and `no_std` variants of a package.
46 If a package is not included in the `package` map then it is assumed to use default options. If the
48 there is assumed to be a single variant. Thus `{}` is a valid config file for a single variant with
60 This expands to a single variant with the given options, and all packages (i.e. the only one) using
69 … | `false` | Whether to output `rust_test` m…
70 … | Set of features to enable. If not set, …
71 … | `false` | Whether to build with `--worksp…
73 … | - | Value to use for every genera…
74 … | `["//apex_available:platform", "//apex_available:anyapex"]` | Value to use for every genera…
75 … | `false` | Value to use for every genera…
76 … | `true` | Value to use for every genera…
77 … | `false` | Value to use for every genera…
78 … | `false` | Value to use for every genera…
79 … | `true` | Value to use for every genera…
80 … | `false` | Value to use for every genera…
84 … | Extra `cfg` flags to enable in output mod…
87 … | `true` | Whether to run the cargo build …
89 Of particular note, it is preferable to set `run_cargo` to `false` where possible as it is
91 packages with a `build.rs`, so it is recommended to run with `run_cargo` set to `true` initially,
92 and then compare the output when it is changed to `false`.
101 …path | - | no | File with content to append to the end of the …
102 | `patch` | path | - | no | Patch file to apply…
104 …oolean | `true` | yes | Whether to compile for device. Defaults to true…
105 …boolean | `true` | yes | Whether to compile for host. Defaults to true.…
106 … | `false` | yes | Add a `compile_multilib: "first"` property to host modules. …
108 | `no_presubmit` | boolean | `false` | yes | Whether to disable …
109 …path | - | yes | File with content to append to the end of each…
112 … | `false` | yes | Copy `build.rs` output to `./out/*` and add a genrule to copy `./out/*…
113 …yes | Add the given files to the given tests' `data` property. The key is the test source …
115 …st of paths | `[]` | yes | Directories with headers to export for C usage. …
125 This will attempt to generate a suitable `cargo_embargo.json` for the package in the current