91 lines
1.9 KiB
Text
91 lines
1.9 KiB
Text
bootstrap_go_package(
|
|
name = "blueprint",
|
|
deps = [
|
|
"blueprint-parser",
|
|
"blueprint-proptools",
|
|
],
|
|
pkgPath = "github.com/google/blueprint",
|
|
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",
|
|
],
|
|
)
|
|
|
|
bootstrap_go_package(
|
|
name = "blueprint-parser",
|
|
pkgPath = "github.com/google/blueprint/parser",
|
|
srcs = [
|
|
"parser/modify.go",
|
|
"parser/parser.go",
|
|
"parser/printer.go",
|
|
"parser/sort.go",
|
|
],
|
|
)
|
|
|
|
bootstrap_go_package(
|
|
name = "blueprint-deptools",
|
|
pkgPath = "github.com/google/blueprint/deptools",
|
|
srcs = ["deptools/depfile.go"],
|
|
)
|
|
|
|
bootstrap_go_package(
|
|
name = "blueprint-pathtools",
|
|
pkgPath = "github.com/google/blueprint/pathtools",
|
|
srcs = [
|
|
"pathtools/lists.go",
|
|
"pathtools/glob.go",
|
|
],
|
|
)
|
|
|
|
bootstrap_go_package(
|
|
name = "blueprint-proptools",
|
|
pkgPath = "github.com/google/blueprint/proptools",
|
|
srcs = ["proptools/proptools.go"],
|
|
)
|
|
|
|
bootstrap_go_package(
|
|
name = "blueprint-bootstrap",
|
|
deps = [
|
|
"blueprint",
|
|
"blueprint-deptools",
|
|
"blueprint-pathtools",
|
|
],
|
|
pkgPath = "github.com/google/blueprint/bootstrap",
|
|
srcs = [
|
|
"bootstrap/bootstrap.go",
|
|
"bootstrap/cleanup.go",
|
|
"bootstrap/command.go",
|
|
"bootstrap/config.go",
|
|
"bootstrap/doc.go",
|
|
],
|
|
)
|
|
|
|
bootstrap_go_binary(
|
|
name = "minibp",
|
|
deps = [
|
|
"blueprint",
|
|
"blueprint-bootstrap",
|
|
],
|
|
srcs = ["bootstrap/minibp/main.go"],
|
|
)
|
|
|
|
bootstrap_go_binary(
|
|
name = "bpfmt",
|
|
deps = ["blueprint-parser"],
|
|
srcs = ["bpfmt/bpfmt.go"],
|
|
)
|
|
|
|
bootstrap_go_binary(
|
|
name = "bpmodify",
|
|
deps = ["blueprint-parser"],
|
|
srcs = ["bpmodify/bpmodify.go"],
|
|
)
|