public class AppleResources extends Object
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<TargetNode<?>> |
IS_APPLE_BUNDLE_RESOURCE_NODE |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableSet<AppleResourceDescriptionArg> |
collectDirectResources(TargetGraph targetGraph,
TargetNode<?> targetNode) |
static com.google.common.collect.ImmutableSet<AppleResourceDescriptionArg> |
collectRecursiveResources(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
TargetNode<?> targetNode,
AppleBuildRules.RecursiveDependenciesMode mode)
Collect resources from recursive dependencies.
|
static <T extends ConstructorArg> |
collectResourceDirsAndFiles(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
BuildRuleResolver resolver,
Optional<AppleDependenciesCache> cache,
TargetNode<T> targetNode,
AppleCxxPlatform appleCxxPlatform,
AppleBuildRules.RecursiveDependenciesMode mode,
java.util.function.Predicate<BuildTarget> filter)
Collect resource dirs and files
|
public static final java.util.function.Predicate<TargetNode<?>> IS_APPLE_BUNDLE_RESOURCE_NODE
public static com.google.common.collect.ImmutableSet<AppleResourceDescriptionArg> collectRecursiveResources(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, TargetNode<?> targetNode, AppleBuildRules.RecursiveDependenciesMode mode)
targetGraph
- The TargetGraph
containing the node and its dependencies.targetNode
- TargetNode
at the tip of the traversal.public static <T extends ConstructorArg> AppleBundleResources collectResourceDirsAndFiles(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, BuildRuleResolver resolver, Optional<AppleDependenciesCache> cache, TargetNode<T> targetNode, AppleCxxPlatform appleCxxPlatform, AppleBuildRules.RecursiveDependenciesMode mode, java.util.function.Predicate<BuildTarget> filter)
public static com.google.common.collect.ImmutableSet<AppleResourceDescriptionArg> collectDirectResources(TargetGraph targetGraph, TargetNode<?> targetNode)