summaryrefslogtreecommitdiff
path: root/java/systemserver_classpath_fragment.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-08-26 22:27:57 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-26 22:27:57 +0000
commit18c2607bdedad5a9236f1b39d54388572be1f3ba (patch)
tree146537346917cecccd9bcb1c9d8898323cf03de8 /java/systemserver_classpath_fragment.go
parent91a1e9f894a2659f1e7d4d271de785bc8d2d4231 (diff)
parent746161db0ced6241ec190e747ec37820e93ac018 (diff)
Merge "Move installation rules of dexpreopt'd apex systemserver jars to soong" into main
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
-rw-r--r--java/systemserver_classpath_fragment.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/systemserver_classpath_fragment.go b/java/systemserver_classpath_fragment.go
index bad2cf1cf..3225a3a4d 100644
--- a/java/systemserver_classpath_fragment.go
+++ b/java/systemserver_classpath_fragment.go
@@ -216,6 +216,11 @@ func IsSystemServerClasspathFragmentContentDepTag(tag blueprint.DependencyTag) b
return tag == systemServerClasspathFragmentContentDepTag
}
+// The dexpreopt artifacts of apex system server jars are installed onto system image.
+func (s systemServerClasspathFragmentContentDependencyTag) InstallDepNeeded() bool {
+ return true
+}
+
func (s *SystemServerClasspathModule) ComponentDepsMutator(ctx android.BottomUpMutatorContext) {
module := ctx.Module()
_, isSourceModule := module.(*SystemServerClasspathModule)