Class AppleBundleResources

  • All Implemented Interfaces:
    AddsToRuleKey

    public abstract class AppleBundleResources
    extends Object
    implements AddsToRuleKey
    Resources to be bundled into a bundle.
    • Constructor Detail

      • AppleBundleResources

        public AppleBundleResources()
    • Method Detail

      • getResourceDirs

        public abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> getResourceDirs()
        Directories that should be copied into the bundle as directories of files with the same name.
      • getDirsContainingResourceDirs

        public abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> getDirsContainingResourceDirs()
        Directories whose contents should be copied into the root of the resources subdirectory.

        This is useful when the directory contents are not known beforehand, such as when a rule generates a directory of files.

      • getResourceFiles

        public abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> getResourceFiles()
        Files that are copied to the root of the resources subdirectory.
      • getResourceVariantFiles

        public abstract com.google.common.collect.ImmutableSet<SourcePath> getResourceVariantFiles()
        Resource files with localization variants.
      • getAll

        public Iterable<SourcePath> getAll()
        Returns all the SourcePaths from the different types of resources.