Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure consistent configuration and output directory (#7)
If an app (`ios_application`) depends on a library (`apple_framework`), when building the app and the library separately, the libraries will be built twice into different directories. This is because of transition which causes different configurations. A thorough discussion can be found here. This change ensures when building the app and the library, they will have same transition, thus they will have the same configuration and same output directory. We can verify this by running `bazel cquery //ios/foundations/StringFoundation:StringFoundation --universe_scope=//ios/foundations/StringFoundation:StringFoundation,//ios:AirbnbApp` to make sure only one configuration is showing up. This change requires to have `--experimental_output_directory_naming_scheme=diff_against_baseline` flag set.
- Loading branch information