platform_build_soong/android/soongconfig
Liz Kammer 8103dc428e Migrate overlapping config var defs in all bp file
Unlike most module types, config variable handling is always namespaced
to the Android.bp file, which limits reuse of the variable definitions.
Additionally multiple of these module types can define a string variable
in the same config namespace, but specify different valid values for the
string.

Previously, we cached the first instance we see of variable + namespace;
however, this caused non-determinism in which defintion would be used
and not migrating all values. Instead, we now only cache within a single
Android.bp file where the variable definitions are re-used.

Test: go tests
Bug: 271481817
Change-Id: Ic327657c508e47a705bacd24712a1916e105c7cd
2023-03-06 09:15:36 -05:00
..
Android.bp Add package for printing starlark formatted data 2022-02-08 17:32:28 -05:00
config.go Add conditions_default for soong config variables. 2021-01-21 14:25:20 -05:00
modules.go Migrate overlapping config var defs in all bp file 2023-03-06 09:15:36 -05:00
modules_test.go Migrate overlapping config var defs in all bp file 2023-03-06 09:15:36 -05:00