diff options
author | Paul Duffin <paulduffin@google.com> | 2021-07-06 10:55:35 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-07-06 22:20:24 +0100 |
commit | d564c3281892d6083c1d8f4764ede9a87344536b (patch) | |
tree | 78b06093e0712f0cf78d95784aef1c987f063003 /java/platform_bootclasspath.go | |
parent | bb2e205603d54e6f1a0e12f806410d0ca4271afa (diff) |
Switch boot image generation to use GetGlobalSoongConfig(ctx)
Previously, boot image generation used GetCachedGlobalSoongConfig(ctx)
in order to get access to the GlobalSoongConfig. That required that
some other part of the code had called GetGlobalSoongConfig(ctx) to
initialize the cached value. That was left over from when the boot
image generation was done in a singleton which could not call
GetGlobalSoongConfig(ctx) directly. That is no longer true.
This change switches the uses of GetCachedGlobalSoongConfig(ctx) to
GetGlobalSoongConfig(ctx) and removes the now unnecessary call to
GetGlobalSoongConfig(ctx) from outside the functions.
Bug: 192575099
Test: m nothing
Merged-In: I34b7b1526d072d8b09fda7caa96e381695888e16
Change-Id: I34b7b1526d072d8b09fda7caa96e381695888e16
(cherry picked from commit 8fc51a8eb6ca20dbb4b65822123201568bb297f1)
Diffstat (limited to 'java/platform_bootclasspath.go')
0 files changed, 0 insertions, 0 deletions