platform_build_soong/mk2rbc
Cole Faust e2a37988ff Simplify and correct variable assignments
- Remove asgnMaybeAppend, it was only used to indicate
  that the asignment needs a setDefault. But really, all
  types of variable assignments need setDefault if they're
  self-referential.
- Remove local_append/local_set_default because there was
  no implementation for them written in product_config.rbc
  anyways.
- Correct productConfigVariable.emitDefined using the global
  variables instead of the product config variables.
- Emit setDefaults for all types of assignments if they're
  self referential.

Bug: 222737841
Test: go test
Change-Id: I06a0f90f16d5900049d473281e6d5ef5e93e67da
2022-03-10 15:00:57 -08:00
..
cmd Remove --root, require the cwd to be the root 2022-02-07 11:45:01 -08:00
test Share version settings with product config makefile. 2021-09-13 09:23:05 -07:00
Android.bp Support passing input variables to the product configuration 2021-12-02 16:19:19 -08:00
android_products.go AndroidProducts.mk file reader 2021-07-12 09:40:18 -07:00
android_products_test.go AndroidProducts.mk file reader 2021-07-12 09:40:18 -07:00
config_variables.go Config variables reader 2021-07-12 09:40:18 -07:00
config_variables_test.go Config variables reader 2021-07-12 09:40:18 -07:00
expr.go Fix issue with referencing the loop variable in a foreach 2022-03-01 16:11:50 -08:00
find_mockfs.go Allow dynamically calculated inherit-product path 2021-08-02 14:35:45 -07:00
mk2rbc.go Simplify and correct variable assignments 2022-03-10 15:00:57 -08:00
mk2rbc_test.go Simplify and correct variable assignments 2022-03-10 15:00:57 -08:00
node.go Simplify and correct variable assignments 2022-03-10 15:00:57 -08:00
soong_variables.go Soong variables reader 2021-07-12 09:40:18 -07:00
soong_variables_test.go Soong variables reader 2021-07-12 09:40:18 -07:00
TODO Product config makefiles to Starlark converter 2021-07-14 09:51:10 -07:00
types.go Make a pass over our codebase cleaning up non-precise / non-inclusive language. 2021-10-28 10:32:07 -07:00
variable.go Simplify and correct variable assignments 2022-03-10 15:00:57 -08:00