@FunctionalInterface public static interface CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction
CxxPreprocessorInput
s are found. Since not all Description
s which use CxxLibraryDescription
generate a 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 |
---|---|
java.util.stream.Stream<CxxPreprocessorInput> |
apply(BuildTarget target,
ActionGraphBuilder graphBuilder,
CxxPlatform cxxPlatform,
com.google.common.collect.ImmutableSet<BuildRule> deps,
CxxDeps privateDeps) |
static CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction |
fromDeps()
Retrieve the transitive
CxxPreprocessorInput from an explicitly specified deps list. |
static CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction |
fromLibraryRule()
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()
CxxPreprocessorInput
from an explicitly specified deps list.
This is used by AppleTest, which doesn't generate a CxxLibrary rule that computes this.