diff options
author | 2024-04-04 09:56:15 +0900 | |
---|---|---|
committer | 2024-04-05 01:56:56 +0000 | |
commit | 37693d0a278f62f5a21aab1958440d86f3a78f0a (patch) | |
tree | e28a67f8a7dba20a1c57bc6447a733a7f697ce08 /rust/sanitize.go | |
parent | 4caca1d797c702f26ca42248a47ebe80c9cbe248 (diff) |
Deprecate Snapshot build
Existing snapshot code will no longer work from VNDK deprecation, but it
can give confusion to users if we keep code for the snapshot - and it
adds complexity on existing code while it is not in use. This change
removes all snapshot definition except host snapshot and its usage.
Bug: 330100430
Bug: 332986564
Test: AOSP CF build succeeded
Change-Id: Ieb6fa43d5e38315c662ce997bc305b744b367c24
Diffstat (limited to 'rust/sanitize.go')
-rw-r--r-- | rust/sanitize.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/rust/sanitize.go b/rust/sanitize.go index 3c08cd8fd..bfd397155 100644 --- a/rust/sanitize.go +++ b/rust/sanitize.go @@ -267,12 +267,6 @@ func rustSanitizerRuntimeMutator(mctx android.BottomUpMutatorContext) { if Bool(mod.sanitize.Properties.Sanitize.Diag.Memtag_heap) { noteDep = "note_memtag_heap_sync" } - // If we're using snapshots, redirect to snapshot whenever possible - // TODO(b/178470649): clean manual snapshot redirections - snapshot, _ := android.ModuleProvider(mctx, cc.SnapshotInfoProvider) - if lib, ok := snapshot.StaticLibs[noteDep]; ok { - noteDep = lib - } depTag := cc.StaticDepTag(true) variations := append(mctx.Target().Variations(), blueprint.Variation{Mutator: "link", Variation: "static"}) |