From a6351caf1220538a61d03ab17efa8d85572d4bf9 Mon Sep 17 00:00:00 2001 From: ThiƩbaud Weksteen Date: Tue, 29 Sep 2020 09:53:21 +0200 Subject: rust: Add ref to generated sources (aidl, bindgen) Test: SOONG_GEN_RUST_PROJECT=1 m nothing; Edit system/security/keystore2/selinux/src/lib.rs; Check name resolution in IDE. Bug: 168263887 Change-Id: Icbbf176c4355c3043807ce3fe0c3967c4a1374e2 --- rust/testing.go | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/testing.go') diff --git a/rust/testing.go b/rust/testing.go index ee303ed02..42b0da171 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -117,6 +117,7 @@ func CreateTestContext() *android.TestContext { ctx.RegisterModuleType("rust_binary", RustBinaryFactory) ctx.RegisterModuleType("rust_binary_host", RustBinaryHostFactory) ctx.RegisterModuleType("rust_bindgen", RustBindgenFactory) + ctx.RegisterModuleType("rust_bindgen_host", RustBindgenHostFactory) ctx.RegisterModuleType("rust_test", RustTestFactory) ctx.RegisterModuleType("rust_test_host", RustTestHostFactory) ctx.RegisterModuleType("rust_library", RustLibraryFactory) -- cgit v1.2.3-59-g8ed1b