platform_build_soong/rust
Chih-Hung Hsieh a5f22ed6b0 Add rust_test and rust_test_host.
* Rust tests are like binary files compiled with --test.
  New test.go follows binary.go code patterns and reuses
  some code in binary.go.
* Generate one test per source file as testPerSrc in cc/test.go.
  The "all tests" variation feature of cc/test.go is not copied yet.
  Fix some Stem and SubName settings to make testPerSrc work.
* Move cc.CheckDuplicate to android.CheckDuplicate,
  which is now shared by cc and rust.
* Refactor tests in binary_test.go and add new test_test.go.

Bug: 140938178
Test: mm in rust projects, added rust_test and rust_test_host
Change-Id: Ia6fec8b4cf2572fd352ab1938a1f3c7b5cca2212
2019-10-29 17:19:03 -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 rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
binary.go Add AArch64 device Rust toolchain. 2019-09-24 10:35:28 -07:00
binary_test.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -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 rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
rust_test.go Add support for Rust C libraries. 2019-10-28 22:09:01 -07:00
test.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
test_test.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
testing.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00