Files
build_soong/java
Paul Duffin 56f266d22c 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
Merged-In: Id103f70f55d4202971321ef4925cbec4b55f8136
Change-Id: Id103f70f55d4202971321ef4925cbec4b55f8136
(cherry picked from commit 106a3a4bec)
2022-02-10 17:29:58 +00:00
..
2020-11-30 14:16:02 -08:00
2021-04-12 13:46:21 +09:00
2021-06-18 21:02:10 +01:00
2020-12-21 12:31:51 -08:00
2021-12-09 14:35:32 +00:00
2021-03-31 13:17:42 -07:00
2021-03-15 13:58:44 -07:00
2021-04-12 13:46:21 +09:00
2019-10-18 15:14:15 -07:00