2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_package(
|
|
|
|
name = "blueprint",
|
|
|
|
deps = [
|
|
|
|
"blueprint-parser",
|
2015-04-01 05:39:02 +02:00
|
|
|
"blueprint-pathtools",
|
2015-01-23 23:24:17 +01:00
|
|
|
"blueprint-proptools",
|
|
|
|
],
|
2015-03-21 03:39:29 +01:00
|
|
|
pkgPath = "github.com/google/blueprint",
|
2015-01-23 23:24:17 +01:00
|
|
|
srcs = [
|
|
|
|
"context.go",
|
|
|
|
"live_tracker.go",
|
|
|
|
"mangle.go",
|
|
|
|
"module_ctx.go",
|
|
|
|
"ninja_defs.go",
|
|
|
|
"ninja_strings.go",
|
|
|
|
"ninja_writer.go",
|
|
|
|
"package_ctx.go",
|
|
|
|
"scope.go",
|
|
|
|
"singleton_ctx.go",
|
|
|
|
"unpack.go",
|
|
|
|
],
|
2015-06-24 02:21:00 +02:00
|
|
|
testSrcs = [
|
|
|
|
"context_test.go",
|
|
|
|
"ninja_strings_test.go",
|
|
|
|
"ninja_writer_test.go",
|
|
|
|
"splice_modules_test.go",
|
|
|
|
"unpack_test.go",
|
|
|
|
],
|
2015-01-23 23:24:17 +01:00
|
|
|
)
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_package(
|
|
|
|
name = "blueprint-parser",
|
2015-03-21 03:39:29 +01:00
|
|
|
pkgPath = "github.com/google/blueprint/parser",
|
2015-01-23 23:24:17 +01:00
|
|
|
srcs = [
|
|
|
|
"parser/modify.go",
|
|
|
|
"parser/parser.go",
|
|
|
|
"parser/printer.go",
|
|
|
|
"parser/sort.go",
|
|
|
|
],
|
2015-06-24 02:21:00 +02:00
|
|
|
testSrcs = [
|
|
|
|
"parser/parser_test.go",
|
|
|
|
"parser/printer_test.go",
|
|
|
|
],
|
2015-01-23 23:24:17 +01:00
|
|
|
)
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_package(
|
|
|
|
name = "blueprint-deptools",
|
2015-03-21 03:39:29 +01:00
|
|
|
pkgPath = "github.com/google/blueprint/deptools",
|
2015-01-23 23:24:17 +01:00
|
|
|
srcs = ["deptools/depfile.go"],
|
|
|
|
)
|
2014-10-14 10:30:17 +02:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_package(
|
|
|
|
name = "blueprint-pathtools",
|
2015-03-21 03:39:29 +01:00
|
|
|
pkgPath = "github.com/google/blueprint/pathtools",
|
2015-01-23 23:24:17 +01:00
|
|
|
srcs = [
|
|
|
|
"pathtools/lists.go",
|
|
|
|
"pathtools/glob.go",
|
|
|
|
],
|
2015-06-24 02:21:00 +02:00
|
|
|
testSrcs = [
|
|
|
|
"pathtools/glob_test.go",
|
|
|
|
],
|
2015-01-23 23:24:17 +01:00
|
|
|
)
|
2014-06-06 23:37:07 +02:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_package(
|
|
|
|
name = "blueprint-proptools",
|
2015-03-21 03:39:29 +01:00
|
|
|
pkgPath = "github.com/google/blueprint/proptools",
|
2015-01-23 23:24:17 +01:00
|
|
|
srcs = ["proptools/proptools.go"],
|
|
|
|
)
|
2014-10-03 03:36:13 +02:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_package(
|
|
|
|
name = "blueprint-bootstrap",
|
|
|
|
deps = [
|
|
|
|
"blueprint",
|
|
|
|
"blueprint-deptools",
|
|
|
|
"blueprint-pathtools",
|
2015-05-13 23:36:24 +02:00
|
|
|
"blueprint-bootstrap-bpdoc",
|
2015-01-23 23:24:17 +01:00
|
|
|
],
|
2015-03-21 03:39:29 +01:00
|
|
|
pkgPath = "github.com/google/blueprint/bootstrap",
|
2015-01-23 23:24:17 +01:00
|
|
|
srcs = [
|
|
|
|
"bootstrap/bootstrap.go",
|
|
|
|
"bootstrap/cleanup.go",
|
|
|
|
"bootstrap/command.go",
|
|
|
|
"bootstrap/config.go",
|
|
|
|
"bootstrap/doc.go",
|
2015-05-13 23:36:24 +02:00
|
|
|
"bootstrap/writedocs.go",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
bootstrap_go_package(
|
|
|
|
name = "blueprint-bootstrap-bpdoc",
|
|
|
|
deps = [
|
|
|
|
"blueprint",
|
|
|
|
"blueprint-proptools",
|
|
|
|
],
|
|
|
|
pkgPath = "github.com/google/blueprint/bootstrap/bpdoc",
|
|
|
|
srcs = [
|
|
|
|
"bootstrap/bpdoc/bpdoc.go",
|
2015-01-23 23:24:17 +01:00
|
|
|
],
|
|
|
|
)
|
2014-05-28 01:34:41 +02:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_binary(
|
|
|
|
name = "minibp",
|
|
|
|
deps = [
|
|
|
|
"blueprint",
|
|
|
|
"blueprint-bootstrap",
|
|
|
|
],
|
|
|
|
srcs = ["bootstrap/minibp/main.go"],
|
|
|
|
)
|
2015-01-09 04:35:10 +01:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_binary(
|
|
|
|
name = "bpfmt",
|
|
|
|
deps = ["blueprint-parser"],
|
|
|
|
srcs = ["bpfmt/bpfmt.go"],
|
|
|
|
)
|
2015-01-13 02:43:04 +01:00
|
|
|
|
2015-01-23 23:24:17 +01:00
|
|
|
bootstrap_go_binary(
|
|
|
|
name = "bpmodify",
|
|
|
|
deps = ["blueprint-parser"],
|
|
|
|
srcs = ["bpmodify/bpmodify.go"],
|
|
|
|
)
|
2015-06-24 02:21:00 +02:00
|
|
|
|
|
|
|
bootstrap_go_binary(
|
|
|
|
name = "gotestmain",
|
|
|
|
srcs = ["gotestmain/gotestmain.go"],
|
|
|
|
)
|