Lines Matching +full:ninja +full:- +full:build
7 // http://www.apache.org/licenses/LICENSE-2.0
17 // such a build are:
19 // 1. A Ninja binary
27 // Blueprint library and the build logic specific to the source tree. It is
28 // used to generate the Ninja file that describes how to build the entire source
34 // sets primaryBuilder to true the build will fail.
46 // "my/custom/build/logic"
54 // // The top-level Blueprints file is passed as the first argument.
57 // // Create the build context.
77 // the build bootstrapping:
79 // 1. The top-level Blueprints file
81 // 3. The build wrapper script
83 // The top-level Blueprints file describes how the entire source tree should be
85 // Blueprint library and the custom build logic for the source tree. It should
89 // The bootstrap script is a small script to setup the build directory, writing
91 // information about the Go build environment, etc), then copying the build
92 // wrapper into the build directory.
97 // corresponding Ninja file. The stages are referred to as the "bootstrap",
98 // "primary", and "main" stages. Each stage builds the next stage's Ninja file.
101 // to initialize a new build directory. The script is run from the build
102 // directory, and creates a ".minibootstrap/build.ninja" file that sets a few
103 // variables then includes blueprint's "bootstrap/build.ninja". It also writes
106 // BLUEPRINT_BOOTSTRAP_VERSION - Used to detect when a user needs to run
109 // SRCDIR - The path to the source directory
110 // BLUEPRINTDIR - The path to the blueprints directory (includes $SRCDIR)
111 // GOROOT - The path to the root directory of the Go toolchain
112 // NINJA_BUILDDIR - The path to store .ninja_log, .ninja_deps
114 // Once the script completes the build directory is initialized and ready to run
115 // a build. A wrapper script (blueprint.bash by default) has been installed in
116 // order to run a build. It iterates through the three stages of the build:
118 // - Runs microfactory.bash to build minibp
119 // - Runs the .minibootstrap/build.ninja to build .bootstrap/build.ninja
120 // - Runs .bootstrap/build.ninja to build and run the primary builder
121 // - Runs build.ninja to build your code
126 // During <builddir>/.minibootstrap/build.ninja, the following actions are
129 // - Run minibp to generate .bootstrap/build.ninja (Primary stage)
130 // - Includes .minibootstrap/build-globs.ninja, which defines rules to
134 // During the <builddir>/.bootstrap/build.ninja, the following actions are
137 // - Build the primary builder, anything marked `default: true`, and
139 // - Run the primary builder to generate build.ninja
140 // - Run the primary builder to extract documentation
141 // - Includes .bootstrap/build-globs.ninja, which defines rules to run
145 // Then the main stage is at <builddir>/build.ninja, and will contain all the