diff options
author | 2025-02-06 15:03:12 -0800 | |
---|---|---|
committer | 2025-02-06 16:18:54 -0800 | |
commit | c340fd56d7ccbaa59a1d67e95b162d23099f75a3 (patch) | |
tree | 013b02c7eff9a6182bc6b6c32a2f4d11b3eb0065 /rust | |
parent | e4762bac43777e5a3f0472ed37342c59bf29d626 (diff) |
Revert "rust: Define UseSdk for Rust modules"
Revert submission 3478292
Reason for revert: Nil dereference in Soong when linking Rust into a module affected by the SDK mutator.
Reverted changes: /q/submissionid:3478292
Change-Id: I8805da3d7bd6f9da19ba86b72d228e0ef7e213df
Diffstat (limited to 'rust')
-rw-r--r-- | rust/rust.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rust/rust.go b/rust/rust.go index 7880dee8c..81c33e688 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -377,9 +377,6 @@ func (mod *Module) Toc() android.OptionalPath { } func (mod *Module) UseSdk() bool { - if cc.CanUseSdk(mod) { - return String(mod.Properties.Sdk_version) != "" - } return false } |