summaryrefslogtreecommitdiff
path: root/rust/testing.go
diff options
context:
space:
mode:
authorThiƩbaud Weksteen <tweek@google.com>2020-09-29 09:53:21 +0200
committerThiƩbaud Weksteen <tweek@google.com>2020-09-29 20:23:49 +0200
commita6351caf1220538a61d03ab17efa8d85572d4bf9 (patch)
treee3f0a4caac014981cd018382762ccb787cdf4b5b /rust/testing.go
parent3805f5cd2e0a2e6b5cfc1dfa14931b99af6bdcab (diff)
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
Diffstat (limited to 'rust/testing.go')
-rw-r--r--rust/testing.go1
1 files changed, 1 insertions, 0 deletions
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)