platform_build_blueprint/proptools
Cole Faust 70b814a964 Fix bugs when appending selects
The biggest issue here is that Configurable objects needed to be
cloned before appended to one another, otherwise some Configurables
that were used in defaults could be edited after being applied to one
module and apply a different value to another module.

Also fix an issue where a select without a defined appendWrapper
always evaluated to nil.

I plan to make a followup refactor cl to make these things clearer,
but start with the bugfix.

Bug: 323382414
Test: m nothing --no-skip-soong-tests (see other cl in topic for tests)
Change-Id: Icf68d0ee1779c76bfb3d68db43b35d7e09bc0dd9
2024-04-25 15:38:56 -07:00
..
clone.go Select statements 2024-03-06 15:00:39 -08:00
clone_test.go Fix TestCloneProperties for go 1.21 2023-11-08 22:07:58 -08:00
configurable.go Fix bugs when appending selects 2024-04-25 15:38:56 -07:00
escape.go Use maps and slices packages 2024-04-01 15:54:22 -07:00
escape_test.go Use maps and slices packages 2024-04-01 15:54:22 -07:00
extend.go Fix bugs when appending selects 2024-04-25 15:38:56 -07:00
extend_test.go Allow extending configurable propeties with non-configurable properties 2024-04-25 15:31:00 -07:00
filter.go Don't recurse into configurable properties in filterPropertyStructFields 2024-03-26 16:46:48 -07:00
filter_test.go Always shard structs if they would exceed maxNameSize even if unfiltered 2021-03-26 09:59:19 +00:00
hash_provider.go Use WriteString in hashProviderInternal 2024-02-02 15:57:26 -08:00
hash_provider_test.go Enforce that providers are not changed 2024-01-30 15:18:24 -08:00
proptools.go Add proptools.Slice 2024-03-14 14:28:52 -07:00
proptools_test.go Select statements 2024-03-06 15:00:39 -08:00
tag.go Select statements 2024-03-06 15:00:39 -08:00
tag_test.go propertyIndexesWithTag can handle slice of struct 2021-02-24 01:02:59 +09:00
typeequal.go Fix bugs when appending selects 2024-04-25 15:38:56 -07:00
typeequal_test.go Support nil pointers to structs in properties 2016-08-05 17:19:36 -07:00
unpack.go Export ConfigurableCase and add constructors 2024-04-23 13:55:59 -07:00
unpack_test.go Export ConfigurableCase and add constructors 2024-04-23 13:55:59 -07:00