diff options
| author | LaMont Jones <lamontjones@google.com> | 2023-05-16 00:58:37 +0000 |
|---|---|---|
| committer | LaMont Jones <lamontjones@google.com> | 2023-05-19 20:31:32 +0000 |
| commit | 0c10e4dcc027e341655e8eedc20bd77f9539a22b (patch) | |
| tree | 84843d33683b21c94e695d2251b1fe20c58cb4fb /dexpreopt | |
| parent | e59c0db5360b850b444c3bed9b92b0fd30b15e1e (diff) | |
Parallelize singleton execution
Bug: 281536768
Test: manual, presubmits
Change-Id: I57fdc76ba6b277e88e196b506af87127a530fd37
Diffstat (limited to 'dexpreopt')
| -rw-r--r-- | dexpreopt/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dexpreopt/config.go b/dexpreopt/config.go index 0cc3bd63b..e61ebe624 100644 --- a/dexpreopt/config.go +++ b/dexpreopt/config.go @@ -197,7 +197,7 @@ var pctx = android.NewPackageContext("android/soong/dexpreopt") func init() { pctx.Import("android/soong/android") - android.RegisterSingletonType("dexpreopt-soong-config", func() android.Singleton { + android.RegisterParallelSingletonType("dexpreopt-soong-config", func() android.Singleton { return &globalSoongConfigSingleton{} }) } |
