Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: `platform_*` attrs in cxx rules are matched against both the current toolchain's `CxxPlatformInfo` provider `name` and anything in `deps_aliases`. This diff pipes `platform_deps_aliases` from the `cxx_toolchain` macro down to the function that creates the underlying provider, just like how `platform_name` is passed. This enables a cxx toolchain (such as D67764044) to add these aliases. Best I could find in the way of documentation for this > platform_preprocessor_flags: Platform specific preprocessor flags. These > should be specified as a list of pairs where the first element is an > un-anchored regex (in java.util.regex.Pattern syntax) against which the > platform name is matched, and the second element is a list of flags to use > when preprocessing the target's sources. See preprocessor_flags for more > information. Reviewed By: athmasagar Differential Revision: D68285192 fbshipit-source-id: 1e3ea5fba3aee68addd0cc9c66a2f14b7aa12f34
- Loading branch information