Lines Matching +full:runs +full:- +full:on
7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
33 const katiCleanspecSuffix = "-cleanspec"
34 const katiPackageSuffix = "-package"
36 // genKatiSuffix creates a filename suffix for kati-generated files so that we
37 // can cache them based on their inputs. Such files include the generated Ninja
41 // Currently that includes the TARGET_PRODUCT and kati-processed command line
45 katiSuffix := "-" + config.TargetProduct()
49 katiSuffix += "-" + spaceSlashReplacer.Replace(strings.Join(args, "_"))
55 shortSuffix := "-" + fmt.Sprintf("%x", md5.Sum([]byte(katiSuffix)))
70 // arguments, and a custom function closure to mutate the environment Kati runs
77 "--ninja",
79 "--ninja_dir=" + config.OutDir(),
81 "--ninja_suffix=" + config.KatiSuffix() + extraSuffix,
86 "--no_ninja_prelude",
88 "--use_ninja_phony_output",
90 "--use_ninja_symlink_outputs",
94 "--regen",
95 // Skip '-include' directives starting with the specified path. Used to
97 "--ignore_optional_include=" + filepath.Join(config.OutDir(), "%.P"),
99 "--detect_android_echo",
100 // Colorful ANSI-based warning and error messages.
101 "--color_warnings",
103 "--gen_all_targets",
104 // Use the built-in emulator of GNU find for better file finding
106 "--use_find_emulator",
108 "--werror_find_emulator",
109 // Do not provide any built-in rules.
110 "--no_builtin_rules",
112 "--werror_suffix_rules",
113 // Fail when a real target depends on a phony target.
114 "--werror_real_to_phony",
115 // Makes real_to_phony checks assume that any top-level or leaf
117 "--top_level_phony",
119 "--werror_phony_looks_real",
120 // Fail when writing to a read-only directory.
121 "--werror_writable",
123 // implicit/explicit/suffix rules, and so on.
124 "--kati_stats",
129 // Used for build_test and multiproduct_kati, which runs Kati several
136 // information out with --empty_ninja_file.
140 args = append(args, "--empty_ninja_file")
145 args = append(args, "--default_pool=local_pool")
163 // Pass on various build environment metadata to Kati.
196 "--writable", config.OutDir() + "/",
200 "--werror_implicit_rules",
202 "-f", "build/make/core/main.mk",
207 args = append(args, "--werror_overriding_commands")
217 // allowing Kati modules to depend on Soong modules.
222 // the dist.mk file, containing dist-for-goals data.
235 // Clean out obsolete header files on the disk that were *not copied* during the
287 // We shouldn't be removing files from one side of the two-step asan builds
308 "--writable", config.DistDir() + "/",
310 "--werror_implicit_rules",
312 "--werror_overriding_commands",
314 "-f", "build/make/packaging/main.mk",
316 // the dist.mk file, containing dist-for-goals data.
351 // Run Kati on the cleanspec files to clean the build.
358 "--werror_implicit_rules",
360 "--werror_overriding_commands",
362 "-f", "build/make/core/cleanbuild.mk",