Lines Matching +full:ninja +full:- +full:bin

7 //     http://www.apache.org/licenses/LICENSE-2.0
35 …goTestMainCmd = pctx.StaticVariable("goTestMainCmd", filepath.Join(bootstrapDir, "bin", "gotestm…
36 …goTestRunnerCmd = pctx.StaticVariable("goTestRunnerCmd", filepath.Join(bootstrapDir, "bin", "gotes…
37 …pluginGenSrcCmd = pctx.StaticVariable("pluginGenSrcCmd", filepath.Join(bootstrapDir, "bin", "loadp…
51 return fmt.Sprintf("-c %d", numCpu)
59 Command: "GOROOT='$goRoot' $compileCmd $parallelCompile -o $out.tmp " +
60 "$debugFlags -p $pkgPath -complete $incFlags -pack $in && " +
61 "if cmp --quiet $out.tmp $out; then rm $out.tmp; else mv -f $out.tmp $out; fi",
70 Command: "GOROOT='$goRoot' $linkCmd -o $out.tmp $libDirFlags $in && " +
71 "if cmp --quiet $out.tmp $out; then rm $out.tmp; else mv -f $out.tmp $out; fi",
80 Command: "$goTestMainCmd -o $out -pkg $pkg $in",
88 Command: "$pluginGenSrcCmd -o $out -p $pkg $plugins",
96 Command: "$goTestRunnerCmd -p $pkgSrcDir -f $out -- $in -test.short",
111 Command: "BUILDDIR=$buildDir $bootstrapCmd -i $in",
124 generateBuildNinja = pctx.StaticRule("build.ninja",
127 // environment variables and some from Ninja parameters, but it's probably
129 // NOTE: The spaces at EOL are important because otherwise Ninja would
134 `env -i "$$BUILDER" ` +
135 ` --top "$$TOP" ` +
136 ` --out "$buildDir" ` +
137 ` -n "$ninjaBuildDir" ` +
138 ` -d "$out.d" ` +
148 // Work around a Ninja issue. See https://github.com/martine/ninja/pull/634
182 return filepath.Join(config.(BootstrapConfig).BuildDir(), bootstrapSubDir, "bin")
189 return filepath.Join(config.(BootstrapConfig).BuildDir(), "bin")
449 g.installPath = filepath.Join(stageDir(g.config), "bin", name)
488 libDirFlags = append(libDirFlags, "-L "+libDir)
561 incFlags = append(incFlags, "-I "+incDir)
612 libDirFlags := []string{"-L " + testRoot}
619 libDirFlags = append(libDirFlags, "-L "+libDir)
630 "incFlags": "-I " + testRoot,
684 // creating the binary that we'll use to generate the non-bootstrap
685 // build.ninja file.
709 // the -p flag.
711 primaryBuilderCmdlinePrefix = append(primaryBuilderCmdlinePrefix, "-p")
715 ctx.ModuleErrorf(primaryBuilder, "<-- module %s",
734 // Build the main build.ninja
750 // binary to the "bin" directory to make it easier to find.
751 finalMinibp := filepath.Join("$buildDir", "bin", primaryBuilderName)
767 Command: fmt.Sprintf("%s -b $buildDir --docs $out %s", primaryBuilderFile,
802 // packageRoot returns the module-specific package root directory path. This
804 // modules search for this package via -I arguments.
809 // testRoot returns the module-specific package root directory path used for
811 // packageRoot, plus the test-only code.
822 // moduleObjDir returns the module-specific object directory path.
827 // moduleGenSrcDir returns the module-specific generated sources path.