Преглед изворни кода

Run "plugins" singleton in parallel with the rest.

This completes the changes in aosp/q/topic:"parallel-singletons".

(cherry picked from commit 30bf7fe32d0ba644cd181645fab3c714a9a11b2f)

Bug: 281536768
Test: manual, presubmits
Change-Id: I6529e957fbcca6c18441f823a00061db7556e303
LaMont Jones пре 1 година
родитељ
комит
9b44c2a725
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      android/plugin.go

+ 1 - 1
android/plugin.go

@@ -29,7 +29,7 @@ func init() {
 }
 
 func RegisterPluginSingletonBuildComponents(ctx RegistrationContext) {
-	ctx.RegisterSingletonType("plugins", pluginSingletonFactory)
+	ctx.RegisterParallelSingletonType("plugins", pluginSingletonFactory)
 }
 
 // pluginSingleton is a singleton to handle allowlisting of the final Android-<product_name>.mk file