summaryrefslogtreecommitdiff
path: root/rust/testing.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-11-16 23:11:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-16 23:11:10 +0000
commitf15c0558bfdd87b2b04f6f074142bd9b35ee1011 (patch)
tree3cffc766909404fcfdd1717adf6e982537f1e44b /rust/testing.go
parentbc1f77e59017ee55fbdaff0d0d8f5cd82d85b47d (diff)
parent62a0cfd05460d0e760ce9133690e48861bb57eee (diff)
Merge changes Ic22603a5,I5330b571
* changes: Annotate dependency tags for dependencies of installed files Use the the preferred architecture symlink as the tool path if it exists
Diffstat (limited to 'rust/testing.go')
-rw-r--r--rust/testing.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/rust/testing.go b/rust/testing.go
index 66877a907..001f322d8 100644
--- a/rust/testing.go
+++ b/rust/testing.go
@@ -17,7 +17,6 @@ package rust
import (
"android/soong/android"
"android/soong/cc"
- "android/soong/genrule"
)
func GatherRequiredDepsForTest() string {
@@ -132,7 +131,6 @@ func CreateTestContext(config android.Config) *android.TestContext {
android.RegisterPrebuiltMutators(ctx)
ctx.PreArchMutators(android.RegisterDefaultsPreArchMutators)
cc.RegisterRequiredBuildComponentsForTest(ctx)
- ctx.RegisterModuleType("genrule", genrule.GenRuleFactory)
ctx.RegisterModuleType("rust_binary", RustBinaryFactory)
ctx.RegisterModuleType("rust_binary_host", RustBinaryHostFactory)
ctx.RegisterModuleType("rust_bindgen", RustBindgenFactory)