platform_build_soong/dexpreopt
Colin Cross 7134e289a6 Deterministically report path errors to all callers of dexpreopt.GetGlobalConfig
dexpreopt.GetGlobalConfig uses a OncePer to only parse the config once.
If the config contains missing paths, which can happen in partial
manifest branches, the missing path errors will only be reported on
the first caller to GetGlobalConfig.  Fix the nondeterminism by
wrapping the PathContext and capturing any path errors and reporting
them to all callers to GetGlobalConfig.

Bug: 207813628
Test: tradefed branch builds
Change-Id: I869c3ae49a819b1251b94b73e0487aa594cd5e22
2022-05-17 13:27:22 -07:00
..
dexpreopt_gen Make OutDir() and SoongOutDir() be consistent. 2021-09-02 13:35:49 +02:00
Android.bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
class_loader_context.go Revert "Don't add uses_libs/optional_uses_libs to the manifest_fixer." 2022-05-04 12:10:06 +01:00
class_loader_context_test.go Revert "Don't add uses_libs/optional_uses_libs to the manifest_fixer." 2022-05-04 12:10:06 +01:00
config.go Deterministically report path errors to all callers of dexpreopt.GetGlobalConfig 2022-05-17 13:27:22 -07:00
dexpreopt.go Dexpreopt standalone system server jars. 2021-12-20 15:07:26 +00:00
DEXPREOPT_IMPLEMENTATION.md Add markdown docs for dexpreopt. 2022-03-03 17:08:25 +00:00
dexpreopt_test.go Dexpreopt standalone system server jars. 2021-12-20 15:07:26 +00:00
OWNERS Update dex_preopt related OWNERS 2021-06-17 17:05:39 +01:00
testing.go Test that DisableGenerateProfile takes effects for APEXes. 2021-12-14 10:55:12 +00:00