@FunctionalInterface public static interface CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction
CxxPreprocessorInputs are found. Since not all
Descriptions which use
CxxLibrary, blinding attempting to require it will not work.
Therefore for those other rules, we create the list from scratch.
|Modifier and Type||Method and Description|
Retrieve the transitive
Retrieve the transitive CxxPreprocessorInput from the CxxLibrary rule.
java.util.stream.Stream<CxxPreprocessorInput> apply(BuildTarget target, ActionGraphBuilder graphBuilder, CxxPlatform cxxPlatform, com.google.common.collect.ImmutableSet<BuildRule> deps, CxxDeps privateDeps)
static CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction fromLibraryRule()
This is used by CxxLibrary and AppleLibrary. Rules that do not generate a CxxLibrary rule (namely AppleTest) cannot use this.
static CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction fromDeps()
CxxPreprocessorInputfrom an explicitly specified deps list.
This is used by AppleTest, which doesn't generate a CxxLibrary rule that computes this.