summaryrefslogtreecommitdiff
path: root/java/bootclasspath_fragment.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-05-13 16:32:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-05-13 16:32:23 +0000
commit4bbf45faefe7fadd610eadff84d3a7bc34b77e3f (patch)
tree814a7bf1a9ba93c4243ad796a300829b0e249f2c /java/bootclasspath_fragment.go
parent820397deb2b7e01de4d3a5b84b0833ff41ff765e (diff)
parent2fc82ad0443e4f54b25c2129f903dbf7e193d8a5 (diff)
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath"
Diffstat (limited to 'java/bootclasspath_fragment.go')
-rw-r--r--java/bootclasspath_fragment.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/bootclasspath_fragment.go b/java/bootclasspath_fragment.go
index 5b1be22c5..20421defd 100644
--- a/java/bootclasspath_fragment.go
+++ b/java/bootclasspath_fragment.go
@@ -478,6 +478,10 @@ func (b *BootclasspathFragmentModule) generateBootImageBuildActions(ctx android.
// Copy the dex jars of this fragment's content modules to their predefined locations.
copyBootJarsToPredefinedLocations(ctx, contents, imageConfig.modules, imageConfig.dexPaths)
+
+ // Build a profile for the image config and then use that to build the boot image.
+ profile := bootImageProfileRule(ctx, imageConfig)
+ buildBootImage(ctx, imageConfig, profile)
}
type bootclasspathFragmentMemberType struct {