• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ******************************************************************************
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#
8#     bootstrap [from Go package github.com/google/blueprint/bootstrap]
9#
10ninja_required_version = 1.7.0
11
12g.bootstrap.buildDir = @@BuildDir@@
13
14g.bootstrap.BinDir = ${g.bootstrap.buildDir}/.bootstrap/bin
15
16g.bootstrap.bootstrapCmd = @@Bootstrap@@
17
18g.bootstrap.compileCmd = @@GoCompile@@
19
20g.bootstrap.goRoot = @@GoRoot@@
21
22g.bootstrap.linkCmd = @@GoLink@@
23
24g.bootstrap.srcDir = @@SrcDir@@
25
26builddir = ${g.bootstrap.buildDir}/.minibootstrap
27
28rule g.bootstrap.bootstrap
29    command = BUILDDIR=${g.bootstrap.buildDir} ${g.bootstrap.bootstrapCmd} -i ${in}
30    description = bootstrap ${in}
31    generator = true
32
33rule g.bootstrap.build.ninja
34    command = ${builder} ${extra} -b ${g.bootstrap.buildDir} -d ${out}.d -o ${out} ${in}
35    depfile = ${out}.d
36    description = ${builder} ${out}
37    restat = true
38
39rule g.bootstrap.compile
40    command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.compileCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
41    description = compile ${out}
42
43rule g.bootstrap.cp
44    command = cp ${in} ${out}
45    description = cp ${out}
46
47rule g.bootstrap.link
48    command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
49    description = link ${out}
50
51# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
52# Module:  blueprint
53# Variant:
54# Type:    bootstrap_go_package
55# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
56# Defined: blueprint/Blueprints:1:1
57
58build $
59        ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
60        : g.bootstrap.compile ${g.bootstrap.srcDir}/blueprint/context.go $
61        ${g.bootstrap.srcDir}/blueprint/glob.go $
62        ${g.bootstrap.srcDir}/blueprint/live_tracker.go $
63        ${g.bootstrap.srcDir}/blueprint/mangle.go $
64        ${g.bootstrap.srcDir}/blueprint/module_ctx.go $
65        ${g.bootstrap.srcDir}/blueprint/ninja_defs.go $
66        ${g.bootstrap.srcDir}/blueprint/ninja_strings.go $
67        ${g.bootstrap.srcDir}/blueprint/ninja_writer.go $
68        ${g.bootstrap.srcDir}/blueprint/package_ctx.go $
69        ${g.bootstrap.srcDir}/blueprint/scope.go $
70        ${g.bootstrap.srcDir}/blueprint/singleton_ctx.go $
71        ${g.bootstrap.srcDir}/blueprint/unpack.go | ${g.bootstrap.compileCmd} $
72        ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
73        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
74        ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
75        ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
76    incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg
77    pkgPath = github.com/google/blueprint
78default $
79        ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
80
81# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
82# Module:  blueprint-bootstrap
83# Variant:
84# Type:    bootstrap_go_package
85# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
86# Defined: blueprint/Blueprints:89:1
87
88build $
89        ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
90        : g.bootstrap.compile $
91        ${g.bootstrap.srcDir}/blueprint/bootstrap/bootstrap.go $
92        ${g.bootstrap.srcDir}/blueprint/bootstrap/cleanup.go $
93        ${g.bootstrap.srcDir}/blueprint/bootstrap/command.go $
94        ${g.bootstrap.srcDir}/blueprint/bootstrap/config.go $
95        ${g.bootstrap.srcDir}/blueprint/bootstrap/doc.go $
96        ${g.bootstrap.srcDir}/blueprint/bootstrap/glob.go $
97        ${g.bootstrap.srcDir}/blueprint/bootstrap/writedocs.go | $
98        ${g.bootstrap.compileCmd} $
99        ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
100        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
101        ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
102        ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
103        ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
104        ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
105    incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/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-bootstrap-bpdoc/pkg
106    pkgPath = github.com/google/blueprint/bootstrap
107default $
108        ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
109
110# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
111# Module:  blueprint-bootstrap-bpdoc
112# Variant:
113# Type:    bootstrap_go_package
114# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
115# Defined: blueprint/Blueprints:109:1
116
117build $
118        ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
119        : g.bootstrap.compile $
120        ${g.bootstrap.srcDir}/blueprint/bootstrap/bpdoc/bpdoc.go | $
121        ${g.bootstrap.compileCmd} $
122        ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
123        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
124        ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
125        ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
126        ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
127    incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg
128    pkgPath = github.com/google/blueprint/bootstrap/bpdoc
129default $
130        ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
131
132# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
133# Module:  blueprint-deptools
134# Variant:
135# Type:    bootstrap_go_package
136# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
137# Defined: blueprint/Blueprints:49:1
138
139build $
140        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
141        : g.bootstrap.compile $
142        ${g.bootstrap.srcDir}/blueprint/deptools/depfile.go | $
143        ${g.bootstrap.compileCmd}
144    pkgPath = github.com/google/blueprint/deptools
145default $
146        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
147
148# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
149# Module:  blueprint-parser
150# Variant:
151# Type:    bootstrap_go_package
152# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
153# Defined: blueprint/Blueprints:33:1
154
155build $
156        ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
157        : g.bootstrap.compile ${g.bootstrap.srcDir}/blueprint/parser/ast.go $
158        ${g.bootstrap.srcDir}/blueprint/parser/modify.go $
159        ${g.bootstrap.srcDir}/blueprint/parser/parser.go $
160        ${g.bootstrap.srcDir}/blueprint/parser/printer.go $
161        ${g.bootstrap.srcDir}/blueprint/parser/sort.go | $
162        ${g.bootstrap.compileCmd}
163    pkgPath = github.com/google/blueprint/parser
164default $
165        ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
166
167# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
168# Module:  blueprint-pathtools
169# Variant:
170# Type:    bootstrap_go_package
171# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
172# Defined: blueprint/Blueprints:55:1
173
174build $
175        ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
176        : g.bootstrap.compile $
177        ${g.bootstrap.srcDir}/blueprint/pathtools/lists.go $
178        ${g.bootstrap.srcDir}/blueprint/pathtools/fs.go $
179        ${g.bootstrap.srcDir}/blueprint/pathtools/glob.go | $
180        ${g.bootstrap.compileCmd} $
181        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
182    incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg
183    pkgPath = github.com/google/blueprint/pathtools
184default $
185        ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
186
187# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
188# Module:  blueprint-proptools
189# Variant:
190# Type:    bootstrap_go_package
191# Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
192# Defined: blueprint/Blueprints:71:1
193
194build $
195        ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
196        : g.bootstrap.compile $
197        ${g.bootstrap.srcDir}/blueprint/proptools/clone.go $
198        ${g.bootstrap.srcDir}/blueprint/proptools/escape.go $
199        ${g.bootstrap.srcDir}/blueprint/proptools/extend.go $
200        ${g.bootstrap.srcDir}/blueprint/proptools/proptools.go $
201        ${g.bootstrap.srcDir}/blueprint/proptools/typeequal.go | $
202        ${g.bootstrap.compileCmd}
203    pkgPath = github.com/google/blueprint/proptools
204default $
205        ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
206
207# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
208# Module:  bpglob
209# Variant:
210# Type:    bootstrap_core_go_binary
211# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
212# Defined: blueprint/Blueprints:130:1
213
214build ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/bpglob.a: $
215        g.bootstrap.compile $
216        ${g.bootstrap.srcDir}/blueprint/bootstrap/bpglob/bpglob.go | $
217        ${g.bootstrap.compileCmd} $
218        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
219        ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
220    incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg
221    pkgPath = bpglob
222default ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/bpglob.a
223
224build ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out: g.bootstrap.link $
225        ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/bpglob.a | $
226        ${g.bootstrap.linkCmd}
227    libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg
228default ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out
229
230build ${g.bootstrap.BinDir}/bpglob: g.bootstrap.cp $
231        ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out
232default ${g.bootstrap.BinDir}/bpglob
233
234# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
235# Module:  gotestmain
236# Variant:
237# Type:    bootstrap_core_go_binary
238# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
239# Defined: blueprint/Blueprints:148:1
240
241build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
242        g.bootstrap.compile $
243        ${g.bootstrap.srcDir}/blueprint/gotestmain/gotestmain.go | $
244        ${g.bootstrap.compileCmd}
245    pkgPath = gotestmain
246default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
247
248build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
249        g.bootstrap.link $
250        ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
251        ${g.bootstrap.linkCmd}
252default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
253
254build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
255        ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
256default ${g.bootstrap.BinDir}/gotestmain
257
258# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
259# Module:  gotestrunner
260# Variant:
261# Type:    bootstrap_core_go_binary
262# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
263# Defined: blueprint/Blueprints:153:1
264
265build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $
266        g.bootstrap.compile $
267        ${g.bootstrap.srcDir}/blueprint/gotestrunner/gotestrunner.go | $
268        ${g.bootstrap.compileCmd}
269    pkgPath = gotestrunner
270default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a
271
272build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $
273        g.bootstrap.link $
274        ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $
275        ${g.bootstrap.linkCmd}
276default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
277
278build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $
279        ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
280default ${g.bootstrap.BinDir}/gotestrunner
281
282# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
283# Module:  minibp
284# Variant:
285# Type:    bootstrap_core_go_binary
286# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
287# Defined: blueprint/Blueprints:121:1
288
289build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
290        g.bootstrap.compile $
291        ${g.bootstrap.srcDir}/blueprint/bootstrap/minibp/main.go | $
292        ${g.bootstrap.compileCmd} $
293        ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
294        ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
295        ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
296        ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
297        ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
298        ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
299        ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
300    incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/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-bootstrap-bpdoc/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg
301    pkgPath = minibp
302default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
303
304build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
305        ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
306        ${g.bootstrap.linkCmd}
307    libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/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-bootstrap-bpdoc/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg
308default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
309
310build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
311        ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
312default ${g.bootstrap.BinDir}/minibp
313
314# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
315# Singleton: bootstrap
316# Factory:   github.com/google/blueprint/bootstrap.newSingletonFactory.func1
317
318build ${g.bootstrap.buildDir}/.bootstrap/build.ninja: g.bootstrap.build.ninja $
319        ${g.bootstrap.srcDir}/Blueprints | ${builder}
320    builder = ${g.bootstrap.BinDir}/minibp
321    extra = --build-primary
322default ${g.bootstrap.buildDir}/.bootstrap/build.ninja
323
324build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in: $
325        g.bootstrap.build.ninja ${g.bootstrap.srcDir}/Blueprints | ${builder}
326    builder = ${g.bootstrap.BinDir}/minibp
327    extra =
328default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in
329
330build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja: $
331        g.bootstrap.bootstrap $
332        ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in | $
333        ${g.bootstrap.bootstrapCmd}
334default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja
335
336