blob: ec1bc0d0eaf32f501af59f4c89400dcdcd4e0f15 [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
Colin Crosscbac5fb2015-08-24 15:41:17 -070018g.bootstrap.compileCmd = @@GoCompile@@
19
Colin Crosse441b9d2015-01-26 16:30:13 -080020g.bootstrap.goRoot = @@GoRoot@@
21
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070022g.bootstrap.goTestMainCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/gotestmain
Dan Willemsene5e20332015-06-23 19:46:20 -070023
Dan Willemsene9862da2015-09-18 12:48:23 -070024g.bootstrap.goTestRunnerCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/gotestrunner
25
Colin Crosscbac5fb2015-08-24 15:41:17 -070026g.bootstrap.linkCmd = @@GoLink@@
Colin Crosse441b9d2015-01-26 16:30:13 -080027
28g.bootstrap.srcDir = @@SrcDir@@
29
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070030builddir = ${g.bootstrap.buildDir}/.minibootstrap
Colin Crosse441b9d2015-01-26 16:30:13 -080031
32rule g.bootstrap.bootstrap
Dan Willemsen87b17d12015-07-14 00:39:06 -070033 command = BUILDDIR=${g.bootstrap.buildDir} ${g.bootstrap.bootstrapCmd} -i ${in}
Colin Crosse441b9d2015-01-26 16:30:13 -080034 description = bootstrap ${in}
35 generator = true
36
Colin Crosscbac5fb2015-08-24 15:41:17 -070037rule g.bootstrap.compile
38 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.compileCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
39 description = compile ${out}
40
Colin Crosse441b9d2015-01-26 16:30:13 -080041rule g.bootstrap.cp
42 command = cp ${in} ${out}
43 description = cp ${out}
44
Dan Willemsene5e20332015-06-23 19:46:20 -070045rule g.bootstrap.gotestmain
46 command = ${g.bootstrap.goTestMainCmd} -o ${out} -pkg ${pkg} ${in}
47 description = gotestmain ${out}
48
Colin Crosse441b9d2015-01-26 16:30:13 -080049rule g.bootstrap.link
50 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
Colin Crosscbac5fb2015-08-24 15:41:17 -070051 description = link ${out}
Colin Crosse441b9d2015-01-26 16:30:13 -080052
Dan Willemsene5e20332015-06-23 19:46:20 -070053rule g.bootstrap.test
Dan Willemsene9862da2015-09-18 12:48:23 -070054 command = ${g.bootstrap.goTestRunnerCmd} -p ${pkgSrcDir} -f ${out} -- ${in} -test.short
Dan Willemsene5e20332015-06-23 19:46:20 -070055 description = test ${pkg}
56
Colin Crosse441b9d2015-01-26 16:30:13 -080057# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
58# Module: blueprint
Colin Cross3f40fa42015-01-30 17:27:36 -080059# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -080060# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -070061# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Crosse441b9d2015-01-26 16:30:13 -080062# Defined: build/blueprint/Blueprints:1:1
63
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070064build $
65 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -070066 : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
Colin Cross6debdba2016-08-08 12:58:36 -070067 ${g.bootstrap.srcDir}/build/blueprint/fs.go $
Dan Willemsene5e20332015-06-23 19:46:20 -070068 ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
69 ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
70 ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
71 ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
72 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
73 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
74 ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
75 ${g.bootstrap.srcDir}/build/blueprint/scope.go $
76 ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
77 ${g.bootstrap.srcDir}/build/blueprint/unpack.go $
78 ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
79 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
80 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
81 ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
Colin Cross6debdba2016-08-08 12:58:36 -070082 ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go $
83 ${g.bootstrap.srcDir}/build/blueprint/visit_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -070084 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070085 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
86 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
87 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
88 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 -070089 pkgPath = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070090default $
91 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
Dan Willemsene5e20332015-06-23 19:46:20 -070092
Dan Willemsen24f2f8d2015-07-15 14:34:02 -070093build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go: $
94 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -070095 ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
96 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
97 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
98 ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
Colin Cross6debdba2016-08-08 12:58:36 -070099 ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go $
100 ${g.bootstrap.srcDir}/build/blueprint/visit_test.go | $
Dan Willemsene5e20332015-06-23 19:46:20 -0700101 ${g.bootstrap.goTestMainCmd}
102 pkg = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700103default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700104
Colin Crosscbac5fb2015-08-24 15:41:17 -0700105build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a: $
106 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700107 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700108 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700109 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
110 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700111 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700112default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700113
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700114build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test: g.bootstrap.link $
115 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a | $
116 ${g.bootstrap.linkCmd}
117 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
118default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700119
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700120build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed: $
121 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700122 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test | $
123 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700124 pkg = github.com/google/blueprint
125 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700126default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
Dan Willemsene5e20332015-06-23 19:46:20 -0700127
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700128build $
129 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700130 : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
Colin Cross6debdba2016-08-08 12:58:36 -0700131 ${g.bootstrap.srcDir}/build/blueprint/fs.go $
Colin Crosse441b9d2015-01-26 16:30:13 -0800132 ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
133 ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
134 ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
135 ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
136 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
137 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
138 ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
139 ${g.bootstrap.srcDir}/build/blueprint/scope.go $
140 ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700141 ${g.bootstrap.srcDir}/build/blueprint/unpack.go | $
142 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700143 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
144 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
145 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
146 || ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
147 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 -0700148 pkgPath = github.com/google/blueprint
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700149default $
150 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800151
152# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
153# Module: blueprint-bootstrap
Colin Cross3f40fa42015-01-30 17:27:36 -0800154# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800155# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700156# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700157# Defined: build/blueprint/Blueprints:83:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800158
Colin Cross70b40592015-03-23 12:57:34 -0700159build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700160 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700161 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800162 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bootstrap.go $
163 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/cleanup.go $
164 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/command.go $
165 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/config.go $
Colin Cross0bc42682015-06-18 18:06:46 -0700166 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/doc.go $
167 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/writedocs.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700168 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700169 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
170 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
171 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
172 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
173 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
174 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
175 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 -0700176 pkgPath = github.com/google/blueprint/bootstrap
177default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700178 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800179
180# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross0bc42682015-06-18 18:06:46 -0700181# Module: blueprint-bootstrap-bpdoc
182# Variant:
183# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700184# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700185# Defined: build/blueprint/Blueprints:102:1
Colin Cross0bc42682015-06-18 18:06:46 -0700186
187build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700188 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700189 : g.bootstrap.compile $
Colin Cross0bc42682015-06-18 18:06:46 -0700190 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bpdoc/bpdoc.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700191 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700192 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
193 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
194 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
195 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
196 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 -0700197 pkgPath = github.com/google/blueprint/bootstrap/bpdoc
198default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700199 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
Colin Cross0bc42682015-06-18 18:06:46 -0700200
201# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800202# Module: blueprint-deptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800203# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800204# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700205# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700206# Defined: build/blueprint/Blueprints:49:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800207
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700208build $
209 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700210 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800211 ${g.bootstrap.srcDir}/build/blueprint/deptools/depfile.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700212 ${g.bootstrap.compileCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700213 pkgPath = github.com/google/blueprint/deptools
214default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700215 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800216
217# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
218# Module: blueprint-parser
Colin Cross3f40fa42015-01-30 17:27:36 -0800219# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800220# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700221# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700222# Defined: build/blueprint/Blueprints:33:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700223
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700224build $
225 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700226 : g.bootstrap.compile $
Colin Crossd20b36b2016-06-07 13:54:35 -0700227 ${g.bootstrap.srcDir}/build/blueprint/parser/ast.go $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700228 ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
Dan Willemsene5e20332015-06-23 19:46:20 -0700229 ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
230 ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
231 ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go $
232 ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
233 ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700234 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700235 pkgPath = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700236default $
237 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700238
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700239build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go: $
240 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700241 ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
242 ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
243 ${g.bootstrap.goTestMainCmd}
244 pkg = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700245default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700246
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700247build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700248 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700249 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700250 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700251 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
252 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700253 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700254default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700255
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700256build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test: $
257 g.bootstrap.link $
258 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a | $
259 ${g.bootstrap.linkCmd}
260 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
261default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700262
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700263build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed: $
264 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700265 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test | $
266 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700267 pkg = github.com/google/blueprint/parser
268 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700269default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
Colin Crosse441b9d2015-01-26 16:30:13 -0800270
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700271build $
272 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700273 : g.bootstrap.compile $
Colin Crossd20b36b2016-06-07 13:54:35 -0700274 ${g.bootstrap.srcDir}/build/blueprint/parser/ast.go $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700275 ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
Colin Crosse441b9d2015-01-26 16:30:13 -0800276 ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
277 ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
278 ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700279 ${g.bootstrap.compileCmd} || $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700280 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700281 pkgPath = github.com/google/blueprint/parser
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700282default $
283 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800284
285# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
286# Module: blueprint-pathtools
Colin Cross3f40fa42015-01-30 17:27:36 -0800287# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800288# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700289# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700290# Defined: build/blueprint/Blueprints:55:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700291
292build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700293 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700294 : g.bootstrap.compile $
Dan Willemsene5e20332015-06-23 19:46:20 -0700295 ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
296 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go $
297 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700298 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700299 pkgPath = github.com/google/blueprint/pathtools
300default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700301 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700302
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700303build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go: $
304 g.bootstrap.gotestmain $
Dan Willemsene5e20332015-06-23 19:46:20 -0700305 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
306 ${g.bootstrap.goTestMainCmd}
307 pkg = github.com/google/blueprint/pathtools
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700308default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go
Dan Willemsene5e20332015-06-23 19:46:20 -0700309
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700310build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700311 g.bootstrap.compile $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700312 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700313 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700314 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
315 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700316 pkgPath = main
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700317default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700318
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700319build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test: $
320 g.bootstrap.link $
321 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a | $
322 ${g.bootstrap.linkCmd}
323 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
324default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test
Dan Willemsene5e20332015-06-23 19:46:20 -0700325
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700326build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed: $
327 g.bootstrap.test $
Dan Willemsene9862da2015-09-18 12:48:23 -0700328 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test | $
329 ${g.bootstrap.goTestRunnerCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700330 pkg = github.com/google/blueprint/pathtools
331 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/pathtools
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700332default $
333 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
Colin Crosse441b9d2015-01-26 16:30:13 -0800334
Colin Cross70b40592015-03-23 12:57:34 -0700335build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700336 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700337 : g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800338 ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
339 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700340 ${g.bootstrap.compileCmd} || $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700341 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700342 pkgPath = github.com/google/blueprint/pathtools
343default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700344 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800345
346# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
347# Module: blueprint-proptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800348# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800349# Type: bootstrap_go_package
Dan Willemsen550eb332015-09-17 14:16:14 -0700350# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700351# Defined: build/blueprint/Blueprints:67:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800352
Colin Cross70b40592015-03-23 12:57:34 -0700353build $
Colin Cross74498572015-11-03 14:44:07 -0800354 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a $
355 : g.bootstrap.compile $
356 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone.go $
357 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
358 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
359 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go $
360 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
361 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
362 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
363 ${g.bootstrap.compileCmd}
364 pkgPath = github.com/google/blueprint/proptools
365default $
366 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
367
368build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go: $
369 g.bootstrap.gotestmain $
370 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
371 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
372 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
373 ${g.bootstrap.goTestMainCmd}
374 pkg = github.com/google/blueprint/proptools
375default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go
376
377build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a: $
378 g.bootstrap.compile $
379 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go | $
380 ${g.bootstrap.compileCmd} $
381 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
382 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
383 pkgPath = main
384default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a
385
386build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test: $
387 g.bootstrap.link $
388 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a | $
389 ${g.bootstrap.linkCmd}
390 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
391default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test
392
393build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed: $
394 g.bootstrap.test $
395 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test | $
396 ${g.bootstrap.goTestRunnerCmd}
397 pkg = github.com/google/blueprint/proptools
398 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/proptools
399default $
400 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
401
402build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700403 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700404 : g.bootstrap.compile $
Colin Cross74498572015-11-03 14:44:07 -0800405 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone.go $
406 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
407 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
408 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go | $
409 ${g.bootstrap.compileCmd} || $
410 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700411 pkgPath = github.com/google/blueprint/proptools
412default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700413 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800414
415# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene5e20332015-06-23 19:46:20 -0700416# Module: gotestmain
417# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700418# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700419# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700420# Defined: build/blueprint/Blueprints:135:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700421
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700422build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700423 g.bootstrap.compile $
Dan Willemsene5e20332015-06-23 19:46:20 -0700424 ${g.bootstrap.srcDir}/build/blueprint/gotestmain/gotestmain.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700425 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700426 pkgPath = gotestmain
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700427default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700428
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700429build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
430 g.bootstrap.link $
431 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
432 ${g.bootstrap.linkCmd}
433default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
Colin Cross6ba99aa2015-11-23 14:09:17 -0800434
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700435build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
436 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
437default ${g.bootstrap.BinDir}/gotestmain
Dan Willemsene5e20332015-06-23 19:46:20 -0700438
439# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene9862da2015-09-18 12:48:23 -0700440# Module: gotestrunner
441# Variant:
442# Type: bootstrap_core_go_binary
443# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700444# Defined: build/blueprint/Blueprints:140:1
Dan Willemsene9862da2015-09-18 12:48:23 -0700445
446build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $
447 g.bootstrap.compile $
448 ${g.bootstrap.srcDir}/build/blueprint/gotestrunner/gotestrunner.go | $
449 ${g.bootstrap.compileCmd}
450 pkgPath = gotestrunner
451default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a
452
453build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $
454 g.bootstrap.link $
455 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $
456 ${g.bootstrap.linkCmd}
457default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
Colin Cross6ba99aa2015-11-23 14:09:17 -0800458
Dan Willemsene9862da2015-09-18 12:48:23 -0700459build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $
460 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
461default ${g.bootstrap.BinDir}/gotestrunner
462
463# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800464# Module: minibp
Colin Cross3f40fa42015-01-30 17:27:36 -0800465# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700466# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700467# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Colin Cross6debdba2016-08-08 12:58:36 -0700468# Defined: build/blueprint/Blueprints:114:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800469
Colin Crosscbac5fb2015-08-24 15:41:17 -0700470build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
471 g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800472 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700473 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700474 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
475 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
476 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
477 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
478 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
479 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
480 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
481 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 -0800482 pkgPath = minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700483default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800484
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700485build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
486 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
487 ${g.bootstrap.linkCmd}
488 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
489default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
Colin Crosse441b9d2015-01-26 16:30:13 -0800490
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700491build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
492 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
493default ${g.bootstrap.BinDir}/minibp
Colin Cross2fe66872015-03-30 17:20:39 -0700494
495# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800496# Singleton: bootstrap
Dan Willemsen550eb332015-09-17 14:16:14 -0700497# Factory: github.com/google/blueprint/bootstrap.newSingletonFactory.func1
Colin Crosse441b9d2015-01-26 16:30:13 -0800498
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700499rule s.bootstrap.primarybp
Dan Willemsen79d2f252016-08-13 16:47:45 -0700500 command = ${g.bootstrap.BinDir}/minibp --build-primary ${runTests} -b ${g.bootstrap.buildDir} -d ${outfile}.d -o ${outfile} ${in}
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700501 depfile = ${outfile}.d
502 description = minibp ${outfile}
Colin Crosse441b9d2015-01-26 16:30:13 -0800503
504rule s.bootstrap.minibp
Dan Willemsen79d2f252016-08-13 16:47:45 -0700505 command = ${g.bootstrap.BinDir}/minibp ${runTests} -b ${g.bootstrap.buildDir} -d ${out}.d -o ${out} ${in}
Colin Crosse441b9d2015-01-26 16:30:13 -0800506 depfile = ${out}.d
507 description = minibp ${out}
Dan Willemsen79d2f252016-08-13 16:47:45 -0700508 restat = true
Colin Crosse441b9d2015-01-26 16:30:13 -0800509
Dan Willemsen79d2f252016-08-13 16:47:45 -0700510build ${g.bootstrap.buildDir}/.bootstrap/build.ninja: s.bootstrap.primarybp $
511 ${g.bootstrap.srcDir}/Android.bp | ${g.bootstrap.BinDir}/gotestmain $
Dan Willemsene9862da2015-09-18 12:48:23 -0700512 ${g.bootstrap.BinDir}/gotestrunner ${g.bootstrap.BinDir}/minibp $
513 ${g.bootstrap.srcDir}/Android.bp $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700514 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
515 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
Colin Cross74498572015-11-03 14:44:07 -0800516 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
517 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
Dan Willemsen79d2f252016-08-13 16:47:45 -0700518 outfile = ${g.bootstrap.buildDir}/.bootstrap/build.ninja
Dan Willemsene5e20332015-06-23 19:46:20 -0700519 runTests = -t
Dan Willemsen79d2f252016-08-13 16:47:45 -0700520default ${g.bootstrap.buildDir}/.bootstrap/build.ninja
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700521
Dan Willemsen79d2f252016-08-13 16:47:45 -0700522build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in: $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700523 s.bootstrap.minibp ${g.bootstrap.srcDir}/Android.bp | $
Dan Willemsen79d2f252016-08-13 16:47:45 -0700524 ${g.bootstrap.BinDir}/minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700525 runTests = -t
Dan Willemsen79d2f252016-08-13 16:47:45 -0700526default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700527
Dan Willemsen79d2f252016-08-13 16:47:45 -0700528build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja: $
529 g.bootstrap.bootstrap $
530 ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in | $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700531 ${g.bootstrap.bootstrapCmd}
Dan Willemsen79d2f252016-08-13 16:47:45 -0700532default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja
Colin Crosse441b9d2015-01-26 16:30:13 -0800533