public class UnsortedAndroidResourceDeps extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
UnsortedAndroidResourceDeps.Callback |
Constructor and Description |
---|
UnsortedAndroidResourceDeps(com.google.common.collect.ImmutableSet<HasAndroidResourceDeps> resourceDeps) |
Modifier and Type | Method and Description |
---|---|
static UnsortedAndroidResourceDeps |
createFrom(Collection<BuildRule> rules,
Optional<UnsortedAndroidResourceDeps.Callback> callback)
Returns transitive android resource deps which are _not_ sorted topologically, only to be used
when the order of the resource rules does not matter, for instance, when graph enhancing
UberRDotJava, DummyRDotJava, AaptPackageResources where we only need the deps to correctly
order the execution of those buildables.
|
com.google.common.collect.ImmutableSet<HasAndroidResourceDeps> |
getResourceDeps() |
public UnsortedAndroidResourceDeps(com.google.common.collect.ImmutableSet<HasAndroidResourceDeps> resourceDeps)
public com.google.common.collect.ImmutableSet<HasAndroidResourceDeps> getResourceDeps()
public static UnsortedAndroidResourceDeps createFrom(Collection<BuildRule> rules, Optional<UnsortedAndroidResourceDeps.Callback> callback)