platform_build_soong/rust
Chih-Hung Hsieh c49649c059 Use protobuf-codegen default and add mod_stem.rs
* Upgrade to new protobuf-codegen; use its standard
  default output without local change.
* Allow a sourceProvider to have multiple output files.
  For a stem.proto file, output stem.rs and mod_stem.rs.
* New protobuf-codegen option gen_mod_rs always generates
  output file named "mod.rs". To generate multiple .proto
  files into the same output directory, we need to rename
  mod.rs to mod_<stem>.rs.
* Instead of using the gen_mod_rs option and renaming mod.rs
  to mod_<stem>.rs, we generate the same mod_<stem>.rs
  directly with a simple printf command.

Bug: 170256643
Test: atest -c --host --include-subdirs external/crosvm
Change-Id: Ia09e41029099a6de4d35c96dbabd9ba5514c9019
2020-10-09 13:38:37 -07:00
..
config Refactor OWNERS files in platform/build/soong. 2020-10-08 16:14:32 -07:00
Android.bp Add rust_protobuf module. 2020-08-31 14:05:39 -04:00
androidmk.go Use protobuf-codegen default and add mod_stem.rs 2020-10-09 13:38:37 -07:00
binary.go rust: Add static binary support 2020-10-02 12:31:23 -04:00
binary_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
bindgen.go Use protobuf-codegen default and add mod_stem.rs 2020-10-09 13:38:37 -07:00
bindgen_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
builder.go Keep only out file dependency rule in output .d files 2020-08-14 10:15:17 -07:00
builder_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
clippy.go rust: modify linting properties 2020-08-13 15:58:09 +02:00
clippy_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
compiler.go rust: Add static binary support 2020-10-02 12:31:23 -04:00
compiler_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
coverage.go Migrate away from removed option 2020-08-25 15:27:15 -07:00
coverage_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
library.go rust: Add static binary support 2020-10-02 12:31:23 -04:00
library_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
OWNERS Add Matt to OWNERS for Rust 2020-06-26 09:23:47 +02:00
prebuilt.go rust: strip libraries and binaries 2020-08-28 10:50:17 +02:00
proc_macro.go rust: strip libraries and binaries 2020-08-28 10:50:17 +02:00
project_json.go rust: Add ref to generated sources (aidl, bindgen) 2020-09-29 20:23:49 +02:00
project_json_test.go rust: refactor tests setup 2020-10-08 15:51:10 +02:00
protobuf.go Use protobuf-codegen default and add mod_stem.rs 2020-10-09 13:38:37 -07:00
protobuf_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
rust.go Use protobuf-codegen default and add mod_stem.rs 2020-10-09 13:38:37 -07:00
rust_test.go rust: refactor tests setup 2020-10-08 15:51:10 +02:00
source_provider.go Use protobuf-codegen default and add mod_stem.rs 2020-10-09 13:38:37 -07:00
source_provider_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
strip.go rust: strip libraries and binaries 2020-08-28 10:50:17 +02:00
test.go rust: Refactor staticStd to stdLinkage 2020-09-28 13:26:05 -04:00
test_test.go Make lots of tests run in parallel 2020-10-06 15:12:22 -07:00
testing.go rust: Add ref to generated sources (aidl, bindgen) 2020-09-29 20:23:49 +02:00