2fb2095caa
This change replaces the automatic caller package divination with a PackageContext object that must be explicitly passed in by callers. Change-Id: I139be29ecf75a7cf8488b3958dee5e44363acc22
45 lines
No EOL
1.3 KiB
Text
45 lines
No EOL
1.3 KiB
Text
bootstrap_go_package {
|
|
name: "blueprint",
|
|
deps: ["blueprint-parser"],
|
|
pkgPath: "blueprint",
|
|
srcs: ["blueprint/context.go",
|
|
"blueprint/live_tracker.go",
|
|
"blueprint/mangle.go",
|
|
"blueprint/module_ctx.go",
|
|
"blueprint/ninja_defs.go",
|
|
"blueprint/ninja_strings.go",
|
|
"blueprint/ninja_writer.go",
|
|
"blueprint/package_ctx.go",
|
|
"blueprint/scope.go",
|
|
"blueprint/singleton_ctx.go",
|
|
"blueprint/unpack.go"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "blueprint-parser",
|
|
pkgPath: "blueprint/parser",
|
|
srcs: ["blueprint/parser/parser.go"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "blueprint-pathtools",
|
|
pkgPath: "blueprint/pathtools",
|
|
srcs: ["blueprint/pathtools/lists.go"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "blueprint-bootstrap",
|
|
deps: ["blueprint",
|
|
"blueprint-pathtools"],
|
|
pkgPath: "blueprint/bootstrap",
|
|
srcs: ["blueprint/bootstrap/bootstrap.go",
|
|
"blueprint/bootstrap/command.go",
|
|
"blueprint/bootstrap/config.go",
|
|
"blueprint/bootstrap/doc.go"],
|
|
}
|
|
|
|
bootstrap_go_binary {
|
|
name: "minibp",
|
|
deps: ["blueprint", "blueprint-bootstrap"],
|
|
srcs: ["blueprint/bootstrap/minibp/main.go"],
|
|
} |