| bootstrap_go_package { |
| name: "blueprint", |
| deps: ["blueprint-parser"], |
| pkgPath: "blueprint", |
| srcs: ["blueprint/context.go", |
| "blueprint/live_tracker.go", |
| "blueprint/mangle.go", |
| "blueprint/module_ctx.go", |
| "blueprint/ninja_defs.go", |
| "blueprint/ninja_strings.go", |
| "blueprint/ninja_writer.go", |
| "blueprint/package_ctx.go", |
| "blueprint/scope.go", |
| "blueprint/singleton_ctx.go", |
| "blueprint/unpack.go"], |
| } |
| |
| bootstrap_go_package { |
| name: "blueprint-parser", |
| pkgPath: "blueprint/parser", |
| srcs: ["blueprint/parser/parser.go"], |
| } |
| |
| bootstrap_go_package { |
| name: "blueprint-pathtools", |
| pkgPath: "blueprint/pathtools", |
| srcs: ["blueprint/pathtools/lists.go"], |
| } |
| |
| bootstrap_go_package { |
| name: "blueprint-bootstrap", |
| deps: ["blueprint", |
| "blueprint-pathtools"], |
| pkgPath: "blueprint/bootstrap", |
| srcs: ["blueprint/bootstrap/bootstrap.go", |
| "blueprint/bootstrap/command.go", |
| "blueprint/bootstrap/config.go", |
| "blueprint/bootstrap/doc.go"], |
| } |
| |
| bootstrap_go_binary { |
| name: "minibp", |
| deps: ["blueprint", "blueprint-bootstrap"], |
| srcs: ["blueprint/bootstrap/minibp/main.go"], |
| } |