platform_build_soong/rust
Jeff Vander Stoep c1490ec25e Add option to use protobuf3
Users of the rust_protobuf module can use the 'use_protobuf3'
option to select version 3 of the protobuf crate instead of the
current default of version 2. This unblocks teams that would like
to use protobuf 3 immediately and provides a mechanism for us to
incrementally migrate users of protobuf 2 to protobuf 3.

Test: Adds tests that are executed during every build.
Bug: 270895633
Change-Id: Ib6a18b77cfa7dc3cc604cea05269004b3712bbb6
2023-04-24 11:33:50 +02:00
..
config Pass -Wl,--as-needed when linking Rust binaries. 2023-04-14 17:36:57 -07: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 Fix the make name of rust snapshots 2023-03-16 11:05:41 +09: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 Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
binary_test.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
bindgen.go Revert^2 "Update clang version to clang-r487747" 2023-03-23 14:14:31 +00:00
bindgen_test.go
builder.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
builder_test.go
clippy.go
clippy_test.go Convert remaining rust tests to use test fixtures 2021-03-30 22:45:21 +01:00
compiler.go rust: Set android_vendor and android_product cfg 2023-02-24 19:21:08 +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 rust: doc: Zip up docs when done 2021-08-20 13:08:16 -07:00
fuzz.go Copy Rust fuzzer dependencies to /data. 2023-02-06 13:48:23 -05:00
fuzz_test.go Update RustDefaultVersion to 1.59.0 2022-03-02 19:54:47 +00:00
image.go rust: Enable Rust modules in Product 2023-01-24 16:39:52 -08:00
image_test.go rust: Set android_vendor and android_product cfg 2023-02-24 19:21:08 +00:00
library.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
library_test.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07: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 Add cross-referencing support for Rust 2022-04-20 20:02:28 -07:00
proc_macro_test.go Pass "--extern proc_macro" to rust_proc_macros. 2021-09-23 10:34:24 -07:00
project_json.go Support rust_toolchain_library for rust-project 2021-12-08 17:54:19 +11:00
project_json_test.go Include proc macro crates in rust-project.json 2021-10-06 19:39:06 +00:00
protobuf.go Add option to use protobuf3 2023-04-24 11:33:50 +02:00
protobuf_test.go Add option to use protobuf3 2023-04-24 11:33:50 +02:00
rust.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
rust_test.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
sanitize.go Driveby: remove duplicate condition 2022-10-12 19:30:15 +00:00
sanitize_test.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00
snapshot_prebuilt.go Add cross-referencing support for Rust 2022-04-20 20:02:28 -07:00
snapshot_utils.go Include static lib information for the snapshot modules 2021-07-01 11:42:28 +00:00
source_provider.go Remove unused field 'subAndroidMkOnce'. 2023-01-26 14:06:35 +00:00
source_provider_test.go
strip.go
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 Add option to use protobuf3 2023-04-24 11:33:50 +02:00
toolchain_library.go rust: Add rust_toolchain_library module. 2021-11-16 08:51:48 -05:00
vendor_snapshot_test.go Split Rust crate builds into compile and link phases. 2023-04-12 15:51:41 -07:00