[engine] Move dependencies onto configuration
Review Request #3316 - Created Jan. 8, 2016 and submitted
|benjyw, ity, jsirois, patricklaw|
This change is a prerequisite for #2782, because in order to fully declare dependencies, it is necessary to replace the
alternateSubject mechanism with an approach that is based on generating a Sources config with its dependencies present.
Struct, to better encapsulate how it is being used (the
Target.configurationsfield keeps its name)
Targetand onto configuration: some configurations of a Target have dependencies (JavaSources/ThriftSources) but others don't (Resources/BuildProperties, etc) which allows for type safety, and additionally the requesting of products only for configurations that require them.
Revision 3 (+316 -296)