diff options
| author | 2021-05-13 16:32:23 +0000 | |
|---|---|---|
| committer | 2021-05-13 16:32:23 +0000 | |
| commit | 4bbf45faefe7fadd610eadff84d3a7bc34b77e3f (patch) | |
| tree | 814a7bf1a9ba93c4243ad796a300829b0e249f2c /java/platform_bootclasspath.go | |
| parent | 820397deb2b7e01de4d3a5b84b0833ff41ff765e (diff) | |
| parent | 2fc82ad0443e4f54b25c2129f903dbf7e193d8a5 (diff) | |
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath"
Diffstat (limited to 'java/platform_bootclasspath.go')
| -rw-r--r-- | java/platform_bootclasspath.go | 4 |
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) } |