1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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))
Index: soong-9999/build/blueprint/bootstrap/glob.go
===================================================================
--- soong-9999.orig/build/blueprint/bootstrap/glob.go
+++ soong-9999/build/blueprint/bootstrap/glob.go
@@ -40,14 +40,13 @@ import (
// in a build failure with a "missing and no known rule to make it" error.
var (
- globCmd = filepath.Join("$BinDir", "bpglob")
+ globCmd = "bpglob"
// globRule rule traverses directories to produce a list of files that match $glob
// and writes it to $out if it has changed, and writes the directories to $out.d
GlobRule = pctx.StaticRule("GlobRule",
blueprint.RuleParams{
Command: fmt.Sprintf(`%s -o $out $excludes "$glob"`, globCmd),
- CommandDeps: []string{globCmd},
Description: "glob $glob",
Restat: true,
|