Class AndroidPackageableCollection.ResourceDetails
- java.lang.Object
-
- com.facebook.buck.android.packageable.AndroidPackageableCollection.ResourceDetails
-
- Enclosing interface:
- AndroidPackageableCollection
public abstract static class AndroidPackageableCollection.ResourceDetails extends Object
-
-
Constructor Summary
Constructors Constructor Description ResourceDetails()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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()
UnlikegetResourcesWithNonEmptyResDir()
, these resources only contain "assets".abstract com.google.common.collect.ImmutableList<BuildTarget>
getResourcesWithNonEmptyResDir()
A list of build targets belonging toAndroidResource
s 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()
-
-
-
Method Detail
-
getResourceDirectories
public 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.
-
getWhitelistedStringDirectories
public abstract com.google.common.collect.ImmutableSet<SourcePath> getWhitelistedStringDirectories()
A set of "res" directories that contain "whitelisted" strings, i.e. the strings-as-assets resource filter does not affect these directories.
-
getResourcesWithNonEmptyResDir
public abstract com.google.common.collect.ImmutableList<BuildTarget> getResourcesWithNonEmptyResDir()
A list of build targets belonging toAndroidResource
s with non-empty "res" directory, sorted topologically. Note that these areBuildTarget
s to avoid introducing a circular dependency.
-
getResourcesWithEmptyResButNonEmptyAssetsDir
public abstract Set<BuildTarget> getResourcesWithEmptyResButNonEmptyAssetsDir()
UnlikegetResourcesWithNonEmptyResDir()
, these resources only contain "assets".
-
hasResources
@Derived public boolean hasResources()
-
-