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 # 10 ninja_required_version = 1.7.0 11 12 g.bootstrap.buildDir = @@BuildDir@@ 13 14 g.bootstrap.BinDir = ${g.bootstrap.buildDir}/.bootstrap/bin 15 16 g.bootstrap.bootstrapCmd = @@Bootstrap@@ 17 18 g.bootstrap.compileCmd = @@GoCompile@@ 19 20 g.bootstrap.goRoot = @@GoRoot@@ 21 22 g.bootstrap.linkCmd = @@GoLink@@ 23 24 g.bootstrap.srcDir = @@SrcDir@@ 25 26 builddir = ${g.bootstrap.buildDir}/.minibootstrap 27 28 rule g.bootstrap.bootstrap 29 command = BUILDDIR=${g.bootstrap.buildDir} ${g.bootstrap.bootstrapCmd} -i ${in} 30 description = bootstrap ${in} 31 generator = true 32 33 rule 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 39 rule 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 43 rule g.bootstrap.cp 44 command = cp ${in} ${out} 45 description = cp ${out} 46 47 rule 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 58 build $ 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 75 default $ 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 85 build $ 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 103 default $ 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 113 build $ 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 124 default $ 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 134 build $ 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 139 default $ 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 149 build $ 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 157 default $ 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 167 build $ 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 175 default $ 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 185 build $ 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 194 default $ 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:130:1 203 204 build ${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 211 default ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/bpglob.a 212 213 build ${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 217 default ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out 218 219 build ${g.bootstrap.BinDir}/bpglob: g.bootstrap.cp $ 220 ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out 221 default ${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:148:1 229 230 build ${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 234 default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a 235 236 build ${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} 240 default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out 241 242 build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $ 243 ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out 244 default ${g.bootstrap.BinDir}/gotestmain 245 246 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 247 # Module: gotestrunner 248 # Variant: 249 # Type: bootstrap_core_go_binary 250 # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1 251 # Defined: Blueprints:153:1 252 253 build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $ 254 g.bootstrap.compile ${g.bootstrap.srcDir}/gotestrunner/gotestrunner.go $ 255 | ${g.bootstrap.compileCmd} 256 pkgPath = gotestrunner 257 default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a 258 259 build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $ 260 g.bootstrap.link $ 261 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $ 262 ${g.bootstrap.linkCmd} 263 default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out 264 265 build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $ 266 ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out 267 default ${g.bootstrap.BinDir}/gotestrunner 268 269 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 270 # Module: minibp 271 # Variant: 272 # Type: bootstrap_core_go_binary 273 # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1 274 # Defined: Blueprints:121:1 275 276 build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $ 277 g.bootstrap.compile ${g.bootstrap.srcDir}/bootstrap/minibp/main.go | $ 278 ${g.bootstrap.compileCmd} $ 279 ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $ 280 ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $ 281 ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $ 282 ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $ 283 ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $ 284 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $ 285 ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a 286 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 287 pkgPath = minibp 288 default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a 289 290 build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $ 291 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $ 292 ${g.bootstrap.linkCmd} 293 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 294 default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out 295 296 build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $ 297 ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out 298 default ${g.bootstrap.BinDir}/minibp 299 300 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 301 # Singleton: bootstrap 302 # Factory: github.com/google/blueprint/bootstrap.newSingletonFactory.func1 303 304 build ${g.bootstrap.buildDir}/.bootstrap/build.ninja: g.bootstrap.build.ninja $ 305 ${g.bootstrap.srcDir}/Blueprints | ${builder} 306 builder = ${g.bootstrap.BinDir}/minibp 307 extra = --build-primary 308 default ${g.bootstrap.buildDir}/.bootstrap/build.ninja 309 310 build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in: $ 311 g.bootstrap.build.ninja ${g.bootstrap.srcDir}/Blueprints | ${builder} 312 builder = ${g.bootstrap.BinDir}/minibp 313 extra = 314 default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in 315 316 build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja: $ 317 g.bootstrap.bootstrap $ 318 ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in | $ 319 ${g.bootstrap.bootstrapCmd} 320 default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja 321 322