f5bd828a14
Updates the Blueprints file to the new format and standard layout. Change-Id: I1bfb67ab106c2a61fbe6f8201195efc3f8ff5566
238 lines
10 KiB
Text
238 lines
10 KiB
Text
# ******************************************************************************
|
|
# *** This file is generated and should not be edited ***
|
|
# ******************************************************************************
|
|
#
|
|
# This file contains variables, rules, and pools with name prefixes indicating
|
|
# they were generated by the following Go packages:
|
|
#
|
|
# bootstrap [from Go package blueprint/bootstrap]
|
|
#
|
|
ninja_required_version = 1.1.0
|
|
|
|
g.bootstrap.bootstrapCmd = @@Bootstrap@@
|
|
|
|
g.bootstrap.bootstrapManifest = @@BootstrapManifest@@
|
|
|
|
g.bootstrap.goRoot = @@GoRoot@@
|
|
|
|
g.bootstrap.goOS = @@GoOS@@
|
|
|
|
g.bootstrap.goArch = @@GoArch@@
|
|
|
|
g.bootstrap.goToolDir = ${g.bootstrap.goRoot}/pkg/tool/${g.bootstrap.goOS}_${g.bootstrap.goArch}
|
|
|
|
g.bootstrap.goChar = @@GoChar@@
|
|
|
|
g.bootstrap.gcCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}g
|
|
|
|
g.bootstrap.linkCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}l
|
|
|
|
g.bootstrap.srcDir = @@SrcDir@@
|
|
|
|
builddir = .bootstrap
|
|
|
|
rule g.bootstrap.bootstrap
|
|
command = ${g.bootstrap.bootstrapCmd} -i ${in}
|
|
description = bootstrap ${in}
|
|
generator = true
|
|
|
|
rule g.bootstrap.cp
|
|
command = cp ${in} ${out}
|
|
description = cp ${out}
|
|
|
|
rule g.bootstrap.gc
|
|
command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.gcCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
|
|
description = ${g.bootstrap.goChar}g ${out}
|
|
|
|
rule g.bootstrap.link
|
|
command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
|
|
description = ${g.bootstrap.goChar}l ${out}
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint
|
|
# Type: bootstrap_go_package
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
|
# Defined: Blueprints:1:1
|
|
|
|
build .bootstrap/blueprint/pkg/blueprint.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/context.go ${g.bootstrap.srcDir}/live_tracker.go $
|
|
${g.bootstrap.srcDir}/mangle.go ${g.bootstrap.srcDir}/module_ctx.go $
|
|
${g.bootstrap.srcDir}/ninja_defs.go $
|
|
${g.bootstrap.srcDir}/ninja_strings.go $
|
|
${g.bootstrap.srcDir}/ninja_writer.go $
|
|
${g.bootstrap.srcDir}/package_ctx.go ${g.bootstrap.srcDir}/scope.go $
|
|
${g.bootstrap.srcDir}/singleton_ctx.go ${g.bootstrap.srcDir}/unpack.go $
|
|
| ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg
|
|
pkgPath = blueprint
|
|
default .bootstrap/blueprint/pkg/blueprint.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-bootstrap
|
|
# Type: bootstrap_go_package
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
|
# Defined: Blueprints:55:1
|
|
|
|
build .bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/bootstrap/bootstrap.go $
|
|
${g.bootstrap.srcDir}/bootstrap/cleanup.go $
|
|
${g.bootstrap.srcDir}/bootstrap/command.go $
|
|
${g.bootstrap.srcDir}/bootstrap/config.go $
|
|
${g.bootstrap.srcDir}/bootstrap/doc.go | ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/blueprint.a $
|
|
.bootstrap/blueprint-deptools/pkg/blueprint/deptools.a $
|
|
.bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg
|
|
pkgPath = blueprint/bootstrap
|
|
default .bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-deptools
|
|
# Type: bootstrap_go_package
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
|
# Defined: Blueprints:34:1
|
|
|
|
build .bootstrap/blueprint-deptools/pkg/blueprint/deptools.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/deptools/depfile.go | ${g.bootstrap.gcCmd}
|
|
pkgPath = blueprint/deptools
|
|
default .bootstrap/blueprint-deptools/pkg/blueprint/deptools.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-parser
|
|
# Type: bootstrap_go_package
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
|
# Defined: Blueprints:23:1
|
|
|
|
build .bootstrap/blueprint-parser/pkg/blueprint/parser.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/parser/modify.go $
|
|
${g.bootstrap.srcDir}/parser/parser.go $
|
|
${g.bootstrap.srcDir}/parser/printer.go $
|
|
${g.bootstrap.srcDir}/parser/sort.go | ${g.bootstrap.gcCmd}
|
|
pkgPath = blueprint/parser
|
|
default .bootstrap/blueprint-parser/pkg/blueprint/parser.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-pathtools
|
|
# Type: bootstrap_go_package
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
|
# Defined: Blueprints:40:1
|
|
|
|
build .bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/pathtools/lists.go $
|
|
${g.bootstrap.srcDir}/pathtools/glob.go | ${g.bootstrap.gcCmd}
|
|
pkgPath = blueprint/pathtools
|
|
default .bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-proptools
|
|
# Type: bootstrap_go_package
|
|
# Factory: blueprint/bootstrap.newGoPackageModule
|
|
# Defined: Blueprints:49:1
|
|
|
|
build .bootstrap/blueprint-proptools/pkg/blueprint/proptools.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/proptools/proptools.go | ${g.bootstrap.gcCmd}
|
|
pkgPath = blueprint/proptools
|
|
default .bootstrap/blueprint-proptools/pkg/blueprint/proptools.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: bpfmt
|
|
# Type: bootstrap_go_binary
|
|
# Factory: blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: Blueprints:81:1
|
|
|
|
build .bootstrap/bpfmt/obj/bpfmt.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/bpfmt/bpfmt.go | ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg
|
|
pkgPath = bpfmt
|
|
default .bootstrap/bpfmt/obj/bpfmt.a
|
|
|
|
build .bootstrap/bpfmt/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/bpfmt/obj/bpfmt.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg
|
|
default .bootstrap/bpfmt/obj/a.out
|
|
|
|
build .bootstrap/bin/bpfmt: g.bootstrap.cp .bootstrap/bpfmt/obj/a.out
|
|
default .bootstrap/bin/bpfmt
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: bpmodify
|
|
# Type: bootstrap_go_binary
|
|
# Factory: blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: Blueprints:87:1
|
|
|
|
build .bootstrap/bpmodify/obj/bpmodify.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/bpmodify/bpmodify.go | ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg
|
|
pkgPath = bpmodify
|
|
default .bootstrap/bpmodify/obj/bpmodify.a
|
|
|
|
build .bootstrap/bpmodify/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/bpmodify/obj/bpmodify.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg
|
|
default .bootstrap/bpmodify/obj/a.out
|
|
|
|
build .bootstrap/bin/bpmodify: g.bootstrap.cp .bootstrap/bpmodify/obj/a.out
|
|
default .bootstrap/bin/bpmodify
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: minibp
|
|
# Type: bootstrap_go_binary
|
|
# Factory: blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: Blueprints:72:1
|
|
|
|
build .bootstrap/minibp/obj/minibp.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/bootstrap/minibp/main.go | ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/blueprint.a $
|
|
.bootstrap/blueprint-deptools/pkg/blueprint/deptools.a $
|
|
.bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-bootstrap/pkg
|
|
pkgPath = minibp
|
|
default .bootstrap/minibp/obj/minibp.a
|
|
|
|
build .bootstrap/minibp/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/minibp/obj/minibp.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg -L .bootstrap/blueprint-proptools/pkg -L .bootstrap/blueprint/pkg -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/blueprint-pathtools/pkg -L .bootstrap/blueprint-bootstrap/pkg
|
|
default .bootstrap/minibp/obj/a.out
|
|
|
|
build .bootstrap/bin/minibp: g.bootstrap.cp .bootstrap/minibp/obj/a.out
|
|
default .bootstrap/bin/minibp
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Singleton: bootstrap
|
|
# Factory: blueprint/bootstrap.newSingleton
|
|
|
|
rule s.bootstrap.bigbp
|
|
command = .bootstrap/bin/minibp -p -d .bootstrap/main.ninja.in.d -m ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
|
|
depfile = .bootstrap/main.ninja.in.d
|
|
description = minibp ${out}
|
|
|
|
rule s.bootstrap.minibp
|
|
command = .bootstrap/bin/minibp -c ${checkFile} -m ${g.bootstrap.bootstrapManifest} -d ${out}.d -o ${out} ${in}
|
|
depfile = ${out}.d
|
|
description = minibp ${out}
|
|
generator = true
|
|
|
|
build .bootstrap/main.ninja.in: s.bootstrap.bigbp $
|
|
${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/bpfmt $
|
|
.bootstrap/bin/bpmodify .bootstrap/bin/minibp
|
|
default .bootstrap/main.ninja.in
|
|
build .bootstrap/notAFile: phony
|
|
default .bootstrap/notAFile
|
|
build build.ninja: g.bootstrap.bootstrap .bootstrap/main.ninja.in | $
|
|
${g.bootstrap.bootstrapCmd} .bootstrap/notAFile $
|
|
.bootstrap/bootstrap.ninja.in
|
|
default build.ninja
|
|
build .bootstrap/bootstrap.ninja.in: s.bootstrap.minibp $
|
|
${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/minibp
|
|
checkFile = ${g.bootstrap.bootstrapManifest}
|
|
default .bootstrap/bootstrap.ninja.in
|
|
|