public abstract static class AndroidPackageableCollection.ResourceDetails extends Object
| Constructor and Description |
|---|
ResourceDetails() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.collect.ImmutableList<SourcePath> |
getResourceDirectories()
A list of "res" directories that should be passed to the aapt command to build the APK,
sorted topologically.
|
abstract Set<BuildTarget> |
getResourcesWithEmptyResButNonEmptyAssetsDir()
Unlike
getResourcesWithNonEmptyResDir(), these resources only contain "assets". |
abstract com.google.common.collect.ImmutableList<BuildTarget> |
getResourcesWithNonEmptyResDir()
A list of build targets belonging to
AndroidResources with
non-empty "res" directory, sorted topologically. |
abstract com.google.common.collect.ImmutableSet<SourcePath> |
getWhitelistedStringDirectories()
A set of "res" directories that contain "whitelisted" strings, i.e.
|
boolean |
hasResources() |
public abstract com.google.common.collect.ImmutableList<SourcePath> getResourceDirectories()
public abstract com.google.common.collect.ImmutableSet<SourcePath> getWhitelistedStringDirectories()
public abstract com.google.common.collect.ImmutableList<BuildTarget> getResourcesWithNonEmptyResDir()
AndroidResources with
non-empty "res" directory, sorted topologically. Note that these are BuildTargets to
avoid introducing a circular dependency.public abstract Set<BuildTarget> getResourcesWithEmptyResButNonEmptyAssetsDir()
getResourcesWithNonEmptyResDir(), these resources only contain "assets".@Value.Derived public boolean hasResources()