Home | History | Annotate | Download | only in soong
      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.goTestMainCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/gotestmain
     23 
     24 g.bootstrap.goTestRunnerCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/gotestrunner
     25 
     26 g.bootstrap.linkCmd = @@GoLink@@
     27 
     28 g.bootstrap.srcDir = @@SrcDir@@
     29 
     30 builddir = ${g.bootstrap.buildDir}/.minibootstrap
     31 
     32 rule g.bootstrap.bootstrap
     33     command = BUILDDIR=${g.bootstrap.buildDir} ${g.bootstrap.bootstrapCmd} -i ${in}
     34     description = bootstrap ${in}
     35     generator = true
     36 
     37 rule g.bootstrap.build.ninja
     38     command = ${builder} ${extra} -b ${g.bootstrap.buildDir} -d ${out}.d -o ${out} ${in}
     39     depfile = ${out}.d
     40     description = ${builder} ${out}
     41     restat = true
     42 
     43 rule g.bootstrap.compile
     44     command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.compileCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
     45     description = compile ${out}
     46 
     47 rule g.bootstrap.cp
     48     command = cp ${in} ${out}
     49     description = cp ${out}
     50 
     51 rule g.bootstrap.gotestmain
     52     command = ${g.bootstrap.goTestMainCmd} -o ${out} -pkg ${pkg} ${in}
     53     description = gotestmain ${out}
     54 
     55 rule g.bootstrap.link
     56     command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
     57     description = link ${out}
     58 
     59 rule g.bootstrap.test
     60     command = ${g.bootstrap.goTestRunnerCmd} -p ${pkgSrcDir} -f ${out} -- ${in} -test.short
     61     description = test ${pkg}
     62 
     63 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
     64 # Module:  blueprint
     65 # Variant:
     66 # Type:    bootstrap_go_package
     67 # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
     68 # Defined: build/blueprint/Blueprints:1:1
     69 
     70 build $
     71         ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
     72         : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
     73         ${g.bootstrap.srcDir}/build/blueprint/glob.go $
     74         ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
     75         ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
     76         ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
     77         ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
     78         ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
     79         ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
     80         ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
     81         ${g.bootstrap.srcDir}/build/blueprint/scope.go $
     82         ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
     83         ${g.bootstrap.srcDir}/build/blueprint/unpack.go $
     84         ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
     85         ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
     86         ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
     87         ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
     88         ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go $
     89         ${g.bootstrap.srcDir}/build/blueprint/visit_test.go | $
     90         ${g.bootstrap.compileCmd} $
     91         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
     92         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
     93         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
     94         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
     95     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
     96     pkgPath = github.com/google/blueprint
     97 default $
     98         ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
     99 
    100 build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go: $
    101         g.bootstrap.gotestmain $
    102         ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
    103         ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
    104         ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
    105         ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
    106         ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go $
    107         ${g.bootstrap.srcDir}/build/blueprint/visit_test.go | $
    108         ${g.bootstrap.goTestMainCmd}
    109     pkg = github.com/google/blueprint
    110 default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go
    111 
    112 build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a: $
    113         g.bootstrap.compile $
    114         ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go | $
    115         ${g.bootstrap.compileCmd} $
    116         ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
    117     incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/test
    118     pkgPath = main
    119 default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a
    120 
    121 build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test: g.bootstrap.link $
    122         ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a | $
    123         ${g.bootstrap.linkCmd}
    124     libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint/test -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
    125 default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test
    126 
    127 build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed: $
    128         g.bootstrap.test $
    129         ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test | $
    130         ${g.bootstrap.goTestRunnerCmd} || $
    131         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed $
    132         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed $
    133         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
    134     pkg = github.com/google/blueprint
    135     pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint
    136 default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
    137 
    138 build $
    139         ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
    140         : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
    141         ${g.bootstrap.srcDir}/build/blueprint/glob.go $
    142         ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
    143         ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
    144         ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
    145         ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
    146         ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
    147         ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
    148         ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
    149         ${g.bootstrap.srcDir}/build/blueprint/scope.go $
    150         ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
    151         ${g.bootstrap.srcDir}/build/blueprint/unpack.go | $
    152         ${g.bootstrap.compileCmd} $
    153         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
    154         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
    155         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
    156         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
    157     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
    158     pkgPath = github.com/google/blueprint
    159 default $
    160         ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
    161 
    162 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    163 # Module:  blueprint-bootstrap
    164 # Variant:
    165 # Type:    bootstrap_go_package
    166 # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
    167 # Defined: build/blueprint/Blueprints:89:1
    168 
    169 build $
    170         ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
    171         : g.bootstrap.compile $
    172         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bootstrap.go $
    173         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/cleanup.go $
    174         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/command.go $
    175         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/config.go $
    176         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/doc.go $
    177         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/glob.go $
    178         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/writedocs.go | $
    179         ${g.bootstrap.compileCmd} $
    180         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
    181         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
    182         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
    183         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
    184         ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
    185         ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
    186     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
    187     pkgPath = github.com/google/blueprint/bootstrap
    188 default $
    189         ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
    190 
    191 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    192 # Module:  blueprint-bootstrap-bpdoc
    193 # Variant:
    194 # Type:    bootstrap_go_package
    195 # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
    196 # Defined: build/blueprint/Blueprints:109:1
    197 
    198 build $
    199         ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
    200         : g.bootstrap.compile $
    201         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bpdoc/bpdoc.go | $
    202         ${g.bootstrap.compileCmd} $
    203         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
    204         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
    205         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
    206         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
    207         ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
    208     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
    209     pkgPath = github.com/google/blueprint/bootstrap/bpdoc
    210 default $
    211         ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
    212 
    213 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    214 # Module:  blueprint-deptools
    215 # Variant:
    216 # Type:    bootstrap_go_package
    217 # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
    218 # Defined: build/blueprint/Blueprints:49:1
    219 
    220 build $
    221         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
    222         : g.bootstrap.compile $
    223         ${g.bootstrap.srcDir}/build/blueprint/deptools/depfile.go | $
    224         ${g.bootstrap.compileCmd}
    225     pkgPath = github.com/google/blueprint/deptools
    226 default $
    227         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
    228 
    229 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    230 # Module:  blueprint-parser
    231 # Variant:
    232 # Type:    bootstrap_go_package
    233 # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
    234 # Defined: build/blueprint/Blueprints:33:1
    235 
    236 build $
    237         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
    238         : g.bootstrap.compile $
    239         ${g.bootstrap.srcDir}/build/blueprint/parser/ast.go $
    240         ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
    241         ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
    242         ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
    243         ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go $
    244         ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
    245         ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
    246         ${g.bootstrap.compileCmd}
    247     pkgPath = github.com/google/blueprint/parser
    248 default $
    249         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
    250 
    251 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go: $
    252         g.bootstrap.gotestmain $
    253         ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
    254         ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
    255         ${g.bootstrap.goTestMainCmd}
    256     pkg = github.com/google/blueprint/parser
    257 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go
    258 
    259 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a: $
    260         g.bootstrap.compile $
    261         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go | $
    262         ${g.bootstrap.compileCmd} $
    263         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
    264     incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
    265     pkgPath = main
    266 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a
    267 
    268 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test: $
    269         g.bootstrap.link $
    270         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a | $
    271         ${g.bootstrap.linkCmd}
    272     libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
    273 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test
    274 
    275 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed: $
    276         g.bootstrap.test $
    277         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test | $
    278         ${g.bootstrap.goTestRunnerCmd}
    279     pkg = github.com/google/blueprint/parser
    280     pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/parser
    281 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
    282 
    283 build $
    284         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
    285         : g.bootstrap.compile $
    286         ${g.bootstrap.srcDir}/build/blueprint/parser/ast.go $
    287         ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
    288         ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
    289         ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
    290         ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go | $
    291         ${g.bootstrap.compileCmd}
    292     pkgPath = github.com/google/blueprint/parser
    293 default $
    294         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
    295 
    296 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    297 # Module:  blueprint-pathtools
    298 # Variant:
    299 # Type:    bootstrap_go_package
    300 # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
    301 # Defined: build/blueprint/Blueprints:55:1
    302 
    303 build $
    304         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
    305         : g.bootstrap.compile $
    306         ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
    307         ${g.bootstrap.srcDir}/build/blueprint/pathtools/fs.go $
    308         ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go $
    309         ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
    310         ${g.bootstrap.compileCmd} $
    311         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
    312     incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg
    313     pkgPath = github.com/google/blueprint/pathtools
    314 default $
    315         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
    316 
    317 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go: $
    318         g.bootstrap.gotestmain $
    319         ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
    320         ${g.bootstrap.goTestMainCmd}
    321     pkg = github.com/google/blueprint/pathtools
    322 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go
    323 
    324 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a: $
    325         g.bootstrap.compile $
    326         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go | $
    327         ${g.bootstrap.compileCmd} $
    328         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
    329     incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
    330     pkgPath = main
    331 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a
    332 
    333 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test: $
    334         g.bootstrap.link $
    335         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a | $
    336         ${g.bootstrap.linkCmd}
    337     libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg
    338 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test
    339 
    340 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed: $
    341         g.bootstrap.test $
    342         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test | $
    343         ${g.bootstrap.goTestRunnerCmd}
    344     pkg = github.com/google/blueprint/pathtools
    345     pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/pathtools
    346 default $
    347         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
    348 
    349 build $
    350         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
    351         : g.bootstrap.compile $
    352         ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
    353         ${g.bootstrap.srcDir}/build/blueprint/pathtools/fs.go $
    354         ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go | $
    355         ${g.bootstrap.compileCmd} $
    356         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
    357     incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg
    358     pkgPath = github.com/google/blueprint/pathtools
    359 default $
    360         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
    361 
    362 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    363 # Module:  blueprint-proptools
    364 # Variant:
    365 # Type:    bootstrap_go_package
    366 # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
    367 # Defined: build/blueprint/Blueprints:71:1
    368 
    369 build $
    370         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a $
    371         : g.bootstrap.compile $
    372         ${g.bootstrap.srcDir}/build/blueprint/proptools/clone.go $
    373         ${g.bootstrap.srcDir}/build/blueprint/proptools/escape.go $
    374         ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
    375         ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
    376         ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go $
    377         ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
    378         ${g.bootstrap.srcDir}/build/blueprint/proptools/escape_test.go $
    379         ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
    380         ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
    381         ${g.bootstrap.compileCmd}
    382     pkgPath = github.com/google/blueprint/proptools
    383 default $
    384         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
    385 
    386 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go: $
    387         g.bootstrap.gotestmain $
    388         ${g.bootstrap.srcDir}/build/blueprint/proptools/clone_test.go $
    389         ${g.bootstrap.srcDir}/build/blueprint/proptools/escape_test.go $
    390         ${g.bootstrap.srcDir}/build/blueprint/proptools/extend_test.go $
    391         ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal_test.go | $
    392         ${g.bootstrap.goTestMainCmd}
    393     pkg = github.com/google/blueprint/proptools
    394 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go
    395 
    396 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a: $
    397         g.bootstrap.compile $
    398         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.go | $
    399         ${g.bootstrap.compileCmd} $
    400         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/github.com/google/blueprint/proptools.a
    401     incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
    402     pkgPath = main
    403 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a
    404 
    405 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test: $
    406         g.bootstrap.link $
    407         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.a | $
    408         ${g.bootstrap.linkCmd}
    409     libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test
    410 default ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test
    411 
    412 build ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed: $
    413         g.bootstrap.test $
    414         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test | $
    415         ${g.bootstrap.goTestRunnerCmd}
    416     pkg = github.com/google/blueprint/proptools
    417     pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/proptools
    418 default $
    419         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed
    420 
    421 build $
    422         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
    423         : g.bootstrap.compile $
    424         ${g.bootstrap.srcDir}/build/blueprint/proptools/clone.go $
    425         ${g.bootstrap.srcDir}/build/blueprint/proptools/escape.go $
    426         ${g.bootstrap.srcDir}/build/blueprint/proptools/extend.go $
    427         ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go $
    428         ${g.bootstrap.srcDir}/build/blueprint/proptools/typeequal.go | $
    429         ${g.bootstrap.compileCmd}
    430     pkgPath = github.com/google/blueprint/proptools
    431 default $
    432         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
    433 
    434 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    435 # Module:  bpglob
    436 # Variant:
    437 # Type:    bootstrap_core_go_binary
    438 # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
    439 # Defined: build/blueprint/Blueprints:130:1
    440 
    441 build ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/bpglob.a: $
    442         g.bootstrap.compile $
    443         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bpglob/bpglob.go | $
    444         ${g.bootstrap.compileCmd} $
    445         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
    446         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
    447     incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg
    448     pkgPath = bpglob
    449 default ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/bpglob.a
    450 
    451 build ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out: g.bootstrap.link $
    452         ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/bpglob.a | $
    453         ${g.bootstrap.linkCmd}
    454     libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg
    455 default ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out
    456 
    457 build ${g.bootstrap.BinDir}/bpglob: g.bootstrap.cp $
    458         ${g.bootstrap.buildDir}/.bootstrap/bpglob/obj/a.out || $
    459         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
    460 default ${g.bootstrap.BinDir}/bpglob
    461 
    462 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    463 # Module:  gotestmain
    464 # Variant:
    465 # Type:    bootstrap_core_go_binary
    466 # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
    467 # Defined: build/blueprint/Blueprints:148:1
    468 
    469 build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
    470         g.bootstrap.compile $
    471         ${g.bootstrap.srcDir}/build/blueprint/gotestmain/gotestmain.go | $
    472         ${g.bootstrap.compileCmd}
    473     pkgPath = gotestmain
    474 default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
    475 
    476 build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
    477         g.bootstrap.link $
    478         ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
    479         ${g.bootstrap.linkCmd}
    480 default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
    481 
    482 build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
    483         ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
    484 default ${g.bootstrap.BinDir}/gotestmain
    485 
    486 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    487 # Module:  gotestrunner
    488 # Variant:
    489 # Type:    bootstrap_core_go_binary
    490 # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
    491 # Defined: build/blueprint/Blueprints:153:1
    492 
    493 build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a: $
    494         g.bootstrap.compile $
    495         ${g.bootstrap.srcDir}/build/blueprint/gotestrunner/gotestrunner.go | $
    496         ${g.bootstrap.compileCmd}
    497     pkgPath = gotestrunner
    498 default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a
    499 
    500 build ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out: $
    501         g.bootstrap.link $
    502         ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/gotestrunner.a | $
    503         ${g.bootstrap.linkCmd}
    504 default ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
    505 
    506 build ${g.bootstrap.BinDir}/gotestrunner: g.bootstrap.cp $
    507         ${g.bootstrap.buildDir}/.bootstrap/gotestrunner/obj/a.out
    508 default ${g.bootstrap.BinDir}/gotestrunner
    509 
    510 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    511 # Module:  minibp
    512 # Variant:
    513 # Type:    bootstrap_core_go_binary
    514 # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
    515 # Defined: build/blueprint/Blueprints:121:1
    516 
    517 build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
    518         g.bootstrap.compile $
    519         ${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
    520         ${g.bootstrap.compileCmd} $
    521         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
    522         ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
    523         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
    524         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
    525         ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
    526         ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
    527         ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
    528     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
    529     pkgPath = minibp
    530 default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
    531 
    532 build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
    533         ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
    534         ${g.bootstrap.linkCmd}
    535     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
    536 default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
    537 
    538 build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
    539         ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out || $
    540         ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed $
    541         ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed $
    542         ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/test/test.passed $
    543         ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
    544 default ${g.bootstrap.BinDir}/minibp
    545 
    546 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    547 # Singleton: bootstrap
    548 # Factory:   github.com/google/blueprint/bootstrap.newSingletonFactory.func1
    549 
    550 build ${g.bootstrap.buildDir}/.bootstrap/build.ninja: g.bootstrap.build.ninja $
    551         ${g.bootstrap.srcDir}/Android.bp | ${builder}
    552     builder = ${g.bootstrap.BinDir}/minibp
    553     extra = --build-primary -t
    554 default ${g.bootstrap.buildDir}/.bootstrap/build.ninja
    555 
    556 build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in: $
    557         g.bootstrap.build.ninja ${g.bootstrap.srcDir}/Android.bp | ${builder}
    558     builder = ${g.bootstrap.BinDir}/minibp
    559     extra =  -t
    560 default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in
    561 
    562 build ${g.bootstrap.buildDir}/.minibootstrap/build.ninja: $
    563         g.bootstrap.bootstrap $
    564         ${g.bootstrap.buildDir}/.minibootstrap/build.ninja.in | $
    565         ${g.bootstrap.bootstrapCmd}
    566 default ${g.bootstrap.buildDir}/.minibootstrap/build.ninja
    567 
    568