public class ConstraintBasedAndroidPackageableFilter extends Object implements AndroidPackageableFilter
A non-native target is selected if its configuration matches the given non-native configuration.
A native targets are selected if its platform matches at least one set of constraint values.
Constructor and Description |
---|
ConstraintBasedAndroidPackageableFilter(TargetConfiguration nonNativeConfiguration) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExcludeNonNativeTarget(BuildTarget buildTarget)
Encapsulates the filtering logic of non-native targets (java libraries, resources, etc.)
|
public ConstraintBasedAndroidPackageableFilter(TargetConfiguration nonNativeConfiguration)
public boolean shouldExcludeNonNativeTarget(BuildTarget buildTarget)
AndroidPackageableFilter
shouldExcludeNonNativeTarget
in interface AndroidPackageableFilter
true
if the given target (that represents a target with non-native code, like
java library or resources) should be excluded from the collection.