Files
build_soong/java
Paul Duffin 106a3a4bec Allow pruning of unsupported fields in structs in maps
Adds support for traversing into a field that is of type:
   map[...]*struct{...}

This is needed to allow java_sdk_library to mark scope specific
properties, e.g. public.annotations as being target build release
specific.

It was necessary to change the Scope field from:
   Scope map[*apiScope]scopeProperties
to:
   Scope map[*apiScope]*scopeProperties

That is because there is no way in go to change the field of a struct
value of a map. i.e. you cannot do the following, not even using
reflection:
   Scope[apiScopePublic].AnnotationsZip = nil

Bug: 204763318
Test: m nothing
Change-Id: Id103f70f55d4202971321ef4925cbec4b55f8136
2022-01-31 12:28:04 +00:00
..
2022-01-28 11:39:47 -08:00
2020-11-30 14:16:02 -08:00
2022-01-11 13:03:49 +09:00
2022-01-12 18:48:39 +00:00
2021-06-30 14:29:49 -04:00
2021-06-17 17:05:39 +01:00