blob: ae546ea9c04413857868a4a0e8e6a65ad155455b [file] [log] [blame]
Jamie Gennis1bc967e2014-05-27 16:34:41 -07001# ******************************************************************************
2# *** This file is generated and should not be edited ***
3# ******************************************************************************
4#
5# This file contains variables, rules, and pools with name prefixes indicating
6# they were generated by the following Go packages:
7#
Jamie Gennis6cafc2c2015-03-20 22:39:29 -04008# bootstrap [from Go package github.com/google/blueprint/bootstrap]
Jamie Gennis1bc967e2014-05-27 16:34:41 -07009#
Dan Willemsen21b6f372015-07-22 12:58:01 -070010ninja_required_version = 1.6.0
Jamie Gennis1bc967e2014-05-27 16:34:41 -070011
Dan Willemsenf0ca9012015-07-13 18:11:49 -070012g.bootstrap.buildDir = @@BuildDir@@
13
14g.bootstrap.BinDir = ${g.bootstrap.buildDir}/.bootstrap/bin
Dan Willemsen852191d2015-07-13 23:28:37 -070015
Jamie Gennis9e2a4c22014-11-09 11:52:56 -080016g.bootstrap.bootstrapCmd = @@Bootstrap@@
Jamie Gennis1bc967e2014-05-27 16:34:41 -070017
Jamie Gennis9e2a4c22014-11-09 11:52:56 -080018g.bootstrap.bootstrapManifest = @@BootstrapManifest@@
Jamie Gennis1bc967e2014-05-27 16:34:41 -070019
Dan Willemsenf0ca9012015-07-13 18:11:49 -070020g.bootstrap.chooseStageCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/choosestage
Dan Willemsen91a657e2015-07-22 17:05:59 -070021
Dan Willemsenc20adea2015-08-01 15:07:27 -070022g.bootstrap.compileCmd = @@GoCompile@@
23
Jamie Gennis9e2a4c22014-11-09 11:52:56 -080024g.bootstrap.goRoot = @@GoRoot@@
Jamie Gennis1bc967e2014-05-27 16:34:41 -070025
Dan Willemsenc20adea2015-08-01 15:07:27 -070026g.bootstrap.linkCmd = @@GoLink@@
Jamie Gennis1bc967e2014-05-27 16:34:41 -070027
Jamie Gennis9e2a4c22014-11-09 11:52:56 -080028g.bootstrap.srcDir = @@SrcDir@@
Jamie Gennis1bc967e2014-05-27 16:34:41 -070029
Dan Willemsenf0ca9012015-07-13 18:11:49 -070030builddir = ${g.bootstrap.buildDir}/.minibootstrap
Jamie Gennis1bc967e2014-05-27 16:34:41 -070031
Jamie Gennisc15544d2014-09-24 20:26:52 -070032rule g.bootstrap.bootstrap
Dan Willemsen991f7602015-09-17 22:48:04 -070033 command = BUILDDIR=${g.bootstrap.buildDir} ${g.bootstrap.bootstrapCmd} -i ${in}
Jamie Gennisc15544d2014-09-24 20:26:52 -070034 description = bootstrap ${in}
35 generator = true
Jamie Gennis1bc967e2014-05-27 16:34:41 -070036
Dan Willemsen91a657e2015-07-22 17:05:59 -070037rule g.bootstrap.chooseStage
38 command = ${g.bootstrap.chooseStageCmd} --current ${current} --bootstrap ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
39 description = choosing next stage
40
Dan Willemsenc20adea2015-08-01 15:07:27 -070041rule g.bootstrap.compile
42 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.compileCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
43 description = compile ${out}
44
Jamie Gennis1bc967e2014-05-27 16:34:41 -070045rule g.bootstrap.cp
46 command = cp ${in} ${out}
47 description = cp ${out}
48
Jamie Gennisc15544d2014-09-24 20:26:52 -070049rule g.bootstrap.link
Jamie Gennis9e2a4c22014-11-09 11:52:56 -080050 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
Dan Willemsenc20adea2015-08-01 15:07:27 -070051 description = link ${out}
Jamie Gennisc15544d2014-09-24 20:26:52 -070052
Jamie Gennis1bc967e2014-05-27 16:34:41 -070053# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
54# Module: blueprint
Jamie Gennis6cafc2c2015-03-20 22:39:29 -040055# Variant:
Jamie Gennis1bc967e2014-05-27 16:34:41 -070056# Type: bootstrap_go_package
Doug Evans9c1cbb42015-11-09 11:37:39 -080057# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Jamie Gennis1ebd3b82014-06-04 15:33:08 -070058# Defined: Blueprints:1:1
Jamie Gennis1bc967e2014-05-27 16:34:41 -070059
Dan Willemsenf0ca9012015-07-13 18:11:49 -070060build $
61 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Dan Willemsenc20adea2015-08-01 15:07:27 -070062 : g.bootstrap.compile ${g.bootstrap.srcDir}/context.go $
Colin Crossd7b0f602016-06-02 15:30:20 -070063 ${g.bootstrap.srcDir}/fs.go ${g.bootstrap.srcDir}/live_tracker.go $
64 ${g.bootstrap.srcDir}/mangle.go ${g.bootstrap.srcDir}/module_ctx.go $
Colin Cross3e8e74f2015-01-23 13:38:48 -080065 ${g.bootstrap.srcDir}/ninja_defs.go $
66 ${g.bootstrap.srcDir}/ninja_strings.go $
67 ${g.bootstrap.srcDir}/ninja_writer.go $
68 ${g.bootstrap.srcDir}/package_ctx.go ${g.bootstrap.srcDir}/scope.go $
69 ${g.bootstrap.srcDir}/singleton_ctx.go ${g.bootstrap.srcDir}/unpack.go $
Dan Willemsenc20adea2015-08-01 15:07:27 -070070 | ${g.bootstrap.compileCmd} $
Dan Willemsenf0ca9012015-07-13 18:11:49 -070071 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
72 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
73 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
74 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg
Jamie Gennis6cafc2c2015-03-20 22:39:29 -040075 pkgPath = github.com/google/blueprint
Dan Willemsenf0ca9012015-07-13 18:11:49 -070076default $
77 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
Jamie Gennis1bc967e2014-05-27 16:34:41 -070078
Jamie Gennis1bc967e2014-05-27 16:34:41 -070079# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Jamie Gennis86179fe2014-06-11 16:27:16 -070080# Module: blueprint-bootstrap
Jamie Gennis6cafc2c2015-03-20 22:39:29 -040081# Variant:
Jamie Gennis86179fe2014-06-11 16:27:16 -070082# Type: bootstrap_go_package
Doug Evans9c1cbb42015-11-09 11:37:39 -080083# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -070084# Defined: Blueprints:83:1
Jamie Gennis86179fe2014-06-11 16:27:16 -070085
Jamie Gennis6cafc2c2015-03-20 22:39:29 -040086build $
Dan Willemsenf0ca9012015-07-13 18:11:49 -070087 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Dan Willemsenc20adea2015-08-01 15:07:27 -070088 : g.bootstrap.compile ${g.bootstrap.srcDir}/bootstrap/bootstrap.go $
Colin Cross3e8e74f2015-01-23 13:38:48 -080089 ${g.bootstrap.srcDir}/bootstrap/cleanup.go $
90 ${g.bootstrap.srcDir}/bootstrap/command.go $
91 ${g.bootstrap.srcDir}/bootstrap/config.go $
Colin Cross4572edd2015-05-13 14:36:24 -070092 ${g.bootstrap.srcDir}/bootstrap/doc.go $
Dan Willemsenc20adea2015-08-01 15:07:27 -070093 ${g.bootstrap.srcDir}/bootstrap/writedocs.go | $
94 ${g.bootstrap.compileCmd} $
Dan Willemsenf0ca9012015-07-13 18:11:49 -070095 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
96 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
97 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
98 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
99 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
100 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
101 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400102 pkgPath = github.com/google/blueprint/bootstrap
103default $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700104 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
Jamie Gennis86179fe2014-06-11 16:27:16 -0700105
Jamie Gennis86179fe2014-06-11 16:27:16 -0700106# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross4572edd2015-05-13 14:36:24 -0700107# Module: blueprint-bootstrap-bpdoc
108# Variant:
109# Type: bootstrap_go_package
Doug Evans9c1cbb42015-11-09 11:37:39 -0800110# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700111# Defined: Blueprints:102:1
Colin Cross4572edd2015-05-13 14:36:24 -0700112
113build $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700114 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
Dan Willemsenc20adea2015-08-01 15:07:27 -0700115 : g.bootstrap.compile ${g.bootstrap.srcDir}/bootstrap/bpdoc/bpdoc.go | $
116 ${g.bootstrap.compileCmd} $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700117 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
118 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
119 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
120 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
121 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg
Colin Cross4572edd2015-05-13 14:36:24 -0700122 pkgPath = github.com/google/blueprint/bootstrap/bpdoc
123default $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700124 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
Colin Cross4572edd2015-05-13 14:36:24 -0700125
126# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Jamie Gennisdebef532014-10-24 10:42:57 -0700127# Module: blueprint-deptools
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400128# Variant:
Jamie Gennisdebef532014-10-24 10:42:57 -0700129# Type: bootstrap_go_package
Doug Evans9c1cbb42015-11-09 11:37:39 -0800130# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700131# Defined: Blueprints:49:1
Jamie Gennisdebef532014-10-24 10:42:57 -0700132
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700133build $
134 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Dan Willemsenc20adea2015-08-01 15:07:27 -0700135 : g.bootstrap.compile ${g.bootstrap.srcDir}/deptools/depfile.go | $
136 ${g.bootstrap.compileCmd}
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400137 pkgPath = github.com/google/blueprint/deptools
138default $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700139 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
Jamie Gennisdebef532014-10-24 10:42:57 -0700140
Jamie Gennisdebef532014-10-24 10:42:57 -0700141# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700142# Module: blueprint-parser
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400143# Variant:
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700144# Type: bootstrap_go_package
Doug Evans9c1cbb42015-11-09 11:37:39 -0800145# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700146# Defined: Blueprints:33:1
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700147
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700148build $
149 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crosse32cc802016-06-07 12:28:16 -0700150 : g.bootstrap.compile ${g.bootstrap.srcDir}/parser/ast.go $
151 ${g.bootstrap.srcDir}/parser/modify.go $
Colin Cross3e8e74f2015-01-23 13:38:48 -0800152 ${g.bootstrap.srcDir}/parser/parser.go $
153 ${g.bootstrap.srcDir}/parser/printer.go $
Dan Willemsenc20adea2015-08-01 15:07:27 -0700154 ${g.bootstrap.srcDir}/parser/sort.go | ${g.bootstrap.compileCmd}
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400155 pkgPath = github.com/google/blueprint/parser
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700156default $
157 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700158
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700159# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Jamie Gennisb9314562014-06-06 14:37:07 -0700160# Module: blueprint-pathtools
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400161# Variant:
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700162# Type: bootstrap_go_package
Doug Evans9c1cbb42015-11-09 11:37:39 -0800163# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700164# Defined: Blueprints:55:1
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700165
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400166build $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700167 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Dan Willemsenc20adea2015-08-01 15:07:27 -0700168 : g.bootstrap.compile ${g.bootstrap.srcDir}/pathtools/lists.go $
169 ${g.bootstrap.srcDir}/pathtools/glob.go | ${g.bootstrap.compileCmd}
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400170 pkgPath = github.com/google/blueprint/pathtools
171default $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700172 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
Jamie Gennisb9314562014-06-06 14:37:07 -0700173
Jamie Gennisb9314562014-06-06 14:37:07 -0700174# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Jamie Gennisb9cbdae2014-10-02 18:36:13 -0700175# Module: blueprint-proptools
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400176# Variant:
Jamie Gennisb9cbdae2014-10-02 18:36:13 -0700177# Type: bootstrap_go_package
Doug Evans9c1cbb42015-11-09 11:37:39 -0800178# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700179# Defined: Blueprints:67:1
Jamie Gennisb9cbdae2014-10-02 18:36:13 -0700180
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400181build $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700182 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
Colin Cross81695002015-10-30 13:19:14 -0700183 : g.bootstrap.compile ${g.bootstrap.srcDir}/proptools/clone.go $
184 ${g.bootstrap.srcDir}/proptools/extend.go $
Colin Crosse4b0d352015-11-02 14:58:10 -0800185 ${g.bootstrap.srcDir}/proptools/proptools.go $
186 ${g.bootstrap.srcDir}/proptools/typeequal.go | $
Dan Willemsenc20adea2015-08-01 15:07:27 -0700187 ${g.bootstrap.compileCmd}
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400188 pkgPath = github.com/google/blueprint/proptools
189default $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700190 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
Jamie Gennisb9cbdae2014-10-02 18:36:13 -0700191
Jamie Gennisb9cbdae2014-10-02 18:36:13 -0700192# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsen91a657e2015-07-22 17:05:59 -0700193# Module: choosestage
194# Variant:
Dan Willemsenefd2de72015-07-22 17:06:06 -0700195# Type: bootstrap_core_go_binary
Doug Evans9c1cbb42015-11-09 11:37:39 -0800196# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700197# Defined: Blueprints:145:1
Dan Willemsen91a657e2015-07-22 17:05:59 -0700198
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700199build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a: $
Dan Willemsenc20adea2015-08-01 15:07:27 -0700200 g.bootstrap.compile ${g.bootstrap.srcDir}/choosestage/choosestage.go | $
201 ${g.bootstrap.compileCmd}
Dan Willemsen91a657e2015-07-22 17:05:59 -0700202 pkgPath = choosestage
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700203default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a
Dan Willemsen91a657e2015-07-22 17:05:59 -0700204
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700205build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out: $
206 g.bootstrap.link $
207 ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a | $
208 ${g.bootstrap.linkCmd}
209default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
Doug Evans9c1cbb42015-11-09 11:37:39 -0800210
Dan Willemsen852191d2015-07-13 23:28:37 -0700211build ${g.bootstrap.BinDir}/choosestage: g.bootstrap.cp $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700212 ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
Dan Willemsen852191d2015-07-13 23:28:37 -0700213default ${g.bootstrap.BinDir}/choosestage
Dan Willemsen91a657e2015-07-22 17:05:59 -0700214
215# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsen87ba2942015-06-23 17:21:00 -0700216# Module: gotestmain
217# Variant:
Dan Willemsenefd2de72015-07-22 17:06:06 -0700218# Type: bootstrap_core_go_binary
Doug Evans9c1cbb42015-11-09 11:37:39 -0800219# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700220# Defined: Blueprints:135:1
Dan Willemsen87ba2942015-06-23 17:21:00 -0700221
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700222build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
Dan Willemsenc20adea2015-08-01 15:07:27 -0700223 g.bootstrap.compile ${g.bootstrap.srcDir}/gotestmain/gotestmain.go | $
224 ${g.bootstrap.compileCmd}
Dan Willemsen87ba2942015-06-23 17:21:00 -0700225 pkgPath = gotestmain
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700226default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
Dan Willemsen87ba2942015-06-23 17:21:00 -0700227
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700228build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
229 g.bootstrap.link $
230 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
231 ${g.bootstrap.linkCmd}
232default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
Doug Evans9c1cbb42015-11-09 11:37:39 -0800233
Dan Willemsen852191d2015-07-13 23:28:37 -0700234build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700235 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
Dan Willemsen852191d2015-07-13 23:28:37 -0700236default ${g.bootstrap.BinDir}/gotestmain
Dan Willemsen87ba2942015-06-23 17:21:00 -0700237
238# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsenc7697ce2015-09-17 20:59:51 -0700239# Module: gotestrunner
240# Variant:
241# Type: bootstrap_core_go_binary
Doug Evans9c1cbb42015-11-09 11:37:39 -0800242# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700243# Defined: Blueprints:140:1
Dan Willemsenc7697ce2015-09-17 20:59:51 -0700244
245build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $
246 g.bootstrap.compile ${g.bootstrap.srcDir}/gotestrunner/gotestrunner.go $
247 | ${g.bootstrap.compileCmd}
248 pkgPath = gotestrunner
249default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a
250
251build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $
252 g.bootstrap.link $
253 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $
254 ${g.bootstrap.linkCmd}
255default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
Doug Evans9c1cbb42015-11-09 11:37:39 -0800256
Dan Willemsenc7697ce2015-09-17 20:59:51 -0700257build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $
258 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
259default ${g.bootstrap.BinDir}/gotestrunner
260
261# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700262# Module: minibp
Jamie Gennis6cafc2c2015-03-20 22:39:29 -0400263# Variant:
Dan Willemsenefd2de72015-07-22 17:06:06 -0700264# Type: bootstrap_core_go_binary
Doug Evans9c1cbb42015-11-09 11:37:39 -0800265# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Crossd7b0f602016-06-02 15:30:20 -0700266# Defined: Blueprints:114:1
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700267
Dan Willemsenc20adea2015-08-01 15:07:27 -0700268build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
269 g.bootstrap.compile ${g.bootstrap.srcDir}/bootstrap/minibp/main.go | $
270 ${g.bootstrap.compileCmd} $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700271 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
272 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
273 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
274 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
275 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
276 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
277 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
278 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700279 pkgPath = minibp
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700280default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700281
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700282build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
283 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
284 ${g.bootstrap.linkCmd}
285 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg
286default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700287
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700288build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
289 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
Dan Willemsen852191d2015-07-13 23:28:37 -0700290default ${g.bootstrap.BinDir}/minibp
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700291
292# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
293# Singleton: bootstrap
Doug Evans9c1cbb42015-11-09 11:37:39 -0800294# Factory: github.com/google/blueprint/bootstrap.newSingletonFactory.func1
Dan Willemsenefd2de72015-07-22 17:06:06 -0700295
296rule s.bootstrap.primarybp
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700297 command = ${g.bootstrap.BinDir}/minibp --build-primary ${runTests} -m ${g.bootstrap.bootstrapManifest} --timestamp ${timestamp} --timestampdep ${timestampdep} -b ${g.bootstrap.buildDir} -d ${outfile}.d -o ${outfile} ${in}
Dan Willemsenefd2de72015-07-22 17:06:06 -0700298 depfile = ${outfile}.d
299 description = minibp ${outfile}
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700300
Jamie Genniscbc6f862014-06-05 20:00:22 -0700301rule s.bootstrap.minibp
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700302 command = ${g.bootstrap.BinDir}/minibp ${runTests} -m ${g.bootstrap.bootstrapManifest} -b ${g.bootstrap.buildDir} -d ${out}.d -o ${out} ${in}
Jamie Genniscbc6f862014-06-05 20:00:22 -0700303 depfile = ${out}.d
304 description = minibp ${out}
305 generator = true
306
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700307build ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
308 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp: $
Dan Willemsenefd2de72015-07-22 17:06:06 -0700309 s.bootstrap.primarybp ${g.bootstrap.srcDir}/Blueprints | $
Dan Willemsen852191d2015-07-13 23:28:37 -0700310 ${g.bootstrap.BinDir}/choosestage ${g.bootstrap.BinDir}/gotestmain $
Dan Willemsenc7697ce2015-09-17 20:59:51 -0700311 ${g.bootstrap.BinDir}/gotestrunner ${g.bootstrap.BinDir}/minibp $
312 ${g.bootstrap.srcDir}/Blueprints
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700313 outfile = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in
314 timestamp = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
315 timestampdep = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp.d
316default ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
317 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
Dan Willemsen91a657e2015-07-22 17:05:59 -0700318
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700319build ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in: $
320 s.bootstrap.minibp ${g.bootstrap.srcDir}/Blueprints | $
321 ${g.bootstrap.bootstrapManifest} ${g.bootstrap.BinDir}/minibp
322default ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
Doug Evans9c1cbb42015-11-09 11:37:39 -0800323
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700324build ${g.bootstrap.buildDir}/.bootstrap/notAFile: phony
325default ${g.bootstrap.buildDir}/.bootstrap/notAFile
Doug Evans9c1cbb42015-11-09 11:37:39 -0800326
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700327build ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in: $
328 g.bootstrap.chooseStage $
329 ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in $
330 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in | $
Dan Willemsen91a657e2015-07-22 17:05:59 -0700331 ${g.bootstrap.chooseStageCmd} ${g.bootstrap.bootstrapManifest} $
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700332 ${g.bootstrap.buildDir}/.bootstrap/notAFile
333 current = ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
334default ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in
Dan Willemsen91a657e2015-07-22 17:05:59 -0700335
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700336build ${g.bootstrap.buildDir}/build.ninja: g.bootstrap.bootstrap $
337 ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in | $
Dan Willemsen91a657e2015-07-22 17:05:59 -0700338 ${g.bootstrap.bootstrapCmd}
Dan Willemsenf0ca9012015-07-13 18:11:49 -0700339default ${g.bootstrap.buildDir}/build.ninja
Jamie Gennis1bc967e2014-05-27 16:34:41 -0700340