platform_build_soong/rust
Ivan Lozano 6eff900b67 Merge rust_protobuf and rust_grpcio module types.
To allow grpc protobufs to include non-grpc protos in a singular
library, we need to allow them to be defined as part of the same module.

This CL merges the two previously distinct module types into
rust_protobuf, and adds a new property for declaring which protos
contain grpc definitions.

Bug: 172952239
Test: rust_grpcio modules converted to rust_protobuf modules and build.
Test: Example rust_protobuf module with both proto types builds.
Change-Id: I0e627fd97bc6f74de89d309e3344694a1e76586d
2020-12-11 16:19:02 -05:00
..
config Merge "Add LinuxBionic toolchain to Rust" 2020-12-08 22:04:49 +00:00
Android.bp Rust: Vendor support for Rust static libraries. 2020-12-10 10:29:54 -05:00
androidmk.go Rust: Vendor support for Rust static libraries. 2020-12-10 10:29:54 -05:00
binary.go Move prefer_rlib from binary to base compiler. 2020-12-09 09:55:12 -05:00
binary_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
bindgen.go rust: Add header library support to rust_bindgen. 2020-11-17 13:40:50 -05:00
bindgen_test.go rust: Add header library support to rust_bindgen. 2020-11-17 13:40:50 -05:00
builder.go Rust: WriteFileRule instead of printf for protos 2020-12-10 15:35:05 -05: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 rust modules can be included in apex 2020-11-30 15:40:48 +00:00
compiler.go Move prefer_rlib from binary to base compiler. 2020-12-09 09:55:12 -05:00
compiler_test.go rust modules can be included in apex 2020-11-30 15:40:48 +00:00
coverage.go Migrate away from removed option 2020-08-25 15:27:15 -07:00
coverage_test.go rust: Fix incorrect expected gcno file for dylibs 2020-11-17 08:08:21 -05:00
image.go Rust: Vendor support for Rust static libraries. 2020-12-10 10:29:54 -05:00
image_test.go Rust: Vendor support for Rust static libraries. 2020-12-10 10:29:54 -05:00
library.go Merge "Rust: WriteFileRule instead of printf for protos" 2020-12-11 19:14:29 +00:00
library_test.go Move prefer_rlib from binary to base compiler. 2020-12-09 09:55:12 -05:00
OWNERS Add Matt to OWNERS for Rust 2020-06-26 09:23:47 +02:00
prebuilt.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
proc_macro.go rust: strip libraries and binaries 2020-08-28 10:50:17 +02:00
project_json.go Add dependencies for source-generated crates 2020-12-07 14:45:09 +01:00
project_json_test.go Add dependencies for source-generated crates 2020-12-07 14:45:09 +01:00
protobuf.go Merge rust_protobuf and rust_grpcio module types. 2020-12-11 16:19:02 -05:00
protobuf_test.go Merge rust_protobuf and rust_grpcio module types. 2020-12-11 16:19:02 -05:00
rust.go Merge "Rust: WriteFileRule instead of printf for protos" 2020-12-11 19:14:29 +00:00
rust_test.go Merge rust_protobuf and rust_grpcio module types. 2020-12-11 16:19:02 -05:00
source_provider.go rust: Add support for multiple protos per module. 2020-11-30 14:55:00 +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 Add unit_test test option in test configs 2020-11-16 11:05:00 -08:00
test_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
testing.go Merge rust_protobuf and rust_grpcio module types. 2020-12-11 16:19:02 -05:00