Home | History | Annotate | Download | only in blueprint
      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         "glob.go",
     12         "live_tracker.go",
     13         "mangle.go",
     14         "module_ctx.go",
     15         "ninja_defs.go",
     16         "ninja_strings.go",
     17         "ninja_writer.go",
     18         "package_ctx.go",
     19         "scope.go",
     20         "singleton_ctx.go",
     21         "unpack.go",
     22     ],
     23     testSrcs = [
     24         "context_test.go",
     25         "ninja_strings_test.go",
     26         "ninja_writer_test.go",
     27         "splice_modules_test.go",
     28         "unpack_test.go",
     29 	"visit_test.go",
     30     ],
     31 )
     32 
     33 bootstrap_go_package(
     34     name = "blueprint-parser",
     35     pkgPath = "github.com/google/blueprint/parser",
     36     srcs = [
     37         "parser/ast.go",
     38         "parser/modify.go",
     39         "parser/parser.go",
     40         "parser/printer.go",
     41         "parser/sort.go",
     42     ],
     43     testSrcs = [
     44         "parser/parser_test.go",
     45         "parser/printer_test.go",
     46     ],
     47 )
     48 
     49 bootstrap_go_package(
     50     name = "blueprint-deptools",
     51     pkgPath = "github.com/google/blueprint/deptools",
     52     srcs = ["deptools/depfile.go"],
     53 )
     54 
     55 bootstrap_go_package(
     56     name = "blueprint-pathtools",
     57     pkgPath = "github.com/google/blueprint/pathtools",
     58     deps = [
     59         "blueprint-deptools",
     60     ],
     61     srcs = [
     62         "pathtools/lists.go",
     63         "pathtools/fs.go",
     64         "pathtools/glob.go",
     65     ],
     66     testSrcs = [
     67         "pathtools/glob_test.go",
     68     ],
     69 )
     70 
     71 bootstrap_go_package(
     72     name = "blueprint-proptools",
     73     pkgPath = "github.com/google/blueprint/proptools",
     74     srcs = [
     75         "proptools/clone.go",
     76         "proptools/escape.go",
     77         "proptools/extend.go",
     78         "proptools/proptools.go",
     79         "proptools/typeequal.go",
     80     ],
     81     testSrcs = [
     82         "proptools/clone_test.go",
     83         "proptools/escape_test.go",
     84         "proptools/extend_test.go",
     85         "proptools/typeequal_test.go",
     86     ],
     87 )
     88 
     89 bootstrap_go_package(
     90     name = "blueprint-bootstrap",
     91     deps = [
     92         "blueprint",
     93         "blueprint-deptools",
     94         "blueprint-pathtools",
     95         "blueprint-bootstrap-bpdoc",
     96     ],
     97     pkgPath = "github.com/google/blueprint/bootstrap",
     98     srcs = [
     99         "bootstrap/bootstrap.go",
    100         "bootstrap/cleanup.go",
    101         "bootstrap/command.go",
    102         "bootstrap/config.go",
    103         "bootstrap/doc.go",
    104         "bootstrap/glob.go",
    105         "bootstrap/writedocs.go",
    106     ],
    107 )
    108 
    109 bootstrap_go_package(
    110     name = "blueprint-bootstrap-bpdoc",
    111     deps = [
    112         "blueprint",
    113         "blueprint-proptools",
    114     ],
    115     pkgPath = "github.com/google/blueprint/bootstrap/bpdoc",
    116     srcs = [
    117         "bootstrap/bpdoc/bpdoc.go",
    118     ],
    119 )
    120 
    121 bootstrap_core_go_binary(
    122     name = "minibp",
    123     deps = [
    124         "blueprint",
    125         "blueprint-bootstrap",
    126     ],
    127     srcs = ["bootstrap/minibp/main.go"],
    128 )
    129 
    130 bootstrap_core_go_binary(
    131     name = "bpglob",
    132     deps = ["blueprint-pathtools"],
    133     srcs = ["bootstrap/bpglob/bpglob.go"],
    134 )
    135 
    136 blueprint_go_binary(
    137     name = "bpfmt",
    138     deps = ["blueprint-parser"],
    139     srcs = ["bpfmt/bpfmt.go"],
    140 )
    141 
    142 blueprint_go_binary(
    143     name = "bpmodify",
    144     deps = ["blueprint-parser"],
    145     srcs = ["bpmodify/bpmodify.go"],
    146 )
    147 
    148 bootstrap_core_go_binary(
    149     name = "gotestmain",
    150     srcs = ["gotestmain/gotestmain.go"],
    151 )
    152 
    153 bootstrap_core_go_binary(
    154     name = "gotestrunner",
    155     srcs = ["gotestrunner/gotestrunner.go"],
    156 )
    157 
    158 bootstrap_go_binary{
    159     name = "loadplugins",
    160     srcs = ["loadplugins/loadplugins.go"],
    161 }
    162