build.ninja.in 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  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.6.0
  11. g.bootstrap.buildDir = @@BuildDir@@
  12. g.bootstrap.BinDir = ${g.bootstrap.buildDir}/.bootstrap/bin
  13. g.bootstrap.bootstrapCmd = @@Bootstrap@@
  14. g.bootstrap.bootstrapManifest = @@BootstrapManifest@@
  15. g.bootstrap.chooseStageCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/choosestage
  16. g.bootstrap.compileCmd = @@GoCompile@@
  17. g.bootstrap.goRoot = @@GoRoot@@
  18. g.bootstrap.goTestMainCmd = ${g.bootstrap.buildDir}/.bootstrap/bin/gotestmain
  19. g.bootstrap.linkCmd = @@GoLink@@
  20. g.bootstrap.srcDir = @@SrcDir@@
  21. builddir = ${g.bootstrap.buildDir}/.minibootstrap
  22. rule g.bootstrap.bootstrap
  23. command = BUILDDIR=${g.bootstrap.buildDir} ${g.bootstrap.bootstrapCmd} -i ${in}
  24. description = bootstrap ${in}
  25. generator = true
  26. rule g.bootstrap.chooseStage
  27. command = ${g.bootstrap.chooseStageCmd} --current ${current} --bootstrap ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
  28. description = choosing next stage
  29. rule g.bootstrap.compile
  30. command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.compileCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
  31. description = compile ${out}
  32. rule g.bootstrap.cp
  33. command = cp ${in} ${out}
  34. description = cp ${out}
  35. rule g.bootstrap.gotestmain
  36. command = ${g.bootstrap.goTestMainCmd} -o ${out} -pkg ${pkg} ${in}
  37. description = gotestmain ${out}
  38. rule g.bootstrap.link
  39. command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
  40. description = link ${out}
  41. rule g.bootstrap.test
  42. command = (cd ${pkgSrcDir} && $$OLDPWD/${in} -test.short) && touch ${out}
  43. description = test ${pkg}
  44. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  45. # Module: blueprint
  46. # Variant:
  47. # Type: bootstrap_go_package
  48. # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
  49. # Defined: build/blueprint/Blueprints:1:1
  50. build $
  51. ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
  52. : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
  53. ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
  54. ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
  55. ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
  56. ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
  57. ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
  58. ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
  59. ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
  60. ${g.bootstrap.srcDir}/build/blueprint/scope.go $
  61. ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
  62. ${g.bootstrap.srcDir}/build/blueprint/unpack.go $
  63. ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
  64. ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
  65. ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
  66. ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
  67. ${g.bootstrap.srcDir}/build/blueprint/unpack_test.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-pathtools/pkg/github.com/google/blueprint/pathtools.a $
  71. ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
  72. 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
  73. pkgPath = github.com/google/blueprint
  74. default $
  75. ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
  76. build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go: $
  77. g.bootstrap.gotestmain $
  78. ${g.bootstrap.srcDir}/build/blueprint/context_test.go $
  79. ${g.bootstrap.srcDir}/build/blueprint/ninja_strings_test.go $
  80. ${g.bootstrap.srcDir}/build/blueprint/ninja_writer_test.go $
  81. ${g.bootstrap.srcDir}/build/blueprint/splice_modules_test.go $
  82. ${g.bootstrap.srcDir}/build/blueprint/unpack_test.go | $
  83. ${g.bootstrap.goTestMainCmd}
  84. pkg = github.com/google/blueprint
  85. default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go
  86. build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a: $
  87. g.bootstrap.compile $
  88. ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.go | $
  89. ${g.bootstrap.compileCmd} $
  90. ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a
  91. incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint/test
  92. pkgPath = main
  93. default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a
  94. build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test: g.bootstrap.link $
  95. ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.a | $
  96. ${g.bootstrap.linkCmd}
  97. libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint/test -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg
  98. default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test
  99. build ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed: $
  100. g.bootstrap.test $
  101. ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test
  102. pkg = github.com/google/blueprint
  103. pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint
  104. default ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
  105. build $
  106. ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
  107. : g.bootstrap.compile ${g.bootstrap.srcDir}/build/blueprint/context.go $
  108. ${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
  109. ${g.bootstrap.srcDir}/build/blueprint/mangle.go $
  110. ${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
  111. ${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
  112. ${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
  113. ${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
  114. ${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
  115. ${g.bootstrap.srcDir}/build/blueprint/scope.go $
  116. ${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
  117. ${g.bootstrap.srcDir}/build/blueprint/unpack.go | $
  118. ${g.bootstrap.compileCmd} $
  119. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
  120. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
  121. ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
  122. || ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/test.passed
  123. 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
  124. pkgPath = github.com/google/blueprint
  125. default $
  126. ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
  127. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  128. # Module: blueprint-bootstrap
  129. # Variant:
  130. # Type: bootstrap_go_package
  131. # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
  132. # Defined: build/blueprint/Blueprints:70:1
  133. build $
  134. ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
  135. : g.bootstrap.compile $
  136. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bootstrap.go $
  137. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/cleanup.go $
  138. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/command.go $
  139. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/config.go $
  140. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/doc.go $
  141. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/writedocs.go | $
  142. ${g.bootstrap.compileCmd} $
  143. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
  144. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
  145. ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
  146. ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
  147. ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
  148. ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
  149. 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
  150. pkgPath = github.com/google/blueprint/bootstrap
  151. default $
  152. ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
  153. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  154. # Module: blueprint-bootstrap-bpdoc
  155. # Variant:
  156. # Type: bootstrap_go_package
  157. # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
  158. # Defined: build/blueprint/Blueprints:89:1
  159. build $
  160. ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
  161. : g.bootstrap.compile $
  162. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/bpdoc/bpdoc.go | $
  163. ${g.bootstrap.compileCmd} $
  164. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
  165. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
  166. ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
  167. ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a
  168. 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
  169. pkgPath = github.com/google/blueprint/bootstrap/bpdoc
  170. default $
  171. ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a
  172. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  173. # Module: blueprint-deptools
  174. # Variant:
  175. # Type: bootstrap_go_package
  176. # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
  177. # Defined: build/blueprint/Blueprints:46:1
  178. build $
  179. ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
  180. : g.bootstrap.compile $
  181. ${g.bootstrap.srcDir}/build/blueprint/deptools/depfile.go | $
  182. ${g.bootstrap.compileCmd}
  183. pkgPath = github.com/google/blueprint/deptools
  184. default $
  185. ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
  186. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  187. # Module: blueprint-parser
  188. # Variant:
  189. # Type: bootstrap_go_package
  190. # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
  191. # Defined: build/blueprint/Blueprints:31:1
  192. build $
  193. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
  194. : g.bootstrap.compile $
  195. ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
  196. ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
  197. ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
  198. ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go $
  199. ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
  200. ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
  201. ${g.bootstrap.compileCmd}
  202. pkgPath = github.com/google/blueprint/parser
  203. default $
  204. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
  205. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go: $
  206. g.bootstrap.gotestmain $
  207. ${g.bootstrap.srcDir}/build/blueprint/parser/parser_test.go $
  208. ${g.bootstrap.srcDir}/build/blueprint/parser/printer_test.go | $
  209. ${g.bootstrap.goTestMainCmd}
  210. pkg = github.com/google/blueprint/parser
  211. default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go
  212. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a: $
  213. g.bootstrap.compile $
  214. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.go | $
  215. ${g.bootstrap.compileCmd} $
  216. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a
  217. incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
  218. pkgPath = main
  219. default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a
  220. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test: $
  221. g.bootstrap.link $
  222. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.a | $
  223. ${g.bootstrap.linkCmd}
  224. libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test
  225. default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test
  226. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed: $
  227. g.bootstrap.test $
  228. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test
  229. pkg = github.com/google/blueprint/parser
  230. pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/parser
  231. default ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
  232. build $
  233. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
  234. : g.bootstrap.compile $
  235. ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
  236. ${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
  237. ${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
  238. ${g.bootstrap.srcDir}/build/blueprint/parser/sort.go | $
  239. ${g.bootstrap.compileCmd} || $
  240. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/test.passed
  241. pkgPath = github.com/google/blueprint/parser
  242. default $
  243. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
  244. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  245. # Module: blueprint-pathtools
  246. # Variant:
  247. # Type: bootstrap_go_package
  248. # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
  249. # Defined: build/blueprint/Blueprints:52:1
  250. build $
  251. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a $
  252. : g.bootstrap.compile $
  253. ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
  254. ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go $
  255. ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
  256. ${g.bootstrap.compileCmd}
  257. pkgPath = github.com/google/blueprint/pathtools
  258. default $
  259. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
  260. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go: $
  261. g.bootstrap.gotestmain $
  262. ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob_test.go | $
  263. ${g.bootstrap.goTestMainCmd}
  264. pkg = github.com/google/blueprint/pathtools
  265. default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go
  266. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a: $
  267. g.bootstrap.compile $
  268. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.go | $
  269. ${g.bootstrap.compileCmd} $
  270. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
  271. incFlags = -I ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
  272. pkgPath = main
  273. default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a
  274. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test: $
  275. g.bootstrap.link $
  276. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.a | $
  277. ${g.bootstrap.linkCmd}
  278. libDirFlags = -L ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test
  279. default ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test
  280. build ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed: $
  281. g.bootstrap.test $
  282. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test
  283. pkg = github.com/google/blueprint/pathtools
  284. pkgSrcDir = ${g.bootstrap.srcDir}/build/blueprint/pathtools
  285. default $
  286. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
  287. build $
  288. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
  289. : g.bootstrap.compile $
  290. ${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
  291. ${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go | $
  292. ${g.bootstrap.compileCmd} || $
  293. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/test.passed
  294. pkgPath = github.com/google/blueprint/pathtools
  295. default $
  296. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
  297. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  298. # Module: blueprint-proptools
  299. # Variant:
  300. # Type: bootstrap_go_package
  301. # Factory: github.com/google/blueprint/bootstrap.newGoPackageModuleFactory.func1
  302. # Defined: build/blueprint/Blueprints:64:1
  303. build $
  304. ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
  305. : g.bootstrap.compile $
  306. ${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go | $
  307. ${g.bootstrap.compileCmd}
  308. pkgPath = github.com/google/blueprint/proptools
  309. default $
  310. ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
  311. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  312. # Module: choosestage
  313. # Variant:
  314. # Type: bootstrap_core_go_binary
  315. # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
  316. # Defined: build/blueprint/Blueprints:127:1
  317. build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a: $
  318. g.bootstrap.compile $
  319. ${g.bootstrap.srcDir}/build/blueprint/choosestage/choosestage.go | $
  320. ${g.bootstrap.compileCmd}
  321. pkgPath = choosestage
  322. default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a
  323. build ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out: $
  324. g.bootstrap.link $
  325. ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/choosestage.a | $
  326. ${g.bootstrap.linkCmd}
  327. default ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
  328. build ${g.bootstrap.BinDir}/choosestage: g.bootstrap.cp $
  329. ${g.bootstrap.buildDir}/.bootstrap/choosestage/obj/a.out
  330. default ${g.bootstrap.BinDir}/choosestage
  331. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  332. # Module: gotestmain
  333. # Variant:
  334. # Type: bootstrap_core_go_binary
  335. # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
  336. # Defined: build/blueprint/Blueprints:122:1
  337. build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a: $
  338. g.bootstrap.compile $
  339. ${g.bootstrap.srcDir}/build/blueprint/gotestmain/gotestmain.go | $
  340. ${g.bootstrap.compileCmd}
  341. pkgPath = gotestmain
  342. default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a
  343. build ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out: $
  344. g.bootstrap.link $
  345. ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/gotestmain.a | $
  346. ${g.bootstrap.linkCmd}
  347. default ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
  348. build ${g.bootstrap.BinDir}/gotestmain: g.bootstrap.cp $
  349. ${g.bootstrap.buildDir}/.bootstrap/gotestmain/obj/a.out
  350. default ${g.bootstrap.BinDir}/gotestmain
  351. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  352. # Module: minibp
  353. # Variant:
  354. # Type: bootstrap_core_go_binary
  355. # Factory: github.com/google/blueprint/bootstrap.newGoBinaryModuleFactory.func1
  356. # Defined: build/blueprint/Blueprints:101:1
  357. build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a: $
  358. g.bootstrap.compile $
  359. ${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
  360. ${g.bootstrap.compileCmd} $
  361. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
  362. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
  363. ${g.bootstrap.buildDir}/.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
  364. ${g.bootstrap.buildDir}/.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
  365. ${g.bootstrap.buildDir}/.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
  366. ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap-bpdoc/pkg/github.com/google/blueprint/bootstrap/bpdoc.a $
  367. ${g.bootstrap.buildDir}/.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
  368. 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
  369. pkgPath = minibp
  370. default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a
  371. build ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out: g.bootstrap.link $
  372. ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/minibp.a | $
  373. ${g.bootstrap.linkCmd}
  374. 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
  375. default ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
  376. build ${g.bootstrap.BinDir}/minibp: g.bootstrap.cp $
  377. ${g.bootstrap.buildDir}/.bootstrap/minibp/obj/a.out
  378. default ${g.bootstrap.BinDir}/minibp
  379. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  380. # Singleton: bootstrap
  381. # Factory: github.com/google/blueprint/bootstrap.newSingletonFactory.func1
  382. rule s.bootstrap.primarybp
  383. 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}
  384. depfile = ${outfile}.d
  385. description = minibp ${outfile}
  386. rule s.bootstrap.minibp
  387. command = ${g.bootstrap.BinDir}/minibp ${runTests} -m ${g.bootstrap.bootstrapManifest} -b ${g.bootstrap.buildDir} -d ${out}.d -o ${out} ${in}
  388. depfile = ${out}.d
  389. description = minibp ${out}
  390. generator = true
  391. build ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
  392. ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp: $
  393. s.bootstrap.primarybp ${g.bootstrap.srcDir}/Android.bp | $
  394. ${g.bootstrap.BinDir}/choosestage ${g.bootstrap.BinDir}/gotestmain $
  395. ${g.bootstrap.BinDir}/minibp ${g.bootstrap.srcDir}/Android.bp $
  396. ${g.bootstrap.buildDir}/.bootstrap/blueprint/test/github.com/google/blueprint.a $
  397. ${g.bootstrap.buildDir}/.bootstrap/blueprint-parser/test/github.com/google/blueprint/parser.a $
  398. ${g.bootstrap.buildDir}/.bootstrap/blueprint-pathtools/test/github.com/google/blueprint/pathtools.a
  399. outfile = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in
  400. runTests = -t
  401. timestamp = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
  402. timestampdep = ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp.d
  403. default ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in $
  404. ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in.timestamp
  405. build ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in: $
  406. s.bootstrap.minibp ${g.bootstrap.srcDir}/Android.bp | $
  407. ${g.bootstrap.bootstrapManifest} ${g.bootstrap.BinDir}/minibp
  408. runTests = -t
  409. default ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
  410. build ${g.bootstrap.buildDir}/.bootstrap/notAFile: phony
  411. default ${g.bootstrap.buildDir}/.bootstrap/notAFile
  412. build ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in: $
  413. g.bootstrap.chooseStage $
  414. ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in $
  415. ${g.bootstrap.buildDir}/.bootstrap/primary.ninja.in | $
  416. ${g.bootstrap.chooseStageCmd} ${g.bootstrap.bootstrapManifest} $
  417. ${g.bootstrap.buildDir}/.bootstrap/notAFile
  418. current = ${g.bootstrap.buildDir}/.bootstrap/bootstrap.ninja.in
  419. default ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in
  420. build ${g.bootstrap.buildDir}/build.ninja: g.bootstrap.bootstrap $
  421. ${g.bootstrap.buildDir}/.bootstrap/build.ninja.in | $
  422. ${g.bootstrap.bootstrapCmd}
  423. default ${g.bootstrap.buildDir}/build.ninja