Created by: nguyentruongtho
This PR will fix the mistake I made in https://github.com/facebook/buck/pull/831 and fix a problem with flavors propagation mentioned in https://github.com/facebook/buck/pull/843. A few noticeable changes:
- When platform flavor is not present,
SwiftLibraryDescription
will create a place holder (SwiftLibrary
). - Create Swift companion target and add it in the extra deps list when necessary, this target will only be created in building target graph phrase.
@ryu2 Please check if I have merge your changes correctly. @Coneko This is the approach we talked about yesterday, please have a look, love to hear your thought :)