platform_build_soong/rust
Ivan Lozano 52767be335 Add support for Rust C libraries.
Adds the ability for rust modules to be compiled as C libraries, and
allows cc modules to depend on these rust-generated modules. This also
means that soong-rust should not have any dependencies on soong-cc aside
from what's required for testing.

There's a couple small fixes included as well:

 - A bug in libNameFromFilePath that caused issues when library's had
 "lib" in their name.
 - VariantName is removed from rust library MutatedProperties since this
 was unused.

Bug: 140726209
Test: Soong tests pass.
Test: Example cc_binary can include a rust shared library as a dep.
Test: m crosvm.experimental
Change-Id: Ia7deed1345d2423001089014cc65ce7934123da4
2019-10-28 22:09:01 -07:00
..
config Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
OWNERS Rust owners, fix syntax error and more specific 2019-10-25 10:14:49 -07:00
androidmk.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
binary.go Add AArch64 device Rust toolchain. 2019-09-24 10:35:28 -07:00
binary_test.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
builder.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
compiler.go Merge "Remove old-style support for translated second architectures" 2019-10-07 20:48:07 +00:00
compiler_test.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
library.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
library_test.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
prebuilt.go Add AArch64 device Rust toolchain. 2019-09-24 10:35:28 -07:00
proc_macro.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
rust.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
rust_test.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
testing.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00