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