Merge pull request #301 from c-parsons/modulelistfile
This commit is contained in:
commit
1160e9826f
1 changed files with 5 additions and 5 deletions
|
@ -41,10 +41,10 @@ var (
|
||||||
traceFile string
|
traceFile string
|
||||||
runGoTests bool
|
runGoTests bool
|
||||||
noGC bool
|
noGC bool
|
||||||
moduleListFile string
|
|
||||||
emptyNinjaFile bool
|
emptyNinjaFile bool
|
||||||
|
|
||||||
BuildDir string
|
BuildDir string
|
||||||
|
ModuleListFile string
|
||||||
NinjaBuildDir string
|
NinjaBuildDir string
|
||||||
SrcDir string
|
SrcDir string
|
||||||
|
|
||||||
|
@ -105,9 +105,9 @@ func Main(ctx *blueprint.Context, config interface{}, extraNinjaFileDeps ...stri
|
||||||
}
|
}
|
||||||
|
|
||||||
SrcDir = filepath.Dir(flag.Arg(0))
|
SrcDir = filepath.Dir(flag.Arg(0))
|
||||||
if moduleListFile != "" {
|
if ModuleListFile != "" {
|
||||||
ctx.SetModuleListFile(moduleListFile)
|
ctx.SetModuleListFile(ModuleListFile)
|
||||||
extraNinjaFileDeps = append(extraNinjaFileDeps, moduleListFile)
|
extraNinjaFileDeps = append(extraNinjaFileDeps, ModuleListFile)
|
||||||
} else {
|
} else {
|
||||||
fatalf("-l <moduleListFile> is required and must be nonempty")
|
fatalf("-l <moduleListFile> is required and must be nonempty")
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ func Main(ctx *blueprint.Context, config interface{}, extraNinjaFileDeps ...stri
|
||||||
topLevelBlueprintsFile: flag.Arg(0),
|
topLevelBlueprintsFile: flag.Arg(0),
|
||||||
emptyNinjaFile: emptyNinjaFile,
|
emptyNinjaFile: emptyNinjaFile,
|
||||||
runGoTests: runGoTests,
|
runGoTests: runGoTests,
|
||||||
moduleListFile: moduleListFile,
|
moduleListFile: ModuleListFile,
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.RegisterBottomUpMutator("bootstrap_plugin_deps", pluginDeps)
|
ctx.RegisterBottomUpMutator("bootstrap_plugin_deps", pluginDeps)
|
||||||
|
|
Loading…
Reference in a new issue