summaryrefslogtreecommitdiff
path: root/java/platform_bootclasspath.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/platform_bootclasspath.go
parent820397deb2b7e01de4d3a5b84b0833ff41ff765e (diff)
parent2fc82ad0443e4f54b25c2129f903dbf7e193d8a5 (diff)
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath"
Diffstat (limited to 'java/platform_bootclasspath.go')
-rw-r--r--java/platform_bootclasspath.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/platform_bootclasspath.go b/java/platform_bootclasspath.go
index eccea6172..1feed3ddd 100644
--- a/java/platform_bootclasspath.go
+++ b/java/platform_bootclasspath.go
@@ -458,5 +458,9 @@ func (b *platformBootclasspathModule) generateBootImageBuildActions(ctx android.
config := GetUpdatableBootConfig(ctx)
copyBootJarsToPredefinedLocations(ctx, updatableModules, config.modules, config.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)
+
dumpOatRules(ctx, imageConfig)
}