platform_build_soong/rust/config
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
..
arm64_device.go Add AArch64 device Rust toolchain. 2019-09-24 10:35:28 -07:00
arm_device.go Add ARM32 device Rust toolchain. 2019-09-24 10:35:28 -07:00
global.go Fix defaults of BaseCompilerProperties 2019-10-03 09:47:06 -07:00
toolchain.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
whitelist.go Allow rust code in external/rust. 2019-10-25 10:08:57 -07:00
x86_64_device.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
x86_darwin_host.go Add Rust darwin host support. 2019-10-21 13:15:10 -07:00
x86_linux_host.go Add AArch64 device Rust toolchain. 2019-09-24 10:35:28 -07:00