Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71f4fc9e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge changes from topic "parallel-singletons" am: 47514686

parents bef24e82 47514686
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ func init() {
}

func RegisterAndroidMkBuildComponents(ctx RegistrationContext) {
	ctx.RegisterSingletonType("androidmk", AndroidMkSingleton)
	ctx.RegisterParallelSingletonType("androidmk", AndroidMkSingleton)
}

// Enable androidmk support.
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import (
)

func init() {
	RegisterSingletonType("api_levels", ApiLevelsSingleton)
	RegisterParallelSingletonType("api_levels", ApiLevelsSingleton)
}

const previewAPILevelBase = 9000
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import (

func init() {
	ctx := InitRegistrationContext
	ctx.RegisterSingletonModuleType("buildinfo_prop", buildinfoPropFactory)
	ctx.RegisterParallelSingletonModuleType("buildinfo_prop", buildinfoPropFactory)
}

type buildinfoPropProperties struct {
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ func init() {

// Register the gen_notice module type.
func RegisterGenNoticeBuildComponents(ctx RegistrationContext) {
	ctx.RegisterSingletonType("gen_notice_build_rules", GenNoticeBuildRulesFactory)
	ctx.RegisterParallelSingletonType("gen_notice_build_rules", GenNoticeBuildRulesFactory)
	ctx.RegisterModuleType("gen_notice", GenNoticeFactory)
}

+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ func readSoongMetrics(config Config) (SoongMetrics, bool) {
}

func init() {
	RegisterSingletonType("soong_metrics", soongMetricsSingletonFactory)
	RegisterParallelSingletonType("soong_metrics", soongMetricsSingletonFactory)
}

func soongMetricsSingletonFactory() Singleton { return soongMetricsSingleton{} }
Loading