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