blob: e22f14630ba7e37feaf14c80ee096ed8bbeca892 [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
Dan Willemsen11fa5222016-10-25 16:05:50 -0700157# Defined: build/blueprint/Blueprints:85: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
Dan Willemsen11fa5222016-10-25 16:05:50 -0700185# Defined: build/blueprint/Blueprints:104: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 $
Dan Willemsen11fa5222016-10-25 16:05:50 -0700357 ${g.bootstrap.srcDir}/build/blueprint/proptools/escape.go $
Colin Cross74498572015-11-03 14:44:07 -0800358 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
359 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
360 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go $
361 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
Dan Willemsen11fa5222016-10-25 16:05:50 -0700362 ${g.bootstrap.srcDir}/build/blueprint/proptools/escape_test.go $
Colin Cross74498572015-11-03 14:44:07 -0800363 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
364 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
365 ${g.bootstrap.compileCmd}
366 pkgPath = github.com/google/blueprint/proptools
367default $
368 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
369
370build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go: $
371 g.bootstrap.gotestmain $
372 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
Dan Willemsen11fa5222016-10-25 16:05:50 -0700373 ${g.bootstrap.srcDir}/build/blueprint/proptools/escape_test.go $
Colin Cross74498572015-11-03 14:44:07 -0800374 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
375 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
376 ${g.bootstrap.goTestMainCmd}
377 pkg = github.com/google/blueprint/proptools
378default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go
379
380build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a: $
381 g.bootstrap.compile $
382 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go | $
383 ${g.bootstrap.compileCmd} $
384 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
385 incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
386 pkgPath = main
387default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a
388
389build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test: $
390 g.bootstrap.link $
391 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a | $
392 ${g.bootstrap.linkCmd}
393 libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
394default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test
395
396build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed: $
397 g.bootstrap.test $
398 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test | $
399 ${g.bootstrap.goTestRunnerCmd}
400 pkg = github.com/google/blueprint/proptools
401 pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/proptools
402default $
403 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
404
405build $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700406 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700407 : g.bootstrap.compile $
Colin Cross74498572015-11-03 14:44:07 -0800408 ${g.bootstrap.srcDir}/build/blueprint/proptools/clone.go $
Dan Willemsen11fa5222016-10-25 16:05:50 -0700409 ${g.bootstrap.srcDir}/build/blueprint/proptools/escape.go $
Colin Cross74498572015-11-03 14:44:07 -0800410 ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
411 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
412 ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go | $
413 ${g.bootstrap.compileCmd} || $
414 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
Colin Cross70b40592015-03-23 12:57:34 -0700415 pkgPath = github.com/google/blueprint/proptools
416default $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700417 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800418
419# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene5e20332015-06-23 19:46:20 -0700420# Module: gotestmain
421# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700422# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700423# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Dan Willemsen11fa5222016-10-25 16:05:50 -0700424# Defined: build/blueprint/Blueprints:137:1
Dan Willemsene5e20332015-06-23 19:46:20 -0700425
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700426build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700427 g.bootstrap.compile $
Dan Willemsene5e20332015-06-23 19:46:20 -0700428 ${g.bootstrap.srcDir}/build/blueprint/gotestmain/gotestmain.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700429 ${g.bootstrap.compileCmd}
Dan Willemsene5e20332015-06-23 19:46:20 -0700430 pkgPath = gotestmain
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700431default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
Dan Willemsene5e20332015-06-23 19:46:20 -0700432
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700433build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
434 g.bootstrap.link $
435 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
436 ${g.bootstrap.linkCmd}
437default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
Colin Cross6ba99aa2015-11-23 14:09:17 -0800438
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700439build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
440 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
441default ${g.bootstrap.BinDir}/gotestmain
Dan Willemsene5e20332015-06-23 19:46:20 -0700442
443# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Dan Willemsene9862da2015-09-18 12:48:23 -0700444# Module: gotestrunner
445# Variant:
446# Type: bootstrap_core_go_binary
447# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Dan Willemsen11fa5222016-10-25 16:05:50 -0700448# Defined: build/blueprint/Blueprints:142:1
Dan Willemsene9862da2015-09-18 12:48:23 -0700449
450build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $
451 g.bootstrap.compile $
452 ${g.bootstrap.srcDir}/build/blueprint/gotestrunner/gotestrunner.go | $
453 ${g.bootstrap.compileCmd}
454 pkgPath = gotestrunner
455default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a
456
457build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $
458 g.bootstrap.link $
459 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $
460 ${g.bootstrap.linkCmd}
461default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
Colin Cross6ba99aa2015-11-23 14:09:17 -0800462
Dan Willemsene9862da2015-09-18 12:48:23 -0700463build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $
464 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
465default ${g.bootstrap.BinDir}/gotestrunner
466
467# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800468# Module: minibp
Colin Cross3f40fa42015-01-30 17:27:36 -0800469# Variant:
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700470# Type: bootstrap_core_go_binary
Dan Willemsen550eb332015-09-17 14:16:14 -0700471# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
Dan Willemsen11fa5222016-10-25 16:05:50 -0700472# Defined: build/blueprint/Blueprints:116:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800473
Colin Crosscbac5fb2015-08-24 15:41:17 -0700474build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
475 g.bootstrap.compile $
Colin Crosse441b9d2015-01-26 16:30:13 -0800476 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
Colin Crosscbac5fb2015-08-24 15:41:17 -0700477 ${g.bootstrap.compileCmd} $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700478 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
479 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
480 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
481 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
482 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
483 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
484 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
485 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 -0800486 pkgPath = minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700487default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800488
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700489build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
490 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
491 ${g.bootstrap.linkCmd}
492 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
493default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
Colin Crosse441b9d2015-01-26 16:30:13 -0800494
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700495build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
496 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
497default ${g.bootstrap.BinDir}/minibp
Colin Cross2fe66872015-03-30 17:20:39 -0700498
499# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800500# Singleton: bootstrap
Dan Willemsen550eb332015-09-17 14:16:14 -0700501# Factory: github.com/google/blueprint/bootstrap.newSingletonFactory.func1
Colin Crosse441b9d2015-01-26 16:30:13 -0800502
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700503rule s.bootstrap.primarybp
Dan Willemsen79d2f252016-08-13 16:47:45 -0700504 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 -0700505 depfile = ${outfile}.d
506 description = minibp ${outfile}
Colin Crosse441b9d2015-01-26 16:30:13 -0800507
508rule s.bootstrap.minibp
Dan Willemsen79d2f252016-08-13 16:47:45 -0700509 command = ${g.bootstrap.BinDir}/minibp ${runTests} -b ${g.bootstrap.buildDir} -d ${out}.d -o ${out} ${in}
Colin Crosse441b9d2015-01-26 16:30:13 -0800510 depfile = ${out}.d
511 description = minibp ${out}
Dan Willemsen79d2f252016-08-13 16:47:45 -0700512 restat = true
Colin Crosse441b9d2015-01-26 16:30:13 -0800513
Dan Willemsen79d2f252016-08-13 16:47:45 -0700514build ${g.bootstrap.buildDir}/.bootstrap/build.ninja: s.bootstrap.primarybp $
515 ${g.bootstrap.srcDir}/Android.bp | ${g.bootstrap.BinDir}/gotestmain $
Dan Willemsene9862da2015-09-18 12:48:23 -0700516 ${g.bootstrap.BinDir}/gotestrunner ${g.bootstrap.BinDir}/minibp $
517 ${g.bootstrap.srcDir}/Android.bp $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700518 ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
519 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
Colin Cross74498572015-11-03 14:44:07 -0800520 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
521 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
Dan Willemsen79d2f252016-08-13 16:47:45 -0700522 outfile = ${g.bootstrap.buildDir}/.bootstrap/build.ninja
Dan Willemsene5e20332015-06-23 19:46:20 -0700523 runTests = -t
Dan Willemsen79d2f252016-08-13 16:47:45 -0700524default ${g.bootstrap.buildDir}/.bootstrap/build.ninja
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700525
Dan Willemsen79d2f252016-08-13 16:47:45 -0700526build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in: $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700527 s.bootstrap.minibp ${g.bootstrap.srcDir}/Android.bp | $
Dan Willemsen79d2f252016-08-13 16:47:45 -0700528 ${g.bootstrap.BinDir}/minibp
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700529 runTests = -t
Dan Willemsen79d2f252016-08-13 16:47:45 -0700530default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700531
Dan Willemsen79d2f252016-08-13 16:47:45 -0700532build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja: $
533 g.bootstrap.bootstrap $
534 ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in | $
Dan Willemsen24f2f8d2015-07-15 14:34:02 -0700535 ${g.bootstrap.bootstrapCmd}
Dan Willemsen79d2f252016-08-13 16:47:45 -0700536default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja
Colin Crosse441b9d2015-01-26 16:30:13 -0800537