Lines Matching +full:ninja +full:- +full:build
7 // http://www.apache.org/licenses/LICENSE-2.0
58 flag.StringVar(&delvePath, "delve_path", "", "Path to Delve. Only used if --delve_listen is set")
61 flag.StringVar(&docFile, "soong_docs", "", "build documentation file to output")
62 …QueryViewDir, "bazel_queryview_dir", "", "path to the bazel queryview directory relative to --top")
102 // Bazel-enabled mode. Soong runs in two passes.
103 // First pass: Analyze the build tree, but only store all bazel commands
105 // TODO(cparsons): Don't output any ninja file, as the second pass will overwrite
119 // Second pass: Full analysis, using the bazel command results. Output ninja file.
136 // Run the code-generation phase to convert BazelTargetModules to BUILD files.
187 // Blueprint to BUILD files before everything else.
209 // Convert the Soong module graph into Bazel BUILD files.
229 // At the end of the build, a file called soong.environment.used is written
235 // The dependency of build.ninja on soong.environment.used is declared in
236 // build.ninja.d
239 fmt.Fprintf(os.Stderr, "--available_env not set\n")
260 // The top-level Blueprints file is passed as the first argument.
273 // Add a non-existent file to the dependencies so that soong_build will rerun when the debugger is
280 // because that is done from within the actual builds as a Ninja action and
282 // special-cased.
283 // TODO: Fix this by not passing --used_env to the soong_docs invocation
317 // prior builds, and exiting early as soon as the BUILD files get generated,
318 // therefore not creating build.ninja files that soong_ui and callers of
321 // These files are: build.ninja and build.ninja.d. Since Kati hasn't been
322 // ran as well, and `nothing` is defined in a .mk file, there isn't a ninja
327 ninjaFileName := "build.ninja"
330 // A workaround to create the 'nothing' ninja target so `m nothing` works,
333 ioutil.WriteFile(ninjaFile, []byte("build nothing: phony\n phony_output = true\n"), 0666)
362 // Bazel BUILD files instead of Ninja files.
375 // Android.bp files. It must not depend on the values of per-build product
376 // configurations or variables, since those will generate different BUILD
386 // No need to generate Ninja build rules/statements from Modules and Singletons.
398 // Run the code-generation phase to convert BazelTargetModules to BUILD files
407 "bazel-bin",
408 "bazel-genfiles",
409 "bazel-out",
410 "bazel-testlogs",
411 "bazel-" + filepath.Base(topDir),
422 // for queryview, since that's a total repo-wide conversion and there's a