blob: afb2cb5d11291a64bdfbfa4b31d2996719a756c4 [file] [log] [blame]
Colin Crosse441b9d2015-01-26 16:30:13 -08001# ******************************************************************************
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#
Colin Cross70b40592015-03-23 12:57:34 -07008# bootstrap [from Go package github.com/google/blueprint/bootstrap]
Colin Crosse441b9d2015-01-26 16:30:13 -08009#
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070010ninja_required_version = 1.6.0
11
12g.bootstrap.buildDir = @@BuildDir@@
13
14g.bootstrap.BinDir = ${g.bootstrap.buildDir}/.bootstrap/bin
Colin Crosse441b9d2015-01-26 16:30:13 -080015
16g.bootstrap.bootstrapCmd = @@Bootstrap@@
17
18g.bootstrap.bootstrapManifest = @@BootstrapManifest@@
19
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070020g.bootstrap.chooseStageCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/choosestage
21
Colin Crosscbac5fb2015-08-24 15:41:17 -070022g.bootstrap.compileCmd = @@GoCompile@@
23
Colin Crosse441b9d2015-01-26 16:30:13 -080024g.bootstrap.goRoot = @@GoRoot@@
25
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070026g.bootstrap.goTestMainCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/gotestmain
Dan Willemsene5e20332015-06-23 19:46:20 -070027
Dan Willemsene9862da2015-09-18 12:48:23 -070028g.bootstrap.goTestRunnerCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/gotestrunner
29
Colin Crosscbac5fb2015-08-24 15:41:17 -070030g.bootstrap.linkCmd = @@GoLink@@
Colin Crosse441b9d2015-01-26 16:30:13 -080031
32g.bootstrap.srcDir = @@SrcDir@@
33
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070034builddir = ${g.bootstrap.buildDir}/.minibootstrap
Colin Crosse441b9d2015-01-26 16:30:13 -080035
36rule g.bootstrap.bootstrap
Dan Willemsen87b17d12015-07-14 00:39:06 -070037 command = BUILDDIR=${g.bootstrap.buildDir} ${g.bootstrap.bootstrapCmd} -i ${in}
Colin Crosse441b9d2015-01-26 16:30:13 -080038 description = bootstrap ${in}
39 generator = true
40
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070041rule g.bootstrap.chooseStage
42 command = ${g.bootstrap.chooseStageCmd} --current ${current} --bootstrap ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
43 description = choosing next stage
44
Colin Crosscbac5fb2015-08-24 15:41:17 -070045rule g.bootstrap.compile
46 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.compileCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
47 description = compile ${out}
48
Colin Crosse441b9d2015-01-26 16:30:13 -080049rule g.bootstrap.cp
50 command = cp ${in} ${out}
51 description = cp ${out}
52
Dan Willemsene5e20332015-06-23 19:46:20 -070053rule g.bootstrap.gotestmain
54 command = ${g.bootstrap.goTestMainCmd} -o ${out} -pkg ${pkg} ${in}
55 description = gotestmain ${out}
56
Colin Crosse441b9d2015-01-26 16:30:13 -080057rule g.bootstrap.link
58 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
Colin Crosscbac5fb2015-08-24 15:41:17 -070059 description = link ${out}
Colin Crosse441b9d2015-01-26 16:30:13 -080060
Dan Willemsene5e20332015-06-23 19:46:20 -070061rule g.bootstrap.test
Dan Willemsene9862da2015-09-18 12:48:23 -070062 command = ${g.bootstrap.goTestRunnerCmd} -p ${pkgSrcDir} -f ${out} -- ${in} -test.short
Dan Willemsene5e20332015-06-23 19:46:20 -070063 description = test ${pkg}
64
Colin Crosse441b9d2015-01-26 16:30:13 -080065# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
66# Module: blueprint
Colin Cross3f40fa42015-01-30 17:27:36 -080067# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -080068# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -070069# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crosse441b9d2015-01-26 16:30:13 -080070# Defined: build/blueprint/Blueprints:1:1
71
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070072build $
73 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -070074 : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
Dan Willemsene5e20332015-06-23 19:46:20 -070075 ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
76 ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
77 ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
78 ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
79 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
80 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
81 ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
82 ${g.bootstrap.srcDir}/build/blueprint/scope.go $
83 ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
84 ${g.bootstrap.srcDir}/build/blueprint/unpack.go $
85 ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
86 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
87 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
88 ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
89 ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -070090 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070091 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
92 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
93 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
94 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
Dan Willemsene5e20332015-06-23 19:46:20 -070095 pkgPath = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070096default $
97 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
Dan Willemsene5e20332015-06-23 19:46:20 -070098
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070099build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go: $
100 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700101 ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
102 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
103 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
104 ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
105 ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go | $
106 ${g.bootstrap.goTestMainCmd}
107 pkg = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700108default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700109
Colin Crosscbac5fb2015-08-24 15:41:17 -0700110build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a: $
111 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700112 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700113 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700114 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
115 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700116 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700117default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700118
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700119build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test: g.bootstrap.link $
120 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a | $
121 ${g.bootstrap.linkCmd}
122 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint/test -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg
123default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700124
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700125build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed: $
126 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700127 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test | $
128 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700129 pkg = github.com/google/blueprint
130 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700131default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
Dan Willemsene5e20332015-06-23 19:46:20 -0700132
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700133build $
134 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700135 : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
Colin Crosse441b9d2015-01-26 16:30:13 -0800136 ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
137 ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
138 ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
139 ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
140 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
141 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
142 ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
143 ${g.bootstrap.srcDir}/build/blueprint/scope.go $
144 ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700145 ${g.bootstrap.srcDir}/build/blueprint/unpack.go | $
146 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700147 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
148 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
149 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
150 || ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
151 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
Colin Cross70b40592015-03-23 12:57:34 -0700152 pkgPath = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700153default $
154 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800155
156# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
157# Module: blueprint-bootstrap
Colin Cross3f40fa42015-01-30 17:27:36 -0800158# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800159# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700160# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Dan Willemsene5e20332015-06-23 19:46:20 -0700161# Defined: build/blueprint/Blueprints:70:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800162
Colin Cross70b40592015-03-23 12:57:34 -0700163build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700164 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700165 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800166 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bootstrap.go $
167 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/cleanup.go $
168 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/command.go $
169 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/config.go $
Colin Cross0bc42682015-06-18 18:06:46 -0700170 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/doc.go $
171 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/writedocs.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700172 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700173 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
174 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
175 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
176 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
177 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
178 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
179 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
Colin Cross70b40592015-03-23 12:57:34 -0700180 pkgPath = github.com/google/blueprint/bootstrap
181default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700182 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800183
184# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross0bc42682015-06-18 18:06:46 -0700185# Module: blueprint-bootstrap-bpdoc
186# Variant:
187# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700188# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross0bc42682015-06-18 18:06:46 -0700189# Defined: build/blueprint/Blueprints:89:1
190
191build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700192 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700193 : g.bootstrap.compile $
Colin Cross0bc42682015-06-18 18:06:46 -0700194 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bpdoc/bpdoc.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700195 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700196 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
197 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
198 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
199 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
200 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 Cross0bc42682015-06-18 18:06:46 -0700201 pkgPath = github.com/google/blueprint/bootstrap/bpdoc
202default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700203 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
Colin Cross0bc42682015-06-18 18:06:46 -0700204
205# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800206# Module: blueprint-deptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800207# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800208# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700209# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Dan Willemsene5e20332015-06-23 19:46:20 -0700210# Defined: build/blueprint/Blueprints:46:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800211
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700212build $
213 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700214 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800215 ${g.bootstrap.srcDir}/build/blueprint/deptools/depfile.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700216 ${g.bootstrap.compileCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700217 pkgPath = github.com/google/blueprint/deptools
218default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700219 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800220
221# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
222# Module: blueprint-parser
Colin Cross3f40fa42015-01-30 17:27:36 -0800223# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800224# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700225# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Dan Willemsene5e20332015-06-23 19:46:20 -0700226# Defined: build/blueprint/Blueprints:31:1
227
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700228build $
229 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700230 : g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700231 ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
Dan Willemsene5e20332015-06-23 19:46:20 -0700232 ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
233 ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
234 ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go $
235 ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
236 ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700237 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700238 pkgPath = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700239default $
240 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700241
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700242build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go: $
243 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700244 ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
245 ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
246 ${g.bootstrap.goTestMainCmd}
247 pkg = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700248default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700249
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700250build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700251 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700252 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700253 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700254 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
255 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700256 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700257default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700258
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700259build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test: $
260 g.bootstrap.link $
261 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a | $
262 ${g.bootstrap.linkCmd}
263 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
264default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700265
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700266build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed: $
267 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700268 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test | $
269 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700270 pkg = github.com/google/blueprint/parser
271 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700272default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
Colin Crosse441b9d2015-01-26 16:30:13 -0800273
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700274build $
275 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700276 : g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700277 ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
Colin Crosse441b9d2015-01-26 16:30:13 -0800278 ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
279 ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
280 ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700281 ${g.bootstrap.compileCmd} || $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700282 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700283 pkgPath = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700284default $
285 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800286
287# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
288# Module: blueprint-pathtools
Colin Cross3f40fa42015-01-30 17:27:36 -0800289# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800290# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700291# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Dan Willemsene5e20332015-06-23 19:46:20 -0700292# Defined: build/blueprint/Blueprints:52:1
293
294build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700295 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700296 : g.bootstrap.compile $
Dan Willemsene5e20332015-06-23 19:46:20 -0700297 ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
298 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go $
299 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700300 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700301 pkgPath = github.com/google/blueprint/pathtools
302default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700303 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700304
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700305build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go: $
306 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700307 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
308 ${g.bootstrap.goTestMainCmd}
309 pkg = github.com/google/blueprint/pathtools
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700310default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700311
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700312build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700313 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700314 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700315 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700316 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
317 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700318 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700319default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700320
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700321build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test: $
322 g.bootstrap.link $
323 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a | $
324 ${g.bootstrap.linkCmd}
325 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
326default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700327
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700328build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed: $
329 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700330 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test | $
331 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700332 pkg = github.com/google/blueprint/pathtools
333 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/pathtools
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700334default $
335 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
Colin Crosse441b9d2015-01-26 16:30:13 -0800336
Colin Cross70b40592015-03-23 12:57:34 -0700337build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700338 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700339 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800340 ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
341 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700342 ${g.bootstrap.compileCmd} || $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700343 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700344 pkgPath = github.com/google/blueprint/pathtools
345default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700346 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800347
348# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
349# Module: blueprint-proptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800350# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800351# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700352# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Dan Willemsene5e20332015-06-23 19:46:20 -0700353# Defined: build/blueprint/Blueprints:64:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800354
Colin Cross70b40592015-03-23 12:57:34 -0700355build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700356 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700357 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800358 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700359 ${g.bootstrap.compileCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700360 pkgPath = github.com/google/blueprint/proptools
361default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700362 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800363
364# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700365# Module: choosestage
Colin Cross3f40fa42015-01-30 17:27:36 -0800366# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700367# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700368# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Dan Willemsene9862da2015-09-18 12:48:23 -0700369# Defined: build/blueprint/Blueprints:132:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800370
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700371build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700372 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700373 ${g.bootstrap.srcDir}/build/blueprint/choosestage/choosestage.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700374 ${g.bootstrap.compileCmd}
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700375 pkgPath = choosestage
376default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800377
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700378build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out: $
379 g.bootstrap.link $
380 ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a | $
381 ${g.bootstrap.linkCmd}
382default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
383build ${g.bootstrap.BinDir}/choosestage: g.bootstrap.cp $
384 ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
385default ${g.bootstrap.BinDir}/choosestage
Colin Crosse441b9d2015-01-26 16:30:13 -0800386
387# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene5e20332015-06-23 19:46:20 -0700388# Module: gotestmain
389# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700390# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700391# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross0bc42682015-06-18 18:06:46 -0700392# Defined: build/blueprint/Blueprints:122:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700393
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700394build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700395 g.bootstrap.compile $
Dan Willemsene5e20332015-06-23 19:46:20 -0700396 ${g.bootstrap.srcDir}/build/blueprint/gotestmain/gotestmain.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700397 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700398 pkgPath = gotestmain
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700399default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700400
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700401build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
402 g.bootstrap.link $
403 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
404 ${g.bootstrap.linkCmd}
405default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
406build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
407 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
408default ${g.bootstrap.BinDir}/gotestmain
Dan Willemsene5e20332015-06-23 19:46:20 -0700409
410# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene9862da2015-09-18 12:48:23 -0700411# Module: gotestrunner
412# Variant:
413# Type: bootstrap_core_go_binary
414# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
415# Defined: build/blueprint/Blueprints:127:1
416
417build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $
418 g.bootstrap.compile $
419 ${g.bootstrap.srcDir}/build/blueprint/gotestrunner/gotestrunner.go | $
420 ${g.bootstrap.compileCmd}
421 pkgPath = gotestrunner
422default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a
423
424build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $
425 g.bootstrap.link $
426 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $
427 ${g.bootstrap.linkCmd}
428default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
429build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $
430 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
431default ${g.bootstrap.BinDir}/gotestrunner
432
433# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800434# Module: minibp
Colin Cross3f40fa42015-01-30 17:27:36 -0800435# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700436# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700437# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross0bc42682015-06-18 18:06:46 -0700438# Defined: build/blueprint/Blueprints:101:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800439
Colin Crosscbac5fb2015-08-24 15:41:17 -0700440build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
441 g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800442 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700443 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700444 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
445 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
446 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
447 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
448 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
449 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
450 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
451 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
Colin Crosse441b9d2015-01-26 16:30:13 -0800452 pkgPath = minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700453default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800454
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700455build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
456 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
457 ${g.bootstrap.linkCmd}
458 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
459default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
Colin Crosse441b9d2015-01-26 16:30:13 -0800460
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700461build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
462 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
463default ${g.bootstrap.BinDir}/minibp
Colin Cross2fe66872015-03-30 17:20:39 -0700464
465# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800466# Singleton: bootstrap
Dan Willemsen550eb332015-09-17 14:16:14 -0700467# Factory: github.com/google/blueprint/bootstrap.newSingletonFactory.func1
Colin Crosse441b9d2015-01-26 16:30:13 -0800468
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700469rule s.bootstrap.primarybp
470 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}
471 depfile = ${outfile}.d
472 description = minibp ${outfile}
Colin Crosse441b9d2015-01-26 16:30:13 -0800473
474rule s.bootstrap.minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700475 command = ${g.bootstrap.BinDir}/minibp ${runTests} -m ${g.bootstrap.bootstrapManifest} -b ${g.bootstrap.buildDir} -d ${out}.d -o ${out} ${in}
Colin Crosse441b9d2015-01-26 16:30:13 -0800476 depfile = ${out}.d
477 description = minibp ${out}
478 generator = true
479
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700480build ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
481 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp: $
482 s.bootstrap.primarybp ${g.bootstrap.srcDir}/Android.bp | $
483 ${g.bootstrap.BinDir}/choosestage ${g.bootstrap.BinDir}/gotestmain $
Dan Willemsene9862da2015-09-18 12:48:23 -0700484 ${g.bootstrap.BinDir}/gotestrunner ${g.bootstrap.BinDir}/minibp $
485 ${g.bootstrap.srcDir}/Android.bp $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700486 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
487 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
488 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
489 outfile = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in
Dan Willemsene5e20332015-06-23 19:46:20 -0700490 runTests = -t
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700491 timestamp = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
492 timestampdep = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp.d
493default ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
494 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
495
496build ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in: $
497 s.bootstrap.minibp ${g.bootstrap.srcDir}/Android.bp | $
498 ${g.bootstrap.bootstrapManifest} ${g.bootstrap.BinDir}/minibp
499 runTests = -t
500default ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
501
502build ${g.bootstrap.buildDir}/.bootstrap/notAFile: phony
503default ${g.bootstrap.buildDir}/.bootstrap/notAFile
504build ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in: $
505 g.bootstrap.chooseStage $
506 ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in $
507 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in | $
508 ${g.bootstrap.chooseStageCmd} ${g.bootstrap.bootstrapManifest} $
509 ${g.bootstrap.buildDir}/.bootstrap/notAFile
510 current = ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
511default ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in
512
513build ${g.bootstrap.buildDir}/build.ninja: g.bootstrap.bootstrap $
514 ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in | $
515 ${g.bootstrap.bootstrapCmd}
516default ${g.bootstrap.buildDir}/build.ninja
Colin Crosse441b9d2015-01-26 16:30:13 -0800517