• Home
  • Raw
  • Download

Lines Matching refs:dexpreopt

16 [soong/dexpreopt]. For the rest of this section we focus primarily on it (and
23 ### Global and module dexpreopt.config
25 The build system generates a global JSON dexpreopt config that is populated from
27 Make. The `$OUT/soong/dexpreopt.config` file is generated in
28 [make/core/dex_preopt_config.mk]. Soong reads it in [soong/dexpreopt/config.go]
32 dexpreopt and so on.
40 JSON dexpreopt.config files.
42 Module configs in Soong are not materialized as dexpreopt.config files and exist
45 in [soong/dexpreopt/config.go].
49 The Soong implementation of dexpreopt consists roughly of the following steps:
51 - Read global dexpreopt config passed from Make ([soong/dexpreopt/config.go]).
63 ([soong/dexpreopt/class_loader_context.go])
66 ([soong/java/dexpreopt.go])
71 - generate dexpreopt build rule ([soong/dexpreopt/dexpreopt.go])
80 In order to reuse the same dexpreopt implementation for both Soong and Make
83 dexpreopt build rules for Make packages, and then executes them.
92 - It is impossible to find dexpreopt build rules in the generated Ninja files.
95 dexpreopt implementation in Make. Also note that it would be problematic to
108 - generate build rules for module dexpreopt.config
110 - generate build rules for merging dependency dexpreopt.config files (see
115 - generate build rules for executing dexpreopt.sh scripts
118 - generate dexpreopt.config files
120 - execute dexpreopt_gen rules (generate dexpreopt.sh scripts)
122 - execute dexpreopt.sh scripts (this runs the actual dexpreopt)
125 dexpreopt_gen and dexpreopt.sh rules. The real dexpreopt command (dex2oat
127 dexpreopt.sh script, which is generated close to the end of the build.
156 Indirect buils rules are used in a couple of places in dexpreopt:
165 dexpreopt.config files for uses-library dependencies into the dependent's
166 dexpreopt.config file (mostly the CLC)
168 - autogenerated dexpreopt.sh scripts: to call dexpreopt_gen
196 generates dexpreopt build rules, so it doesn't know whether to add compatibility
199 logic to the dexpreopt rule that will extract `targetSdkVersion` from the
201 immediately before executing the dexpreopt command (see the
244 [soong/dexpreopt]: https://cs.android.com/android/platform/superproject/+/master:build/soong/dexpre…
245 [soong/dexpreopt/class_loader_context.go]: https://cs.android.com/android/platform/superproject/+/m…
246 [soong/dexpreopt/config.go]: https://cs.android.com/android/platform/superproject/+/master:build/so…
247 [soong/dexpreopt/dexpreopt.go]: https://cs.android.com/android/platform/superproject/+/master:build…
252 [soong/java/dexpreopt.go]: https://cs.android.com/android/platform/superproject/+/master:build/soon…