summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2025-02-11 11:40:13 -0800
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-02-11 11:40:13 -0800
commit1dc3511441bae21a32481a22ef7ce8f61a7a2388 (patch)
tree4ef8d45c9ba3ab91eff15d5b8e4840b093dc017e /rust/rust.go
parent434953e9547aaa6d21c7a124a89f9a3695a9fc4d (diff)
parent6db3e6ffd9b89424d1c78917f80bfaf071c41902 (diff)
Merge changes from topics "apex_transition_info", "bcp_dependency_through_apex" into main am: 5c846d8349 am: 6db3e6ffd9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3470502 Change-Id: I9557fe50d5bdae792487fbc06e64c4b9473c65a9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index dfd39f739..ad68d6041 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -2124,6 +2124,9 @@ func (mod *Module) OutgoingDepIsInSameApex(depTag blueprint.DependencyTag) bool
}
func (mod *Module) IncomingDepIsInSameApex(depTag blueprint.DependencyTag) bool {
+ if mod.Host() {
+ return false
+ }
// TODO(b/362509506): remove once all apex_exclude uses are switched to stubs.
if mod.ApexExclude() {
return false