Lines Matching refs:soong

36 * **soong\_build** (and **Blueprint**) component to generate build actions (Android.bp, Blueprints …
37 * **Ninja** component to execute actions from Kati-build, Kati-package and soong\_build
39 * **soong\_ui** as the tool to orchestrate all of the above, and with auxiliary tools like finder, …
44 [path\_interposer](https://cs.android.com/android/platform/superproject/+/master:build/soong/ui/bui…
50 The build system components run in the following order, orchestrated by soong\_ui:
52 1. soong\_ui bootstraps itself with microfactory (`go build` replacement) and launches.
53 1. soong\_ui runs auxiliary tools to aggregate files into filelists, for
55 1. soong\_ui runs Kati-config with
56 …oint](https://cs.android.com/android/platform/superproject/+/master:build/soong/ui/build/dumpvars.…
57 1. soong\_ui orchestrates 3 Blueprint/Soong phases to generate the main out/soong/build.ninja file:
64 plugins, and builds soong\_build.
66 to generate the final out/soong/build.ninja file.
67 1. soong\_build also runs its own tests alongside generating
68 out/soong/build.ninja, which can be skipped with the `--skip-soong-tests`
70 1. soong\_ui runs Kati-cleanspec with
71 …oint](https://cs.android.com/android/platform/superproject/+/master:build/soong/ui/build/kati.go;l…
72 1. soong\_ui runs Kati-build to generate a Ninja file, with
73 …int.](https://cs.android.com/android/platform/superproject/+/master:build/soong/ui/build/kati.go;l…
74 1. soong\_ui runs Kati-package to generate a Ninja file, with
75 …n.mk](https://cs.android.com/android/platform/superproject/+/master:build/soong/ui/build/kati.go;l…
77 1. soong\_ui generates a Ninja file to combine above Ninja files.
78 1. soong\_ui runs either Ninja or Bazel to execute the build, with the
81 soong\_ui has a --skip-make flag that will skip Kati-config, Kati cleanspec,
85 ### soong\_ui
87 soong\_ui is primarily responsible for orchestrating the build, cleaning the
89 microfactory) can bootstrap other tools (soong\_build), aggregate file lists
91 against the environment (soong\_env).
93 soong\_ui uses finder.go to generate <filename>.list files for other
96 soong\_build.
98 soong\_ui uses path\_interposer to prepare an hermetic $PATH with runtime
104 soong\_ui generates a Kati suffix to ensure that Kati-generated files are
107 soong\_ui calls Soong and Kati to generate Ninja files, and eventually
111 soong\_ui sets up the sandbox and environment for the Ninja/Bazel process.
115 As a product configuration tool, soong\_ui runs Kati-config in
116 **[--dumpvars-mode](https://cs.android.com/android/platform/superproject/+/master:build/soong/cmd/s…
120 soong\_config.mk](https://cs.android.com/android/platform/superproject/+/master:build/make/core/soo…
121 to generate the **[soong.variables JSON
123 This way, Kati-config can communicate product configuration to soong\_build,
124 as soong\_build parses the dumped variables from the JSON on startup, and
128 [dexpreopt](https://cs.android.com/android/platform/superproject/+/master:build/soong/java/dexpreop…
129 variables to soong\_build, [dexpreopt.config is also
132 soong\_build](https://cs.android.com/android/platform/superproject/+/master:build/soong/dexpreopt/c…
134 soong\_config.mk.
136 soong\_ui sets up a **KatiReader** to monitor Kati-config’s stdout/err for UI
139 ## soong\_build
141 soong\_build’s primary role is to evaluate all Android.bp files, run a series
142 of mutators, and generate out/soong/build.ninja file.
144 soong\_build communicates with Kati-build by generating Make Vars and running
146 (out/soong/{Android, late, make\_vars}-<product>.mk).
156 * soong\_ui invokes Kati to parse make\_vars .mk file earlier than the Android.mk
175 Kati-build/Kati-package’s stdout/stderr is monitored by soong\_ui’s
180 wrappers for soong\_ui to execute Ninja with the correct Ninja files, in a
185 As Ninja executes files from Kati-build, Kati-package, soong\_build and other
187 that soong\_ui monitors with NinjaReader. NinjaReader ensures that the user
192 As more Soong modules are converted to BUILD files, soong\_build serializes
193 information about converted modules to BUILD/bzl files on disk. soong\_build