platform_build_soong/rust
Sam Delmerico 553edff9dd add crate_root property to rust modules
The crate_root property will be used to specify the entry point for a
rustc compilation. This will allow the srcs property to be used to
collect all src inputs to rustc rather than just the entry point.

Bug: 286077158
Test: m libnum_traits
Change-Id: I1a167182305dcc11cc927d562ceed622153111d3
2023-08-31 18:03:33 +00:00
..
config rust: Rust sanitized snapshots variations 2023-08-25 12:54:56 -04:00
afdo.go Reimplement afdo support for rust 2023-03-31 17:55:16 -04:00
afdo_test.go Reimplement afdo support for rust 2023-03-31 17:55:16 -04: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 add crate_root property to rust modules 2023-08-31 18:03:33 +00:00
binary_test.go Add transitive shared libs to LOCAL_SHARED_LIBRARIES for rust modules 2023-08-17 17:42:26 -07:00
bindgen.go Remove dylibs prop from rust module types 2023-08-14 14:03:28 -04:00
bindgen_test.go rust: Add Bindgen_flag_files property 2023-07-27 07:03:14 +00:00
builder.go Darwin/Mac OS host rust compilation fixes 2023-08-03 16:26:44 -07: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 Convert remaining rust tests to use test fixtures 2021-03-30 22:45:21 +01:00
compiler.go add crate_root property to rust modules 2023-08-31 18:03:33 +00:00
compiler_test.go Flag an error on empty rust module srcs 2021-10-14 15:25:07 +00:00
coverage.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
coverage_test.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07: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 rust: Add support for host fuzzers. 2023-08-10 09:48:13 -04:00
image.go rust: Enable Product support for dylibs. 2023-07-21 14:02:21 -04:00
image_test.go rust: Set android_vendor and android_product cfg 2023-02-24 19:21:08 +00:00
library.go add crate_root property to rust modules 2023-08-31 18:03:33 +00:00
library_test.go Add test to confirm -L flag for cc deps in rust 2023-08-17 16:54:48 -04:00
OWNERS rust: Rust is now GA for platform usage 2022-07-28 06:57:26 -07:00
prebuilt.go Add cross-referencing support for Rust 2022-04-20 20:02:28 -07:00
proc_macro.go Implement bp2build converter for rust_proc_macro 2023-08-25 17:50:48 -04:00
proc_macro_test.go Pass "--extern proc_macro" to rust_proc_macros. 2021-09-23 10:34:24 -07: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 Implement bp2build converter for rust_protobuf_host 2023-08-25 18:00:33 -04:00
rust_test.go Add transitive shared libs to LOCAL_SHARED_LIBRARIES for rust modules 2023-08-17 17:42:26 -07:00
sanitize.go rust: Add support for host fuzzers. 2023-08-10 09:48:13 -04:00
sanitize_test.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07: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 rust: Add support for host fuzzers. 2023-08-10 09:48:13 -04:00
toolchain_library.go add crate_root property to rust modules 2023-08-31 18:03:33 +00:00
vendor_snapshot_test.go Add transitive shared libs to LOCAL_SHARED_LIBRARIES for rust modules 2023-08-17 17:42:26 -07:00