summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Inseob Kim <inseob@google.com> 2023-07-11 13:31:36 +0900
committer Inseob Kim <inseob@google.com> 2023-07-18 12:38:08 +0000
commit3b24406ddaa13ad0caf31f435ede9370f7becad7 (patch)
treefd999fced364e873f37c4da8713db1bb0daf2711 /rust/rust.go
parent921a465919d8b0f50084faf3157041cf1acd3994 (diff)
Create one rule per one corpus/data files
To avoid MAX_ARG_STRLEN hardlimit. Test: build and check intermediate directory Change-Id: I44db1ed14cae4de6ace5b25a392d394d0f9f617a
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index e524c9fb6..d180bb21f 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -43,6 +43,7 @@ func init() {
android.PostDepsMutators(func(ctx android.RegisterMutatorsContext) {
ctx.BottomUp("rust_sanitizers", rustSanitizerRuntimeMutator).Parallel()
})
+ pctx.Import("android/soong/android")
pctx.Import("android/soong/rust/config")
pctx.ImportAs("cc_config", "android/soong/cc/config")
android.InitRegistrationContext.RegisterParallelSingletonType("kythe_rust_extract", kytheExtractRustFactory)