platform_build_soong/rust
Paul Duffin 77980a8bb9 Dedup registration for cc default test config
The cc.GatherRequiredDepsForTest() method returns some default module
definitions that are required when using cc module types like
cc_library. Previously, the registration of the module types and
mutators needed to process those default definitions was duplicated
in the test config initialization.

This change removes that duplicated code and replaces it with calls
to cc.RegisterRequiredBuildComponentsForTest(ctx) which registers all
the required build components.

Test: m checkbuild
Bug: 146540677
Change-Id: I80b6913c5691ff164ce9d308b9e1da24940f2d42
2019-12-19 19:19:40 +00:00
..
config Merge changes from topic "separate_code" 2019-12-16 21:13:28 +00:00
androidmk.go Generate tradefed config for rust device tests. 2019-12-02 17:44:53 +00:00
binary.go Install rust tests under nativetest(64) 2019-12-13 14:51:32 -08:00
binary_test.go Add rust_test and rust_test_host. 2019-10-29 17:19:03 -07:00
builder.go Add rust default compilation flags. 2019-11-20 10:14:33 -08:00
compiler.go Install rust tests under nativetest(64) 2019-12-13 14:51:32 -08:00
compiler_test.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
library.go Install rust tests under nativetest(64) 2019-12-13 14:51:32 -08:00
library_test.go Enforce correct rust library file names. 2019-11-04 09:20:08 -08:00
OWNERS Rust owners, fix syntax error and more specific 2019-10-25 10:14:49 -07:00
prebuilt.go Build Rust Device Sysroots in Soong 2019-11-13 17:46:19 -08:00
proc_macro.go Install rust tests under nativetest(64) 2019-12-13 14:51:32 -08:00
rust.go Install rust tests under nativetest(64) 2019-12-13 14:51:32 -08:00
rust_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
test.go Install rust tests under nativetest(64) 2019-12-13 14:51:32 -08:00
test_test.go Add TestProperties, gen test config, fix names 2019-11-14 15:16:26 -08:00
testing.go Dedup registration for cc default test config 2019-12-19 19:19:40 +00:00