Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 1 | bootstrap_go_package( |
| 2 | name = "blueprint", |
| 3 | deps = [ |
| 4 | "blueprint-parser", |
Michael Beardsworth | 1ec4453 | 2015-03-31 20:39:02 -0700 | [diff] [blame] | 5 | "blueprint-pathtools", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 6 | "blueprint-proptools", |
| 7 | ], |
Jamie Gennis | 6cafc2c | 2015-03-20 22:39:29 -0400 | [diff] [blame] | 8 | pkgPath = "github.com/google/blueprint", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 9 | srcs = [ |
| 10 | "context.go", |
| 11 | "live_tracker.go", |
| 12 | "mangle.go", |
| 13 | "module_ctx.go", |
| 14 | "ninja_defs.go", |
| 15 | "ninja_strings.go", |
| 16 | "ninja_writer.go", |
| 17 | "package_ctx.go", |
| 18 | "scope.go", |
| 19 | "singleton_ctx.go", |
| 20 | "unpack.go", |
| 21 | ], |
Dan Willemsen | 87ba294 | 2015-06-23 17:21:00 -0700 | [diff] [blame] | 22 | testSrcs = [ |
| 23 | "context_test.go", |
| 24 | "ninja_strings_test.go", |
| 25 | "ninja_writer_test.go", |
| 26 | "splice_modules_test.go", |
| 27 | "unpack_test.go", |
| 28 | ], |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 29 | ) |
Jamie Gennis | 1bc967e | 2014-05-27 16:34:41 -0700 | [diff] [blame] | 30 | |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 31 | bootstrap_go_package( |
| 32 | name = "blueprint-parser", |
Jamie Gennis | 6cafc2c | 2015-03-20 22:39:29 -0400 | [diff] [blame] | 33 | pkgPath = "github.com/google/blueprint/parser", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 34 | srcs = [ |
| 35 | "parser/modify.go", |
| 36 | "parser/parser.go", |
| 37 | "parser/printer.go", |
| 38 | "parser/sort.go", |
| 39 | ], |
Dan Willemsen | 87ba294 | 2015-06-23 17:21:00 -0700 | [diff] [blame] | 40 | testSrcs = [ |
| 41 | "parser/parser_test.go", |
| 42 | "parser/printer_test.go", |
| 43 | ], |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 44 | ) |
Jamie Gennis | 1bc967e | 2014-05-27 16:34:41 -0700 | [diff] [blame] | 45 | |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 46 | bootstrap_go_package( |
| 47 | name = "blueprint-deptools", |
Jamie Gennis | 6cafc2c | 2015-03-20 22:39:29 -0400 | [diff] [blame] | 48 | pkgPath = "github.com/google/blueprint/deptools", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 49 | srcs = ["deptools/depfile.go"], |
| 50 | ) |
Jamie Gennis | fbb27fe | 2014-10-14 04:30:17 -0400 | [diff] [blame] | 51 | |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 52 | bootstrap_go_package( |
| 53 | name = "blueprint-pathtools", |
Jamie Gennis | 6cafc2c | 2015-03-20 22:39:29 -0400 | [diff] [blame] | 54 | pkgPath = "github.com/google/blueprint/pathtools", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 55 | srcs = [ |
| 56 | "pathtools/lists.go", |
| 57 | "pathtools/glob.go", |
| 58 | ], |
Dan Willemsen | 87ba294 | 2015-06-23 17:21:00 -0700 | [diff] [blame] | 59 | testSrcs = [ |
| 60 | "pathtools/glob_test.go", |
| 61 | ], |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 62 | ) |
Jamie Gennis | b931456 | 2014-06-06 14:37:07 -0700 | [diff] [blame] | 63 | |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 64 | bootstrap_go_package( |
| 65 | name = "blueprint-proptools", |
Jamie Gennis | 6cafc2c | 2015-03-20 22:39:29 -0400 | [diff] [blame] | 66 | pkgPath = "github.com/google/blueprint/proptools", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 67 | srcs = ["proptools/proptools.go"], |
| 68 | ) |
Jamie Gennis | b9cbdae | 2014-10-02 18:36:13 -0700 | [diff] [blame] | 69 | |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 70 | bootstrap_go_package( |
| 71 | name = "blueprint-bootstrap", |
| 72 | deps = [ |
| 73 | "blueprint", |
| 74 | "blueprint-deptools", |
| 75 | "blueprint-pathtools", |
Colin Cross | 4572edd | 2015-05-13 14:36:24 -0700 | [diff] [blame] | 76 | "blueprint-bootstrap-bpdoc", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 77 | ], |
Jamie Gennis | 6cafc2c | 2015-03-20 22:39:29 -0400 | [diff] [blame] | 78 | pkgPath = "github.com/google/blueprint/bootstrap", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 79 | srcs = [ |
| 80 | "bootstrap/bootstrap.go", |
| 81 | "bootstrap/cleanup.go", |
| 82 | "bootstrap/command.go", |
| 83 | "bootstrap/config.go", |
| 84 | "bootstrap/doc.go", |
Colin Cross | 4572edd | 2015-05-13 14:36:24 -0700 | [diff] [blame] | 85 | "bootstrap/writedocs.go", |
| 86 | ], |
| 87 | ) |
| 88 | |
| 89 | bootstrap_go_package( |
| 90 | name = "blueprint-bootstrap-bpdoc", |
| 91 | deps = [ |
| 92 | "blueprint", |
| 93 | "blueprint-proptools", |
| 94 | ], |
| 95 | pkgPath = "github.com/google/blueprint/bootstrap/bpdoc", |
| 96 | srcs = [ |
| 97 | "bootstrap/bpdoc/bpdoc.go", |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 98 | ], |
| 99 | ) |
Jamie Gennis | 1bc967e | 2014-05-27 16:34:41 -0700 | [diff] [blame] | 100 | |
Dan Willemsen | efd2de7 | 2015-07-22 17:06:06 -0700 | [diff] [blame] | 101 | bootstrap_core_go_binary( |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 102 | name = "minibp", |
| 103 | deps = [ |
| 104 | "blueprint", |
| 105 | "blueprint-bootstrap", |
| 106 | ], |
| 107 | srcs = ["bootstrap/minibp/main.go"], |
| 108 | ) |
Colin Cross | 5ad47f4 | 2015-01-08 19:35:10 -0800 | [diff] [blame] | 109 | |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 110 | bootstrap_go_binary( |
| 111 | name = "bpfmt", |
| 112 | deps = ["blueprint-parser"], |
| 113 | srcs = ["bpfmt/bpfmt.go"], |
| 114 | ) |
Colin Cross | 41c397a | 2015-01-12 17:43:04 -0800 | [diff] [blame] | 115 | |
Colin Cross | f5bd828 | 2015-01-23 14:24:17 -0800 | [diff] [blame] | 116 | bootstrap_go_binary( |
| 117 | name = "bpmodify", |
| 118 | deps = ["blueprint-parser"], |
| 119 | srcs = ["bpmodify/bpmodify.go"], |
| 120 | ) |
Dan Willemsen | 87ba294 | 2015-06-23 17:21:00 -0700 | [diff] [blame] | 121 | |
Dan Willemsen | efd2de7 | 2015-07-22 17:06:06 -0700 | [diff] [blame] | 122 | bootstrap_core_go_binary( |
Dan Willemsen | 87ba294 | 2015-06-23 17:21:00 -0700 | [diff] [blame] | 123 | name = "gotestmain", |
| 124 | srcs = ["gotestmain/gotestmain.go"], |
| 125 | ) |
Dan Willemsen | 91a657e | 2015-07-22 17:05:59 -0700 | [diff] [blame] | 126 | |
Dan Willemsen | efd2de7 | 2015-07-22 17:06:06 -0700 | [diff] [blame] | 127 | bootstrap_core_go_binary( |
Dan Willemsen | 91a657e | 2015-07-22 17:05:59 -0700 | [diff] [blame] | 128 | name = "choosestage", |
| 129 | srcs = ["choosestage/choosestage.go"], |
| 130 | ) |
Dan Willemsen | fdeb724 | 2015-07-24 16:53:27 -0700 | [diff] [blame] | 131 | |
| 132 | bootstrap_go_binary{ |
| 133 | name = "loadplugins", |
| 134 | srcs = ["loadplugins/loadplugins.go"], |
| 135 | } |