Lines Matching +full:ninja +full:- +full:linux

7 //     http://www.apache.org/licenses/LICENSE-2.0
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
252 Linux struct {
357 } else if runtime.GOOS == "linux" {
358 srcs = append(g.properties.Srcs, g.properties.Linux.Srcs...)
359 testSrcs = append(g.properties.TestSrcs, g.properties.Linux.TestSrcs...)
388 Linux struct {
469 } else if runtime.GOOS == "linux" {
470 srcs = append(g.properties.Srcs, g.properties.Linux.Srcs...)
471 testSrcs = append(g.properties.TestSrcs, g.properties.Linux.TestSrcs...)
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
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.