diff options
author | Googler <noreply@google.com> | 2015-10-21 14:24:18 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@google.com> | 2015-10-21 14:39:39 +0000 |
commit | 687550660db90b007741e1f67a8092b08945f8e3 (patch) | |
tree | b761daca94396629023f627302505f77d11790a4 /third_party/jsch | |
parent | 4d7fae3bfcc579676d7b2454ab8a38743aa4c635 (diff) |
Trying again with checking for the presence of the "resources" attribute and deduplication of transitive and direct dependencies in the AndroidProcessingAction.
Change the resource dependency handling to separate between the transitive and direct resources from libraries.
This slightly increases the complexity of resource propagation. The initial algorithm was to simply merge all transitive ResourceContainers together with any new ResourceContainer and propagate them via the AndroidResourcesProvider. The new algorithm is encapsulated inside a new ResourceDependencies class which works as follows:
1. Collect resources from the deps into transitive and direct NestedSets
2. If a rule provides a ResourceContainer, merge the transitive and direct into a new transitive set
3. Export the provider
This results having a rule without resources "forward" the merged sets of transitive and direct resources to the next rule.
--
MOS_MIGRATED_REVID=105960655
Diffstat (limited to 'third_party/jsch')
0 files changed, 0 insertions, 0 deletions