blob: 0122a20cf69aacabc3826c44b1d251a1bc4767b2 [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 $
Colin Cross6debdba2016-08-08 12:58:36 -070075 ${g.bootstrap.srcDir}/build/blueprint/fs.go $
Dan Willemsene5e20332015-06-23 19:46:20 -070076 ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
77 ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
78 ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
79 ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
80 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
81 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
82 ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
83 ${g.bootstrap.srcDir}/build/blueprint/scope.go $
84 ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
85 ${g.bootstrap.srcDir}/build/blueprint/unpack.go $
86 ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
87 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
88 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
89 ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
Colin Cross6debdba2016-08-08 12:58:36 -070090 ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go $
91 ${g.bootstrap.srcDir}/build/blueprint/visit_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -070092 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070093 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
94 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
95 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
96 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 -070097 pkgPath = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070098default $
99 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700100
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700101build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go: $
102 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700103 ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
104 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
105 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
106 ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
Colin Cross6debdba2016-08-08 12:58:36 -0700107 ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go $
108 ${g.bootstrap.srcDir}/build/blueprint/visit_test.go | $
Dan Willemsene5e20332015-06-23 19:46:20 -0700109 ${g.bootstrap.goTestMainCmd}
110 pkg = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700111default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700112
Colin Crosscbac5fb2015-08-24 15:41:17 -0700113build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a: $
114 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700115 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700116 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700117 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
118 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700119 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700120default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700121
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700122build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test: g.bootstrap.link $
123 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a | $
124 ${g.bootstrap.linkCmd}
125 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
126default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700127
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700128build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed: $
129 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700130 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test | $
131 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700132 pkg = github.com/google/blueprint
133 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700134default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
Dan Willemsene5e20332015-06-23 19:46:20 -0700135
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700136build $
137 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700138 : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
Colin Cross6debdba2016-08-08 12:58:36 -0700139 ${g.bootstrap.srcDir}/build/blueprint/fs.go $
Colin Crosse441b9d2015-01-26 16:30:13 -0800140 ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
141 ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
142 ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
143 ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
144 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
145 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
146 ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
147 ${g.bootstrap.srcDir}/build/blueprint/scope.go $
148 ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700149 ${g.bootstrap.srcDir}/build/blueprint/unpack.go | $
150 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700151 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
152 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
153 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
154 || ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
155 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 -0700156 pkgPath = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700157default $
158 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800159
160# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
161# Module: blueprint-bootstrap
Colin Cross3f40fa42015-01-30 17:27:36 -0800162# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800163# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700164# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700165# Defined: build/blueprint/Blueprints:83:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800166
Colin Cross70b40592015-03-23 12:57:34 -0700167build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700168 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700169 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800170 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bootstrap.go $
171 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/cleanup.go $
172 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/command.go $
173 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/config.go $
Colin Cross0bc42682015-06-18 18:06:46 -0700174 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/doc.go $
175 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/writedocs.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700176 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700177 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
178 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
179 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
180 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
181 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
182 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
183 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 -0700184 pkgPath = github.com/google/blueprint/bootstrap
185default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700186 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800187
188# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross0bc42682015-06-18 18:06:46 -0700189# Module: blueprint-bootstrap-bpdoc
190# Variant:
191# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700192# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700193# Defined: build/blueprint/Blueprints:102:1
Colin Cross0bc42682015-06-18 18:06:46 -0700194
195build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700196 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700197 : g.bootstrap.compile $
Colin Cross0bc42682015-06-18 18:06:46 -0700198 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bpdoc/bpdoc.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700199 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700200 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
201 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
202 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
203 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
204 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 -0700205 pkgPath = github.com/google/blueprint/bootstrap/bpdoc
206default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700207 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
Colin Cross0bc42682015-06-18 18:06:46 -0700208
209# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800210# Module: blueprint-deptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800211# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800212# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700213# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700214# Defined: build/blueprint/Blueprints:49:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800215
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700216build $
217 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700218 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800219 ${g.bootstrap.srcDir}/build/blueprint/deptools/depfile.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700220 ${g.bootstrap.compileCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700221 pkgPath = github.com/google/blueprint/deptools
222default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700223 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800224
225# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
226# Module: blueprint-parser
Colin Cross3f40fa42015-01-30 17:27:36 -0800227# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800228# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700229# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700230# Defined: build/blueprint/Blueprints:33:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700231
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700232build $
233 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700234 : g.bootstrap.compile $
Colin Crossd20b36b2016-06-07 13:54:35 -0700235 ${g.bootstrap.srcDir}/build/blueprint/parser/ast.go $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700236 ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
Dan Willemsene5e20332015-06-23 19:46:20 -0700237 ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
238 ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
239 ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go $
240 ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
241 ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700242 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700243 pkgPath = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700244default $
245 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700246
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700247build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go: $
248 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700249 ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
250 ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
251 ${g.bootstrap.goTestMainCmd}
252 pkg = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700253default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700254
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700255build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700256 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700257 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700258 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700259 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
260 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700261 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700262default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700263
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700264build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test: $
265 g.bootstrap.link $
266 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a | $
267 ${g.bootstrap.linkCmd}
268 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
269default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700270
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700271build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed: $
272 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700273 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test | $
274 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700275 pkg = github.com/google/blueprint/parser
276 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700277default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
Colin Crosse441b9d2015-01-26 16:30:13 -0800278
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700279build $
280 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700281 : g.bootstrap.compile $
Colin Crossd20b36b2016-06-07 13:54:35 -0700282 ${g.bootstrap.srcDir}/build/blueprint/parser/ast.go $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700283 ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
Colin Crosse441b9d2015-01-26 16:30:13 -0800284 ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
285 ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
286 ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700287 ${g.bootstrap.compileCmd} || $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700288 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700289 pkgPath = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700290default $
291 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800292
293# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
294# Module: blueprint-pathtools
Colin Cross3f40fa42015-01-30 17:27:36 -0800295# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800296# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700297# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700298# Defined: build/blueprint/Blueprints:55:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700299
300build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700301 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700302 : g.bootstrap.compile $
Dan Willemsene5e20332015-06-23 19:46:20 -0700303 ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
304 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go $
305 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700306 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700307 pkgPath = github.com/google/blueprint/pathtools
308default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700309 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700310
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700311build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go: $
312 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700313 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
314 ${g.bootstrap.goTestMainCmd}
315 pkg = github.com/google/blueprint/pathtools
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700316default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700317
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700318build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700319 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700320 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700321 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700322 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
323 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700324 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700325default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700326
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700327build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test: $
328 g.bootstrap.link $
329 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a | $
330 ${g.bootstrap.linkCmd}
331 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
332default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700333
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700334build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed: $
335 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700336 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test | $
337 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700338 pkg = github.com/google/blueprint/pathtools
339 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/pathtools
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700340default $
341 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
Colin Crosse441b9d2015-01-26 16:30:13 -0800342
Colin Cross70b40592015-03-23 12:57:34 -0700343build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700344 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700345 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800346 ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
347 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700348 ${g.bootstrap.compileCmd} || $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700349 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700350 pkgPath = github.com/google/blueprint/pathtools
351default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700352 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800353
354# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
355# Module: blueprint-proptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800356# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800357# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700358# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700359# Defined: build/blueprint/Blueprints:67:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800360
Colin Cross70b40592015-03-23 12:57:34 -0700361build $
Colin Cross74498572015-11-03 14:44:07 -0800362 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a $
363 : g.bootstrap.compile $
364 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone.go $
365 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
366 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
367 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go $
368 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
369 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
370 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
371 ${g.bootstrap.compileCmd}
372 pkgPath = github.com/google/blueprint/proptools
373default $
374 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
375
376build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go: $
377 g.bootstrap.gotestmain $
378 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
379 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
380 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
381 ${g.bootstrap.goTestMainCmd}
382 pkg = github.com/google/blueprint/proptools
383default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go
384
385build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a: $
386 g.bootstrap.compile $
387 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go | $
388 ${g.bootstrap.compileCmd} $
389 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
390 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
391 pkgPath = main
392default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a
393
394build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test: $
395 g.bootstrap.link $
396 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a | $
397 ${g.bootstrap.linkCmd}
398 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
399default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test
400
401build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed: $
402 g.bootstrap.test $
403 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test | $
404 ${g.bootstrap.goTestRunnerCmd}
405 pkg = github.com/google/blueprint/proptools
406 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/proptools
407default $
408 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
409
410build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700411 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700412 : g.bootstrap.compile $
Colin Cross74498572015-11-03 14:44:07 -0800413 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone.go $
414 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
415 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
416 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go | $
417 ${g.bootstrap.compileCmd} || $
418 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700419 pkgPath = github.com/google/blueprint/proptools
420default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700421 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800422
423# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700424# Module: choosestage
Colin Cross3f40fa42015-01-30 17:27:36 -0800425# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700426# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700427# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700428# Defined: build/blueprint/Blueprints:145:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800429
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700430build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700431 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700432 ${g.bootstrap.srcDir}/build/blueprint/choosestage/choosestage.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700433 ${g.bootstrap.compileCmd}
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700434 pkgPath = choosestage
435default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800436
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700437build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out: $
438 g.bootstrap.link $
439 ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a | $
440 ${g.bootstrap.linkCmd}
441default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
Colin Cross6ba99aa2015-11-23 14:09:17 -0800442
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700443build ${g.bootstrap.BinDir}/choosestage: g.bootstrap.cp $
444 ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
445default ${g.bootstrap.BinDir}/choosestage
Colin Crosse441b9d2015-01-26 16:30:13 -0800446
447# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene5e20332015-06-23 19:46:20 -0700448# Module: gotestmain
449# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700450# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700451# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700452# Defined: build/blueprint/Blueprints:135:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700453
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700454build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700455 g.bootstrap.compile $
Dan Willemsene5e20332015-06-23 19:46:20 -0700456 ${g.bootstrap.srcDir}/build/blueprint/gotestmain/gotestmain.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700457 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700458 pkgPath = gotestmain
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700459default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700460
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700461build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
462 g.bootstrap.link $
463 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
464 ${g.bootstrap.linkCmd}
465default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
Colin Cross6ba99aa2015-11-23 14:09:17 -0800466
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700467build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
468 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
469default ${g.bootstrap.BinDir}/gotestmain
Dan Willemsene5e20332015-06-23 19:46:20 -0700470
471# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene9862da2015-09-18 12:48:23 -0700472# Module: gotestrunner
473# Variant:
474# Type: bootstrap_core_go_binary
475# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700476# Defined: build/blueprint/Blueprints:140:1
Dan Willemsene9862da2015-09-18 12:48:23 -0700477
478build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $
479 g.bootstrap.compile $
480 ${g.bootstrap.srcDir}/build/blueprint/gotestrunner/gotestrunner.go | $
481 ${g.bootstrap.compileCmd}
482 pkgPath = gotestrunner
483default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a
484
485build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $
486 g.bootstrap.link $
487 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $
488 ${g.bootstrap.linkCmd}
489default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
Colin Cross6ba99aa2015-11-23 14:09:17 -0800490
Dan Willemsene9862da2015-09-18 12:48:23 -0700491build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $
492 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
493default ${g.bootstrap.BinDir}/gotestrunner
494
495# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800496# Module: minibp
Colin Cross3f40fa42015-01-30 17:27:36 -0800497# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700498# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700499# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700500# Defined: build/blueprint/Blueprints:114:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800501
Colin Crosscbac5fb2015-08-24 15:41:17 -0700502build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
503 g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800504 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700505 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700506 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
507 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
508 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
509 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
510 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
511 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
512 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
513 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 -0800514 pkgPath = minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700515default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800516
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700517build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
518 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
519 ${g.bootstrap.linkCmd}
520 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
521default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
Colin Crosse441b9d2015-01-26 16:30:13 -0800522
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700523build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
524 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
525default ${g.bootstrap.BinDir}/minibp
Colin Cross2fe66872015-03-30 17:20:39 -0700526
527# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800528# Singleton: bootstrap
Dan Willemsen550eb332015-09-17 14:16:14 -0700529# Factory: github.com/google/blueprint/bootstrap.newSingletonFactory.func1
Colin Crosse441b9d2015-01-26 16:30:13 -0800530
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700531rule s.bootstrap.primarybp
532 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}
533 depfile = ${outfile}.d
534 description = minibp ${outfile}
Colin Crosse441b9d2015-01-26 16:30:13 -0800535
536rule s.bootstrap.minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700537 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 -0800538 depfile = ${out}.d
539 description = minibp ${out}
540 generator = true
541
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700542build ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
543 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp: $
544 s.bootstrap.primarybp ${g.bootstrap.srcDir}/Android.bp | $
545 ${g.bootstrap.BinDir}/choosestage ${g.bootstrap.BinDir}/gotestmain $
Dan Willemsene9862da2015-09-18 12:48:23 -0700546 ${g.bootstrap.BinDir}/gotestrunner ${g.bootstrap.BinDir}/minibp $
547 ${g.bootstrap.srcDir}/Android.bp $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700548 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
549 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
Colin Cross74498572015-11-03 14:44:07 -0800550 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
551 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700552 outfile = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in
Dan Willemsene5e20332015-06-23 19:46:20 -0700553 runTests = -t
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700554 timestamp = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
555 timestampdep = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp.d
556default ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
557 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
558
559build ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in: $
560 s.bootstrap.minibp ${g.bootstrap.srcDir}/Android.bp | $
561 ${g.bootstrap.bootstrapManifest} ${g.bootstrap.BinDir}/minibp
562 runTests = -t
563default ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
564
565build ${g.bootstrap.buildDir}/.bootstrap/notAFile: phony
566default ${g.bootstrap.buildDir}/.bootstrap/notAFile
Colin Cross6ba99aa2015-11-23 14:09:17 -0800567
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700568build ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in: $
569 g.bootstrap.chooseStage $
570 ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in $
571 ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in | $
572 ${g.bootstrap.chooseStageCmd} ${g.bootstrap.bootstrapManifest} $
573 ${g.bootstrap.buildDir}/.bootstrap/notAFile
574 current = ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
575default ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in
576
577build ${g.bootstrap.buildDir}/build.ninja: g.bootstrap.bootstrap $
578 ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in | $
579 ${g.bootstrap.bootstrapCmd}
580default ${g.bootstrap.buildDir}/build.ninja
Colin Crosse441b9d2015-01-26 16:30:13 -0800581