diff options
author | 2025-02-11 11:40:13 -0800 | |
---|---|---|
committer | 2025-02-11 11:40:13 -0800 | |
commit | 1dc3511441bae21a32481a22ef7ce8f61a7a2388 (patch) | |
tree | 4ef8d45c9ba3ab91eff15d5b8e4840b093dc017e /java/bootclasspath_fragment.go | |
parent | 434953e9547aaa6d21c7a124a89f9a3695a9fc4d (diff) | |
parent | 6db3e6ffd9b89424d1c78917f80bfaf071c41902 (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 'java/bootclasspath_fragment.go')
-rw-r--r-- | java/bootclasspath_fragment.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/bootclasspath_fragment.go b/java/bootclasspath_fragment.go index fd4b0a305..65a05798a 100644 --- a/java/bootclasspath_fragment.go +++ b/java/bootclasspath_fragment.go @@ -423,6 +423,9 @@ func (b *BootclasspathFragmentModule) OutgoingDepIsInSameApex(tag blueprint.Depe // Cross-cutting metadata dependencies are metadata. return false } + if tag == moduleInFragmentDepTag { + return true + } // Dependency to the bootclasspath fragment of another apex // e.g. concsrypt-bootclasspath-fragment --> art-bootclasspath-fragment if bcpTag, ok := tag.(bootclasspathDependencyTag); ok && bcpTag.typ == fragment { @@ -431,6 +434,15 @@ func (b *BootclasspathFragmentModule) OutgoingDepIsInSameApex(tag blueprint.Depe if tag == moduleInFragmentDepTag { return false } + if tag == dexpreopt.Dex2oatDepTag { + return false + } + if tag == android.PrebuiltDepTag { + return false + } + if _, ok := tag.(hiddenAPIStubsDependencyTag); ok { + return false + } panic(fmt.Errorf("boot_image module %q should not have a dependency tag %s", b, android.PrettyPrintTag(tag))) } |