blob: a46053f08d1a0a7ca7bb077ca9b0f576205da9c9 [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#
10ninja_required_version = 1.1.0
11
12g.bootstrap.bootstrapCmd = @@Bootstrap@@
13
14g.bootstrap.bootstrapManifest = @@BootstrapManifest@@
15
16g.bootstrap.goRoot = @@GoRoot@@
17
18g.bootstrap.goOS = @@GoOS@@
19
20g.bootstrap.goArch = @@GoArch@@
21
22g.bootstrap.goToolDir = ${g.bootstrap.goRoot}/pkg/tool/${g.bootstrap.goOS}_${g.bootstrap.goArch}
23
24g.bootstrap.goChar = @@GoChar@@
25
26g.bootstrap.gcCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}g
27
28g.bootstrap.linkCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}l
29
30g.bootstrap.srcDir = @@SrcDir@@
31
32builddir = .bootstrap
33
34rule g.bootstrap.bootstrap
35 command = ${g.bootstrap.bootstrapCmd} -i ${in}
36 description = bootstrap ${in}
37 generator = true
38
39rule g.bootstrap.cp
40 command = cp ${in} ${out}
41 description = cp ${out}
42
43rule g.bootstrap.gc
44 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.gcCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
45 description = ${g.bootstrap.goChar}g ${out}
46
47rule g.bootstrap.link
48 command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
49 description = ${g.bootstrap.goChar}l ${out}
50
51# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross80031312015-03-14 14:28:22 -070052# Module: androidmk
53# Variant:
54# Type: bootstrap_go_binary
Colin Cross70b40592015-03-23 12:57:34 -070055# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Cross30e076a2015-04-13 13:58:27 -070056# Defined: build/soong/Blueprints:159:1
Colin Cross80031312015-03-14 14:28:22 -070057
58build .bootstrap/androidmk/obj/androidmk.a: g.bootstrap.gc $
59 ${g.bootstrap.srcDir}/build/soong/androidmk/cmd/androidmk/android.go $
60 ${g.bootstrap.srcDir}/build/soong/androidmk/cmd/androidmk/androidmk.go $
61 ${g.bootstrap.srcDir}/build/soong/androidmk/cmd/androidmk/values.go | $
62 ${g.bootstrap.gcCmd} $
63 .bootstrap/androidmk-parser/pkg/android/soong/androidmk/parser.a $
Colin Cross70b40592015-03-23 12:57:34 -070064 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Colin Cross80031312015-03-14 14:28:22 -070065 incFlags = -I .bootstrap/androidmk-parser/pkg -I .bootstrap/blueprint-parser/pkg
66 pkgPath = androidmk
67default .bootstrap/androidmk/obj/androidmk.a
68
69build .bootstrap/androidmk/obj/a.out: g.bootstrap.link $
70 .bootstrap/androidmk/obj/androidmk.a | ${g.bootstrap.linkCmd}
71 libDirFlags = -L .bootstrap/androidmk-parser/pkg -L .bootstrap/blueprint-parser/pkg
72default .bootstrap/androidmk/obj/a.out
73
74build .bootstrap/bin/androidmk: g.bootstrap.cp .bootstrap/androidmk/obj/a.out
75default .bootstrap/bin/androidmk
76
77# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
78# Module: androidmk-parser
79# Variant:
80# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -070081# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Cross30e076a2015-04-13 13:58:27 -070082# Defined: build/soong/Blueprints:172:1
Colin Cross80031312015-03-14 14:28:22 -070083
84build .bootstrap/androidmk-parser/pkg/android/soong/androidmk/parser.a: $
85 g.bootstrap.gc $
86 ${g.bootstrap.srcDir}/build/soong/androidmk/parser/make_strings.go $
87 ${g.bootstrap.srcDir}/build/soong/androidmk/parser/makething.go $
88 ${g.bootstrap.srcDir}/build/soong/androidmk/parser/parser.go $
89 ${g.bootstrap.srcDir}/build/soong/androidmk/parser/scope.go | $
90 ${g.bootstrap.gcCmd}
91 pkgPath = android/soong/androidmk/parser
92default .bootstrap/androidmk-parser/pkg/android/soong/androidmk/parser.a
93
94# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -080095# Module: blueprint
Colin Cross3f40fa42015-01-30 17:27:36 -080096# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -080097# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -070098# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crosse441b9d2015-01-26 16:30:13 -080099# Defined: build/blueprint/Blueprints:1:1
100
Colin Cross70b40592015-03-23 12:57:34 -0700101build .bootstrap/blueprint/pkg/github.com/google/blueprint.a: g.bootstrap.gc $
Colin Crosse441b9d2015-01-26 16:30:13 -0800102 ${g.bootstrap.srcDir}/build/blueprint/context.go $
103 ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
104 ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
105 ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
106 ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
107 ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
108 ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
109 ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
110 ${g.bootstrap.srcDir}/build/blueprint/scope.go $
111 ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
112 ${g.bootstrap.srcDir}/build/blueprint/unpack.go | ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700113 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700114 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700115 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
Colin Crossc215ca22015-04-15 10:57:34 -0700116 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg
Colin Cross70b40592015-03-23 12:57:34 -0700117 pkgPath = github.com/google/blueprint
118default .bootstrap/blueprint/pkg/github.com/google/blueprint.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800119
120# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
121# Module: blueprint-bootstrap
Colin Cross3f40fa42015-01-30 17:27:36 -0800122# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800123# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700124# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc215ca22015-04-15 10:57:34 -0700125# Defined: build/blueprint/Blueprints:56:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800126
Colin Cross70b40592015-03-23 12:57:34 -0700127build $
128 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
129 : g.bootstrap.gc $
Colin Crosse441b9d2015-01-26 16:30:13 -0800130 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bootstrap.go $
131 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/cleanup.go $
132 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/command.go $
133 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/config.go $
134 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/doc.go | $
135 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700136 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700137 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700138 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
139 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700140 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
141 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg
Colin Cross70b40592015-03-23 12:57:34 -0700142 pkgPath = github.com/google/blueprint/bootstrap
143default $
144 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800145
146# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
147# Module: blueprint-deptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800148# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800149# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700150# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc215ca22015-04-15 10:57:34 -0700151# Defined: build/blueprint/Blueprints:35:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800152
Colin Cross70b40592015-03-23 12:57:34 -0700153build .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
154 : g.bootstrap.gc $
Colin Crosse441b9d2015-01-26 16:30:13 -0800155 ${g.bootstrap.srcDir}/build/blueprint/deptools/depfile.go | $
156 ${g.bootstrap.gcCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700157 pkgPath = github.com/google/blueprint/deptools
158default $
159 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800160
161# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
162# Module: blueprint-parser
Colin Cross3f40fa42015-01-30 17:27:36 -0800163# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800164# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700165# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc215ca22015-04-15 10:57:34 -0700166# Defined: build/blueprint/Blueprints:24:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800167
Colin Cross70b40592015-03-23 12:57:34 -0700168build .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a: $
169 g.bootstrap.gc ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
Colin Crosse441b9d2015-01-26 16:30:13 -0800170 ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
171 ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
172 ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go | $
173 ${g.bootstrap.gcCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700174 pkgPath = github.com/google/blueprint/parser
175default .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800176
177# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
178# Module: blueprint-pathtools
Colin Cross3f40fa42015-01-30 17:27:36 -0800179# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800180# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700181# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc215ca22015-04-15 10:57:34 -0700182# Defined: build/blueprint/Blueprints:41:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800183
Colin Cross70b40592015-03-23 12:57:34 -0700184build $
185 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
186 : g.bootstrap.gc $
Colin Crosse441b9d2015-01-26 16:30:13 -0800187 ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
188 ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go | $
189 ${g.bootstrap.gcCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700190 pkgPath = github.com/google/blueprint/pathtools
191default $
192 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800193
194# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
195# Module: blueprint-proptools
Colin Cross3f40fa42015-01-30 17:27:36 -0800196# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800197# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700198# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc215ca22015-04-15 10:57:34 -0700199# Defined: build/blueprint/Blueprints:50:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800200
Colin Cross70b40592015-03-23 12:57:34 -0700201build $
202 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
203 : g.bootstrap.gc $
Colin Crosse441b9d2015-01-26 16:30:13 -0800204 ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go | $
205 ${g.bootstrap.gcCmd}
Colin Cross70b40592015-03-23 12:57:34 -0700206 pkgPath = github.com/google/blueprint/proptools
207default $
208 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800209
210# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
211# Module: bpfmt
Colin Cross3f40fa42015-01-30 17:27:36 -0800212# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800213# Type: bootstrap_go_binary
Colin Cross70b40592015-03-23 12:57:34 -0700214# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Crossc215ca22015-04-15 10:57:34 -0700215# Defined: build/blueprint/Blueprints:82:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800216
217build .bootstrap/bpfmt/obj/bpfmt.a: g.bootstrap.gc $
218 ${g.bootstrap.srcDir}/build/blueprint/bpfmt/bpfmt.go | $
219 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700220 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800221 incFlags = -I .bootstrap/blueprint-parser/pkg
222 pkgPath = bpfmt
223default .bootstrap/bpfmt/obj/bpfmt.a
224
225build .bootstrap/bpfmt/obj/a.out: g.bootstrap.link $
226 .bootstrap/bpfmt/obj/bpfmt.a | ${g.bootstrap.linkCmd}
227 libDirFlags = -L .bootstrap/blueprint-parser/pkg
228default .bootstrap/bpfmt/obj/a.out
229
230build .bootstrap/bin/bpfmt: g.bootstrap.cp .bootstrap/bpfmt/obj/a.out
231default .bootstrap/bin/bpfmt
232
233# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
234# Module: bpmodify
Colin Cross3f40fa42015-01-30 17:27:36 -0800235# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800236# Type: bootstrap_go_binary
Colin Cross70b40592015-03-23 12:57:34 -0700237# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Crossc215ca22015-04-15 10:57:34 -0700238# Defined: build/blueprint/Blueprints:88:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800239
240build .bootstrap/bpmodify/obj/bpmodify.a: g.bootstrap.gc $
241 ${g.bootstrap.srcDir}/build/blueprint/bpmodify/bpmodify.go | $
242 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700243 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
Colin Crosse441b9d2015-01-26 16:30:13 -0800244 incFlags = -I .bootstrap/blueprint-parser/pkg
245 pkgPath = bpmodify
246default .bootstrap/bpmodify/obj/bpmodify.a
247
248build .bootstrap/bpmodify/obj/a.out: g.bootstrap.link $
249 .bootstrap/bpmodify/obj/bpmodify.a | ${g.bootstrap.linkCmd}
250 libDirFlags = -L .bootstrap/blueprint-parser/pkg
251default .bootstrap/bpmodify/obj/a.out
252
253build .bootstrap/bin/bpmodify: g.bootstrap.cp .bootstrap/bpmodify/obj/a.out
254default .bootstrap/bin/bpmodify
255
256# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
257# Module: minibp
Colin Cross3f40fa42015-01-30 17:27:36 -0800258# Variant:
Colin Crosse441b9d2015-01-26 16:30:13 -0800259# Type: bootstrap_go_binary
Colin Cross70b40592015-03-23 12:57:34 -0700260# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Crossc215ca22015-04-15 10:57:34 -0700261# Defined: build/blueprint/Blueprints:73:1
Colin Crosse441b9d2015-01-26 16:30:13 -0800262
263build .bootstrap/minibp/obj/minibp.a: g.bootstrap.gc $
264 ${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
265 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700266 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700267 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700268 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
269 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
270 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700271 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
Colin Crossc215ca22015-04-15 10:57:34 -0700272 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg
Colin Crosse441b9d2015-01-26 16:30:13 -0800273 pkgPath = minibp
274default .bootstrap/minibp/obj/minibp.a
275
276build .bootstrap/minibp/obj/a.out: g.bootstrap.link $
277 .bootstrap/minibp/obj/minibp.a | ${g.bootstrap.linkCmd}
Colin Crossc215ca22015-04-15 10:57:34 -0700278 libDirFlags = -L .bootstrap/blueprint-parser/pkg -L .bootstrap/blueprint-pathtools/pkg -L .bootstrap/blueprint-proptools/pkg -L .bootstrap/blueprint/pkg -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/blueprint-bootstrap/pkg
Colin Crosse441b9d2015-01-26 16:30:13 -0800279default .bootstrap/minibp/obj/a.out
280
281build .bootstrap/bin/minibp: g.bootstrap.cp .bootstrap/minibp/obj/a.out
282default .bootstrap/bin/minibp
283
284# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross82df9432015-03-24 11:16:06 -0700285# Module: soong-art
286# Variant:
287# Type: bootstrap_go_package
288# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
289# Defined: art/build/Blueprints:13:1
290
291build .bootstrap/soong-art/pkg/android/soong/art.a: g.bootstrap.gc $
292 ${g.bootstrap.srcDir}/art/build/art.go | ${g.bootstrap.gcCmd} $
293 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700294 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross82df9432015-03-24 11:16:06 -0700295 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
296 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Cross82df9432015-03-24 11:16:06 -0700297 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
298 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Cross68f55102015-03-25 14:43:57 -0700299 .bootstrap/soong-env/pkg/android/soong/env.a $
Colin Cross82df9432015-03-24 11:16:06 -0700300 .bootstrap/soong-glob/pkg/android/soong/glob.a $
301 .bootstrap/soong-common/pkg/android/soong/common.a $
Colin Cross82df9432015-03-24 11:16:06 -0700302 .bootstrap/soong-genrule/pkg/android/soong/genrule.a $
303 .bootstrap/soong-cc/pkg/android/soong/cc.a
Colin Crossc215ca22015-04-15 10:57:34 -0700304 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg -I .bootstrap/soong-genrule/pkg -I .bootstrap/soong-cc/pkg
Colin Cross82df9432015-03-24 11:16:06 -0700305 pkgPath = android/soong/art
306default .bootstrap/soong-art/pkg/android/soong/art.a
307
308# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross3f40fa42015-01-30 17:27:36 -0800309# Module: soong-cc
310# Variant:
311# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700312# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc0b06f12015-04-08 13:03:43 -0700313# Defined: build/soong/Blueprints:93:1
Colin Cross3f40fa42015-01-30 17:27:36 -0800314
315build .bootstrap/soong-cc/pkg/android/soong/cc.a: g.bootstrap.gc $
316 ${g.bootstrap.srcDir}/build/soong/cc/builder.go $
317 ${g.bootstrap.srcDir}/build/soong/cc/cc.go $
318 ${g.bootstrap.srcDir}/build/soong/cc/clang.go $
Colin Cross581c1892015-04-07 16:50:10 -0700319 ${g.bootstrap.srcDir}/build/soong/cc/gen.go $
Colin Cross3f40fa42015-01-30 17:27:36 -0800320 ${g.bootstrap.srcDir}/build/soong/cc/toolchain.go $
321 ${g.bootstrap.srcDir}/build/soong/cc/util.go $
322 ${g.bootstrap.srcDir}/build/soong/cc/arm_device.go $
323 ${g.bootstrap.srcDir}/build/soong/cc/arm64_device.go $
324 ${g.bootstrap.srcDir}/build/soong/cc/x86_linux_host.go | $
325 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700326 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700327 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700328 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
329 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Cross70b40592015-03-23 12:57:34 -0700330 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
331 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Cross68f55102015-03-25 14:43:57 -0700332 .bootstrap/soong-env/pkg/android/soong/env.a $
Colin Cross3f40fa42015-01-30 17:27:36 -0800333 .bootstrap/soong-glob/pkg/android/soong/glob.a $
334 .bootstrap/soong-common/pkg/android/soong/common.a $
Colin Cross5049f022015-03-18 13:28:46 -0700335 .bootstrap/soong-genrule/pkg/android/soong/genrule.a
Colin Crossc215ca22015-04-15 10:57:34 -0700336 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg -I .bootstrap/soong-genrule/pkg
Colin Cross3f40fa42015-01-30 17:27:36 -0800337 pkgPath = android/soong/cc
338default .bootstrap/soong-cc/pkg/android/soong/cc.a
339
340# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
341# Module: soong-common
342# Variant:
343# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700344# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Cross1332b002015-04-07 17:11:30 -0700345# Defined: build/soong/Blueprints:71:1
Colin Cross3f40fa42015-01-30 17:27:36 -0800346
347build .bootstrap/soong-common/pkg/android/soong/common.a: g.bootstrap.gc $
348 ${g.bootstrap.srcDir}/build/soong/common/arch.go $
Colin Cross9454bfa2015-03-17 13:24:18 -0700349 ${g.bootstrap.srcDir}/build/soong/common/checkbuild.go $
Colin Cross1332b002015-04-07 17:11:30 -0700350 ${g.bootstrap.srcDir}/build/soong/common/config.go $
Colin Cross3f40fa42015-01-30 17:27:36 -0800351 ${g.bootstrap.srcDir}/build/soong/common/defs.go $
Colin Cross68f55102015-03-25 14:43:57 -0700352 ${g.bootstrap.srcDir}/build/soong/common/env.go $
Colin Cross3f40fa42015-01-30 17:27:36 -0800353 ${g.bootstrap.srcDir}/build/soong/common/glob.go $
354 ${g.bootstrap.srcDir}/build/soong/common/module.go $
Colin Crossc0b06f12015-04-08 13:03:43 -0700355 ${g.bootstrap.srcDir}/build/soong/common/paths.go $
356 ${g.bootstrap.srcDir}/build/soong/common/util.go | $
Colin Cross3f40fa42015-01-30 17:27:36 -0800357 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700358 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700359 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700360 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
361 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
362 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700363 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Cross68f55102015-03-25 14:43:57 -0700364 .bootstrap/soong-env/pkg/android/soong/env.a $
Colin Cross3f40fa42015-01-30 17:27:36 -0800365 .bootstrap/soong-glob/pkg/android/soong/glob.a
Colin Crossc215ca22015-04-15 10:57:34 -0700366 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg
Colin Cross3f40fa42015-01-30 17:27:36 -0800367 pkgPath = android/soong/common
368default .bootstrap/soong-common/pkg/android/soong/common.a
369
370# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross68f55102015-03-25 14:43:57 -0700371# Module: soong-env
372# Variant:
373# Type: bootstrap_go_package
374# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Cross1332b002015-04-07 17:11:30 -0700375# Defined: build/soong/Blueprints:41:1
Colin Cross68f55102015-03-25 14:43:57 -0700376
377build .bootstrap/soong-env/pkg/android/soong/env.a: g.bootstrap.gc $
378 ${g.bootstrap.srcDir}/build/soong/env/env.go | ${g.bootstrap.gcCmd}
379 pkgPath = android/soong/env
380default .bootstrap/soong-env/pkg/android/soong/env.a
381
382# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross5049f022015-03-18 13:28:46 -0700383# Module: soong-genrule
384# Variant:
385# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700386# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc0b06f12015-04-08 13:03:43 -0700387# Defined: build/soong/Blueprints:117:1
Colin Cross5049f022015-03-18 13:28:46 -0700388
389build .bootstrap/soong-genrule/pkg/android/soong/genrule.a: g.bootstrap.gc $
390 ${g.bootstrap.srcDir}/build/soong/genrule/genrule.go | $
391 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700392 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700393 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700394 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
395 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Cross70b40592015-03-23 12:57:34 -0700396 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
397 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Cross68f55102015-03-25 14:43:57 -0700398 .bootstrap/soong-env/pkg/android/soong/env.a $
Colin Cross5049f022015-03-18 13:28:46 -0700399 .bootstrap/soong-glob/pkg/android/soong/glob.a $
Colin Cross1332b002015-04-07 17:11:30 -0700400 .bootstrap/soong-common/pkg/android/soong/common.a
Colin Crossc215ca22015-04-15 10:57:34 -0700401 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg
Colin Cross5049f022015-03-18 13:28:46 -0700402 pkgPath = android/soong/genrule
403default .bootstrap/soong-genrule/pkg/android/soong/genrule.a
404
405# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross3f40fa42015-01-30 17:27:36 -0800406# Module: soong-glob
407# Variant:
408# Type: bootstrap_go_package
Colin Cross70b40592015-03-23 12:57:34 -0700409# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Cross1332b002015-04-07 17:11:30 -0700410# Defined: build/soong/Blueprints:60:1
Colin Cross3f40fa42015-01-30 17:27:36 -0800411
412build .bootstrap/soong-glob/pkg/android/soong/glob.a: g.bootstrap.gc $
413 ${g.bootstrap.srcDir}/build/soong/glob/glob.go | ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700414 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
Colin Cross3f40fa42015-01-30 17:27:36 -0800415 incFlags = -I .bootstrap/blueprint-deptools/pkg
416 pkgPath = android/soong/glob
417default .bootstrap/soong-glob/pkg/android/soong/glob.a
418
419# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross2fe66872015-03-30 17:20:39 -0700420# Module: soong-java
421# Variant:
422# Type: bootstrap_go_package
423# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
Colin Crossc0b06f12015-04-08 13:03:43 -0700424# Defined: build/soong/Blueprints:137:1
Colin Cross2fe66872015-03-30 17:20:39 -0700425
426build .bootstrap/soong-java/pkg/android/soong/java.a: g.bootstrap.gc $
Colin Cross30e076a2015-04-13 13:58:27 -0700427 ${g.bootstrap.srcDir}/build/soong/java/app_builder.go $
428 ${g.bootstrap.srcDir}/build/soong/java/app.go $
Colin Cross2fe66872015-03-30 17:20:39 -0700429 ${g.bootstrap.srcDir}/build/soong/java/builder.go $
Colin Crossc0b06f12015-04-08 13:03:43 -0700430 ${g.bootstrap.srcDir}/build/soong/java/gen.go $
Colin Cross2fe66872015-03-30 17:20:39 -0700431 ${g.bootstrap.srcDir}/build/soong/java/java.go $
432 ${g.bootstrap.srcDir}/build/soong/java/resources.go | $
433 ${g.bootstrap.gcCmd} $
434 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700435 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross2fe66872015-03-30 17:20:39 -0700436 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
437 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
Colin Cross2fe66872015-03-30 17:20:39 -0700438 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
439 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
440 .bootstrap/soong-env/pkg/android/soong/env.a $
441 .bootstrap/soong-glob/pkg/android/soong/glob.a $
Colin Cross1332b002015-04-07 17:11:30 -0700442 .bootstrap/soong-common/pkg/android/soong/common.a
Colin Crossc215ca22015-04-15 10:57:34 -0700443 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg
Colin Cross2fe66872015-03-30 17:20:39 -0700444 pkgPath = android/soong/java
445default .bootstrap/soong-java/pkg/android/soong/java.a
446
447# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross3f40fa42015-01-30 17:27:36 -0800448# Module: soong_build
449# Variant:
450# Type: bootstrap_go_binary
Colin Cross70b40592015-03-23 12:57:34 -0700451# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Cross3f40fa42015-01-30 17:27:36 -0800452# Defined: build/soong/Blueprints:13:1
453
454build .bootstrap/soong_build/obj/soong_build.a: g.bootstrap.gc $
455 ${g.bootstrap.srcDir}/build/soong/cmd/soong_build/main.go | $
456 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700457 .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
Colin Crossc215ca22015-04-15 10:57:34 -0700458 .bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700459 .bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
460 .bootstrap/blueprint/pkg/github.com/google/blueprint.a $
461 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Colin Cross70b40592015-03-23 12:57:34 -0700462 .bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
Colin Cross68f55102015-03-25 14:43:57 -0700463 .bootstrap/soong-env/pkg/android/soong/env.a $
Colin Cross3f40fa42015-01-30 17:27:36 -0800464 .bootstrap/soong-glob/pkg/android/soong/glob.a $
465 .bootstrap/soong-common/pkg/android/soong/common.a $
Colin Cross5049f022015-03-18 13:28:46 -0700466 .bootstrap/soong-genrule/pkg/android/soong/genrule.a $
Colin Cross82df9432015-03-24 11:16:06 -0700467 .bootstrap/soong-cc/pkg/android/soong/cc.a $
Colin Cross2fe66872015-03-30 17:20:39 -0700468 .bootstrap/soong-art/pkg/android/soong/art.a $
469 .bootstrap/soong-java/pkg/android/soong/java.a
Colin Crossc215ca22015-04-15 10:57:34 -0700470 incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg -I .bootstrap/soong-genrule/pkg -I .bootstrap/soong-cc/pkg -I .bootstrap/soong-art/pkg -I .bootstrap/soong-java/pkg
Colin Cross3f40fa42015-01-30 17:27:36 -0800471 pkgPath = soong_build
472default .bootstrap/soong_build/obj/soong_build.a
473
474build .bootstrap/soong_build/obj/a.out: g.bootstrap.link $
475 .bootstrap/soong_build/obj/soong_build.a | ${g.bootstrap.linkCmd}
Colin Crossc215ca22015-04-15 10:57:34 -0700476 libDirFlags = -L .bootstrap/blueprint-parser/pkg -L .bootstrap/blueprint-pathtools/pkg -L .bootstrap/blueprint-proptools/pkg -L .bootstrap/blueprint/pkg -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/blueprint-bootstrap/pkg -L .bootstrap/soong-env/pkg -L .bootstrap/soong-glob/pkg -L .bootstrap/soong-common/pkg -L .bootstrap/soong-genrule/pkg -L .bootstrap/soong-cc/pkg -L .bootstrap/soong-art/pkg -L .bootstrap/soong-java/pkg
Colin Cross3f40fa42015-01-30 17:27:36 -0800477default .bootstrap/soong_build/obj/a.out
478
479build .bootstrap/bin/soong_build: g.bootstrap.cp $
480 .bootstrap/soong_build/obj/a.out
481default .bootstrap/bin/soong_build
482
483# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross68f55102015-03-25 14:43:57 -0700484# Module: soong_env
485# Variant:
486# Type: bootstrap_go_binary
487# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Cross1332b002015-04-07 17:11:30 -0700488# Defined: build/soong/Blueprints:31:1
Colin Cross68f55102015-03-25 14:43:57 -0700489
490build .bootstrap/soong_env/obj/soong_env.a: g.bootstrap.gc $
491 ${g.bootstrap.srcDir}/build/soong/cmd/soong_env/soong_env.go | $
492 ${g.bootstrap.gcCmd} .bootstrap/soong-env/pkg/android/soong/env.a
493 incFlags = -I .bootstrap/soong-env/pkg
494 pkgPath = soong_env
495default .bootstrap/soong_env/obj/soong_env.a
496
497build .bootstrap/soong_env/obj/a.out: g.bootstrap.link $
498 .bootstrap/soong_env/obj/soong_env.a | ${g.bootstrap.linkCmd}
499 libDirFlags = -L .bootstrap/soong-env/pkg
500default .bootstrap/soong_env/obj/a.out
501
502build .bootstrap/bin/soong_env: g.bootstrap.cp .bootstrap/soong_env/obj/a.out
503default .bootstrap/bin/soong_env
504
505# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross3f40fa42015-01-30 17:27:36 -0800506# Module: soong_glob
507# Variant:
508# Type: bootstrap_go_binary
Colin Cross70b40592015-03-23 12:57:34 -0700509# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Cross1332b002015-04-07 17:11:30 -0700510# Defined: build/soong/Blueprints:50:1
Colin Cross3f40fa42015-01-30 17:27:36 -0800511
512build .bootstrap/soong_glob/obj/soong_glob.a: g.bootstrap.gc $
513 ${g.bootstrap.srcDir}/build/soong/cmd/soong_glob/soong_glob.go | $
514 ${g.bootstrap.gcCmd} $
Colin Cross70b40592015-03-23 12:57:34 -0700515 .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
Colin Cross3f40fa42015-01-30 17:27:36 -0800516 .bootstrap/soong-glob/pkg/android/soong/glob.a
517 incFlags = -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/soong-glob/pkg
518 pkgPath = soong_glob
519default .bootstrap/soong_glob/obj/soong_glob.a
520
521build .bootstrap/soong_glob/obj/a.out: g.bootstrap.link $
522 .bootstrap/soong_glob/obj/soong_glob.a | ${g.bootstrap.linkCmd}
523 libDirFlags = -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/soong-glob/pkg
524default .bootstrap/soong_glob/obj/a.out
525
526build .bootstrap/bin/soong_glob: g.bootstrap.cp $
527 .bootstrap/soong_glob/obj/a.out
528default .bootstrap/bin/soong_glob
529
530# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Cross2fe66872015-03-30 17:20:39 -0700531# Module: soong_jar
532# Variant:
533# Type: bootstrap_go_binary
534# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
Colin Crossc0b06f12015-04-08 13:03:43 -0700535# Defined: build/soong/Blueprints:130:1
Colin Cross2fe66872015-03-30 17:20:39 -0700536
537build .bootstrap/soong_jar/obj/soong_jar.a: g.bootstrap.gc $
538 ${g.bootstrap.srcDir}/build/soong/cmd/soong_jar/soong_jar.go | $
539 ${g.bootstrap.gcCmd}
540 pkgPath = soong_jar
541default .bootstrap/soong_jar/obj/soong_jar.a
542
543build .bootstrap/soong_jar/obj/a.out: g.bootstrap.link $
544 .bootstrap/soong_jar/obj/soong_jar.a | ${g.bootstrap.linkCmd}
545default .bootstrap/soong_jar/obj/a.out
546build .bootstrap/bin/soong_jar: g.bootstrap.cp .bootstrap/soong_jar/obj/a.out
547default .bootstrap/bin/soong_jar
548
549# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Colin Crosse441b9d2015-01-26 16:30:13 -0800550# Singleton: bootstrap
Colin Cross70b40592015-03-23 12:57:34 -0700551# Factory: github.com/google/blueprint/bootstrap.newSingleton
Colin Crosse441b9d2015-01-26 16:30:13 -0800552
553rule s.bootstrap.bigbp
Colin Cross3f40fa42015-01-30 17:27:36 -0800554 command = .bootstrap/bin/soong_build -d .bootstrap/main.ninja.in.d -m ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
Colin Crosse441b9d2015-01-26 16:30:13 -0800555 depfile = .bootstrap/main.ninja.in.d
Colin Cross3f40fa42015-01-30 17:27:36 -0800556 description = soong_build ${out}
Colin Crosse441b9d2015-01-26 16:30:13 -0800557
558rule s.bootstrap.minibp
559 command = .bootstrap/bin/minibp -c ${checkFile} -m ${g.bootstrap.bootstrapManifest} -d ${out}.d -o ${out} ${in}
560 depfile = ${out}.d
561 description = minibp ${out}
562 generator = true
563
564build .bootstrap/main.ninja.in: s.bootstrap.bigbp $
Colin Cross80031312015-03-14 14:28:22 -0700565 ${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/androidmk $
566 .bootstrap/bin/bpfmt .bootstrap/bin/bpmodify .bootstrap/bin/minibp $
Colin Cross68f55102015-03-25 14:43:57 -0700567 .bootstrap/bin/soong_build .bootstrap/bin/soong_env $
Colin Cross2fe66872015-03-30 17:20:39 -0700568 .bootstrap/bin/soong_glob .bootstrap/bin/soong_jar
Colin Crosse441b9d2015-01-26 16:30:13 -0800569default .bootstrap/main.ninja.in
570build .bootstrap/notAFile: phony
571default .bootstrap/notAFile
572build build.ninja: g.bootstrap.bootstrap .bootstrap/main.ninja.in | $
573 ${g.bootstrap.bootstrapCmd} .bootstrap/notAFile $
574 .bootstrap/bootstrap.ninja.in
575default build.ninja
576build .bootstrap/bootstrap.ninja.in: s.bootstrap.minibp $
577 ${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/minibp
578 checkFile = ${g.bootstrap.bootstrapManifest}
579default .bootstrap/bootstrap.ninja.in
580