public final class AppleBuildRules extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AppleBuildRules.RecursiveDependenciesMode |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> |
CORE_DATA_MODEL_DESCRIPTION_CLASSES |
static com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> |
SCENEKIT_ASSETS_DESCRIPTION_CLASSES |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableSet<AppleAssetCatalogDescriptionArg> |
collectDirectAssetCatalogs(TargetGraph targetGraph,
TargetNode<?> targetNode) |
static <T extends ConstructorArg> |
collectRecursiveAssetCatalogs(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
Iterable<TargetNode<T>> targetNodes,
AppleBuildRules.RecursiveDependenciesMode mode,
java.util.function.Predicate<BuildTarget> filter)
Collect recursive asset catalogs
|
static <T extends ConstructorArg> |
collectRecursiveWrapperResources(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
Iterable<TargetNode<T>> targetNodes,
AppleBuildRules.RecursiveDependenciesMode mode)
Collect recursive wrapper resources
|
static <T extends ConstructorArg,V extends TargetNode<T>> |
collectTransitiveBuildRuleTargets(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses,
Collection<TargetNode<?>> targetNodes,
AppleBuildRules.RecursiveDependenciesMode mode)
Collects transitive target nodes of type included in descriptionClasses
|
static <T> com.google.common.collect.ImmutableSet<T> |
collectTransitiveBuildRuleTargetsWithTransform(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses,
Collection<TargetNode<?>> targetNodes,
AppleBuildRules.RecursiveDependenciesMode mode,
java.util.function.Function<TargetNode<?>,T> transform,
java.util.function.Predicate<BuildTarget> filter)
Collect the transitive target node dependencies using some RecursiveDependenciesMode.
|
static <T extends ConstructorArg> |
collectTransitiveBuildTargetArg(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses,
Collection<TargetNode<?>> targetNodes,
AppleBuildRules.RecursiveDependenciesMode mode,
java.util.function.Predicate<BuildTarget> filter) |
static String |
getOutputFileNameFormatForLibrary(boolean isSharedLibrary) |
static com.google.common.collect.ImmutableSet<TargetNode<?>> |
getRecursiveTargetNodeDependenciesOfTypes(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
AppleBuildRules.RecursiveDependenciesMode mode,
TargetNode<?> input,
com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses) |
static com.google.common.collect.ImmutableSet<TargetNode<?>> |
getRecursiveTargetNodeDependenciesOfTypes(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
AppleBuildRules.RecursiveDependenciesMode mode,
TargetNode<?> targetNode,
Optional<com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>>> descriptionClasses) |
static com.google.common.collect.ImmutableSet<TargetNode<?>> |
getRecursiveTargetNodeDependenciesOfTypes(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
AppleBuildRules.RecursiveDependenciesMode mode,
TargetNode<?> targetNode,
java.util.function.Predicate<TargetNode<?>> isDependencyNode,
Optional<AppleCxxPlatform> appleCxxPlatform) |
static com.google.common.collect.ImmutableSet<TargetNode<?>> |
getSchemeBuildableTargetNodes(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
Optional<AppleDependenciesCache> cache,
TargetNode<?> targetNode) |
static boolean |
isXcodeTargetTestBuildRule(BuildRule rule)
Whether the build rule type is a test target.
|
static boolean |
isXcodeTargetTestBundleExtension(AppleBundleExtension extension)
Whether the bundle extension is a test bundle extension.
|
public static final com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> CORE_DATA_MODEL_DESCRIPTION_CLASSES
public static final com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> SCENEKIT_ASSETS_DESCRIPTION_CLASSES
public static boolean isXcodeTargetTestBuildRule(BuildRule rule)
public static boolean isXcodeTargetTestBundleExtension(AppleBundleExtension extension)
public static String getOutputFileNameFormatForLibrary(boolean isSharedLibrary)
public static com.google.common.collect.ImmutableSet<TargetNode<?>> getRecursiveTargetNodeDependenciesOfTypes(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, AppleBuildRules.RecursiveDependenciesMode mode, TargetNode<?> targetNode, Optional<com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>>> descriptionClasses)
public static com.google.common.collect.ImmutableSet<TargetNode<?>> getRecursiveTargetNodeDependenciesOfTypes(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, AppleBuildRules.RecursiveDependenciesMode mode, TargetNode<?> targetNode, java.util.function.Predicate<TargetNode<?>> isDependencyNode, Optional<AppleCxxPlatform> appleCxxPlatform)
public static com.google.common.collect.ImmutableSet<TargetNode<?>> getRecursiveTargetNodeDependenciesOfTypes(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, AppleBuildRules.RecursiveDependenciesMode mode, TargetNode<?> input, com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses)
public static com.google.common.collect.ImmutableSet<TargetNode<?>> getSchemeBuildableTargetNodes(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, TargetNode<?> targetNode)
public static <T extends ConstructorArg> com.google.common.collect.ImmutableSet<AppleAssetCatalogDescriptionArg> collectRecursiveAssetCatalogs(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, Iterable<TargetNode<T>> targetNodes, AppleBuildRules.RecursiveDependenciesMode mode, java.util.function.Predicate<BuildTarget> filter)
public static <T extends ConstructorArg> com.google.common.collect.ImmutableSet<AppleWrapperResourceArg> collectRecursiveWrapperResources(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, Iterable<TargetNode<T>> targetNodes, AppleBuildRules.RecursiveDependenciesMode mode)
public static <T extends ConstructorArg> com.google.common.collect.ImmutableSet<T> collectTransitiveBuildTargetArg(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses, Collection<TargetNode<?>> targetNodes, AppleBuildRules.RecursiveDependenciesMode mode, java.util.function.Predicate<BuildTarget> filter)
public static <T extends ConstructorArg,V extends TargetNode<T>> com.google.common.collect.ImmutableSet<V> collectTransitiveBuildRuleTargets(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses, Collection<TargetNode<?>> targetNodes, AppleBuildRules.RecursiveDependenciesMode mode)
public static <T> com.google.common.collect.ImmutableSet<T> collectTransitiveBuildRuleTargetsWithTransform(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, Optional<AppleDependenciesCache> cache, com.google.common.collect.ImmutableSet<Class<? extends BaseDescription<?>>> descriptionClasses, Collection<TargetNode<?>> targetNodes, AppleBuildRules.RecursiveDependenciesMode mode, java.util.function.Function<TargetNode<?>,T> transform, java.util.function.Predicate<BuildTarget> filter)
public static com.google.common.collect.ImmutableSet<AppleAssetCatalogDescriptionArg> collectDirectAssetCatalogs(TargetGraph targetGraph, TargetNode<?> targetNode)