platform_build_blueprint/Blueprints
Jamie Gennis af43556ce3 Add support for removing abandoned files.
This change makes the bootstrapping process remove any files that were
previously created by invoking a Ninja rule (i.e. they appear in the .ninja_log
file) but are no longer a build output target.

Change-Id: I3c78e563393b97f8ca196ac85c7caa2b3866ffa6
2015-01-23 13:41:48 -08:00

61 lines
1.8 KiB
Text

bootstrap_go_package {
name: "blueprint",
deps: ["blueprint-parser",
"blueprint-proptools"],
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-deptools",
pkgPath: "blueprint/deptools",
srcs: ["blueprint/deptools/depfile.go"],
}
bootstrap_go_package {
name: "blueprint-pathtools",
pkgPath: "blueprint/pathtools",
srcs: ["blueprint/pathtools/lists.go",
"blueprint/pathtools/glob.go"],
}
bootstrap_go_package {
name: "blueprint-proptools",
pkgPath: "blueprint/proptools",
srcs: ["blueprint/proptools/proptools.go"],
}
bootstrap_go_package {
name: "blueprint-bootstrap",
deps: ["blueprint",
"blueprint-deptools",
"blueprint-pathtools"],
pkgPath: "blueprint/bootstrap",
srcs: ["blueprint/bootstrap/bootstrap.go",
"blueprint/bootstrap/cleanup.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"],
}