diff options
author | 2022-04-18 20:12:56 -0700 | |
---|---|---|
committer | 2022-04-20 20:02:28 -0700 | |
commit | a76acba5537fdde58cb79d3d0cf5cb5a259b631b (patch) | |
tree | ec116c37678077828983c65df7632d410cc6b115 /rust/testing.go | |
parent | fe118510297de80d59b2bf41d8b93582416b883d (diff) |
Add cross-referencing support for Rust
Bug: 222044478
Test: run TARGET_BUILD_VARIANT=userdebug TARGET_PRODUCT=cf_x86_64_phone XREF_CORPUS=googleplex-android.googlesource.com/codesearch/android build/soong/build_kzip.bash
Change-Id: Ia12eed53fafd0cbbbf2cc499fa20a0f5a40031de
Diffstat (limited to 'rust/testing.go')
-rw-r--r-- | rust/testing.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/testing.go b/rust/testing.go index cb98bed65..4796f691a 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -194,6 +194,7 @@ func registerRequiredBuildComponentsForTest(ctx android.RegistrationContext) { ctx.BottomUp("rust_begin", BeginMutator).Parallel() }) ctx.RegisterSingletonType("rust_project_generator", rustProjectGeneratorSingleton) + ctx.RegisterSingletonType("kythe_rust_extract", kytheExtractRustFactory) ctx.PostDepsMutators(func(ctx android.RegisterMutatorsContext) { ctx.BottomUp("rust_sanitizers", rustSanitizerRuntimeMutator).Parallel() }) |