1 bootstrap_go_package( 2 name = "blueprint", 3 deps = [ 4 "blueprint-parser", 5 "blueprint-pathtools", 6 "blueprint-proptools", 7 ], 8 pkgPath = "github.com/google/blueprint", 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 ], 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 ], 29 ) 30 31 bootstrap_go_package( 32 name = "blueprint-parser", 33 pkgPath = "github.com/google/blueprint/parser", 34 srcs = [ 35 "parser/modify.go", 36 "parser/parser.go", 37 "parser/printer.go", 38 "parser/sort.go", 39 ], 40 testSrcs = [ 41 "parser/parser_test.go", 42 "parser/printer_test.go", 43 ], 44 ) 45 46 bootstrap_go_package( 47 name = "blueprint-deptools", 48 pkgPath = "github.com/google/blueprint/deptools", 49 srcs = ["deptools/depfile.go"], 50 ) 51 52 bootstrap_go_package( 53 name = "blueprint-pathtools", 54 pkgPath = "github.com/google/blueprint/pathtools", 55 srcs = [ 56 "pathtools/lists.go", 57 "pathtools/glob.go", 58 ], 59 testSrcs = [ 60 "pathtools/glob_test.go", 61 ], 62 ) 63 64 bootstrap_go_package( 65 name = "blueprint-proptools", 66 pkgPath = "github.com/google/blueprint/proptools", 67 srcs = [ 68 "proptools/clone.go", 69 "proptools/extend.go", 70 "proptools/proptools.go", 71 "proptools/typeequal.go", 72 ], 73 testSrcs = [ 74 "proptools/clone_test.go", 75 "proptools/extend_test.go", 76 "proptools/typeequal_test.go", 77 ], 78 ) 79 80 bootstrap_go_package( 81 name = "blueprint-bootstrap", 82 deps = [ 83 "blueprint", 84 "blueprint-deptools", 85 "blueprint-pathtools", 86 "blueprint-bootstrap-bpdoc", 87 ], 88 pkgPath = "github.com/google/blueprint/bootstrap", 89 srcs = [ 90 "bootstrap/bootstrap.go", 91 "bootstrap/cleanup.go", 92 "bootstrap/command.go", 93 "bootstrap/config.go", 94 "bootstrap/doc.go", 95 "bootstrap/writedocs.go", 96 ], 97 ) 98 99 bootstrap_go_package( 100 name = "blueprint-bootstrap-bpdoc", 101 deps = [ 102 "blueprint", 103 "blueprint-proptools", 104 ], 105 pkgPath = "github.com/google/blueprint/bootstrap/bpdoc", 106 srcs = [ 107 "bootstrap/bpdoc/bpdoc.go", 108 ], 109 ) 110 111 bootstrap_core_go_binary( 112 name = "minibp", 113 deps = [ 114 "blueprint", 115 "blueprint-bootstrap", 116 ], 117 srcs = ["bootstrap/minibp/main.go"], 118 ) 119 120 bootstrap_go_binary( 121 name = "bpfmt", 122 deps = ["blueprint-parser"], 123 srcs = ["bpfmt/bpfmt.go"], 124 ) 125 126 bootstrap_go_binary( 127 name = "bpmodify", 128 deps = ["blueprint-parser"], 129 srcs = ["bpmodify/bpmodify.go"], 130 ) 131 132 bootstrap_core_go_binary( 133 name = "gotestmain", 134 srcs = ["gotestmain/gotestmain.go"], 135 ) 136 137 bootstrap_core_go_binary( 138 name = "gotestrunner", 139 srcs = ["gotestrunner/gotestrunner.go"], 140 ) 141 142 bootstrap_core_go_binary( 143 name = "choosestage", 144 srcs = ["choosestage/choosestage.go"], 145 ) 146 147 bootstrap_go_binary{ 148 name = "loadplugins", 149 srcs = ["loadplugins/loadplugins.go"], 150 } 151