summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/soong/files/soong-no-bootstrap.patch')
-rw-r--r--dev-util/soong/files/soong-no-bootstrap.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/soong/files/soong-no-bootstrap.patch b/dev-util/soong/files/soong-no-bootstrap.patch
new file mode 100644
index 0000000..3104e68
--- /dev/null
+++ b/dev-util/soong/files/soong-no-bootstrap.patch
@@ -0,0 +1,12 @@
+Index: soong-9999/build/blueprint/bootstrap/command.go
+===================================================================
+--- soong-9999.orig/build/blueprint/bootstrap/command.go
++++ soong-9999/build/blueprint/bootstrap/command.go
+@@ -115,7 +115,6 @@ func Main(ctx *blueprint.Context, config
+ ctx.RegisterModuleType("bootstrap_go_binary", newGoBinaryModuleFactory(bootstrapConfig, StagePrimary))
+ ctx.RegisterModuleType("blueprint_go_binary", newGoBinaryModuleFactory(bootstrapConfig, StageMain))
+ ctx.RegisterTopDownMutator("bootstrap_stage", propagateStageBootstrap)
+- ctx.RegisterSingletonType("bootstrap", newSingletonFactory(bootstrapConfig))
+
+ ctx.RegisterSingletonType("glob", globSingletonFactory(ctx))
+