platform_build_soong/dexpreopt
Martin Stjernholm c52aaf11d0 Move generation of the dexpreopt tool paths into Soong.
The dexpreopt global config is now split into the part that is generated
from make (in build/make/core/dex_preopt_config.mk) and the part that is
generated from Soong. Since the goal is to generate the dex2oat path from
Soong dependencies, the old GlobalConfig.Tools struct is simply repurposed
for the Soong generated config, although the intention is to allow more
settings to migrate from make to Soong, and hence from GlobalConfig to
GlobalSoongConfig.

Since the new dexpreopt_soong.config is written from a Soong-created ninja
rule, it doesn't need to be rewritten to out/soong/<device>/ like the old
make-created config file.

Test: m
Test: env USE_DEX2OAT_DEBUG=false m
  (check that out/soong/dexpreopt_soong.config points to dex2oat instead of dex2oatd)
Bug: 145934348

Change-Id: Ifd45c4a08e2ec55b86f4a93f0d85bd39cf2cf189
2020-01-07 14:15:42 +00:00
..
dexpreopt_gen Move generation of the dexpreopt tool paths into Soong. 2020-01-07 14:15:42 +00:00
Android.bp Move dexpreopt.Script to android.RuleBuilder 2019-02-05 13:28:43 -08:00
config.go Move generation of the dexpreopt tool paths into Soong. 2020-01-07 14:15:42 +00:00
dexpreopt.go Move generation of the dexpreopt tool paths into Soong. 2020-01-07 14:15:42 +00:00
dexpreopt_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
OWNERS Add an owners file for dexpreopt files. 2018-12-18 20:28:06 +00:00