platform_build_soong/rust
Sam Delmerico a588d153c8 support sandboxed rust rules
This commit adds support for compiling rust rules inside the sbox
sandbox. To compile a rust module with sandboxing enabled, the entry
point to the crate must be specified via the `crate_root` property, and
all input sources and compile-time data must be specified via the `srcs`
and `compile_data` properties.

Bug: 286077158
Change-Id: I8c9dc5cf7578037a583b4be2e2f73cf20ffd4408
2023-09-15 22:46:56 +00:00
..
config support sandboxed rust rules 2023-09-15 22:46:56 +00:00
afdo.go Reimplement afdo support for rust 2023-03-31 17:55:16 -04:00
afdo_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
Android.bp Add tests to verify more use cases of afdo in cc and rust 2023-03-27 14:01:40 -04:00
androidmk.go Add transitive shared libs to LOCAL_SHARED_LIBRARIES for rust modules 2023-08-17 17:42:26 -07:00
benchmark.go Allow adding extra tradefed options in the Android.bp file 2023-01-03 12:47:11 -08:00
benchmark_test.go Add rust_benchmark module to soong. 2021-04-06 12:40:32 +02:00
binary.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
binary_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
bindgen.go Update rust bindgen to clang-r498229b 2023-09-07 07:18:50 +00:00
bindgen_test.go rust: Add Bindgen_flag_files property 2023-07-27 07:03:14 +00:00
builder.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
builder_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
clippy.go rust: modify linting properties 2020-08-13 15:58:09 +02:00
clippy_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
compiler.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
compiler_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
coverage.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
coverage_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
doc.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
fuzz.go rust: Rust sanitized snapshots variations 2023-08-25 12:54:56 -04:00
fuzz_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
image.go rust: Enable Product support for dylibs. 2023-07-21 14:02:21 -04:00
image_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
library.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
library_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
OWNERS rust: Rust is now GA for platform usage 2022-07-28 06:57:26 -07:00
prebuilt.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
proc_macro.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
proc_macro_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
project_json.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
project_json_test.go Include proc macro crates in rust-project.json 2021-10-06 19:39:06 +00:00
protobuf.go Implement bp2build converter for rust_protobuf_host 2023-08-25 18:00:33 -04:00
protobuf_test.go Add option to use protobuf3 2023-04-24 11:33:50 +02:00
rust.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
rust_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
sanitize.go Disable rust sanitizers for linux_musl_x86 2023-09-05 12:10:54 -07:00
sanitize_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
snapshot_prebuilt.go rust: Rust sanitized snapshots variations 2023-08-25 12:54:56 -04:00
snapshot_utils.go rust: Add vendor and recovery dylib support. 2023-07-14 12:43:09 -04:00
source_provider.go Remove unused field 'subAndroidMkOnce'. 2023-01-26 14:06:35 +00:00
source_provider_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
strip.go Add comments to {cc,rust}/strip.go 2020-11-19 20:02:34 +01:00
test.go Use the same rpaths for tests and binaries and cc and rust 2023-01-11 16:04:19 -08:00
test_test.go Put rust_test.data_libs under lib[64] 2022-04-28 23:55:43 +00:00
testing.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00
toolchain_library.go Revert^2 "add crate_root property to rust modules" 2023-09-15 22:41:51 +00:00
vendor_snapshot_test.go support sandboxed rust rules 2023-09-15 22:46:56 +00:00