Class AppleBundle

    • Method Detail

      • getExtension

        public String getExtension()
      • getInfoPlistPath

        public Path getInfoPlistPath()
      • getUnzippedOutputFilePathToBinary

        public Path getUnzippedOutputFilePathToBinary()
      • getPlatformName

        public String getPlatformName()
      • isLegacyWatchApp

        public boolean isLegacyWatchApp()
      • addSwiftStdlibStepIfNeeded

        public void addSwiftStdlibStepIfNeeded​(SourcePathResolverAdapter resolver,
                                               Path destinationPath,
                                               Optional<java.util.function.Supplier<CodeSignIdentity>> codeSignIdentitySupplier,
                                     <Step> stepsBuilder,
                                               boolean isForPackaging)
        A wrapper around AppleResourceProcessing.addSwiftStdlibStepIfNeeded
      • withDefaults

        public static<String,​String> withDefaults​(<String,​String> map,
                                                                                     <String,​String> defaults)
      • getIsAppClip

        public Boolean getIsAppClip()
      • isCacheable

        public boolean isCacheable()
        Description copied from interface: BuildRule
        Whether this BuildRule can be cached.

        Uncached build rules are never written out to cache, never read from cache, and does not count in cache statistics. This rule is useful for artifacts which cannot be easily normalized.

        Uncached rules are not always rebuilt, however, as long as the existing on-disk representation is up to date. This means that these rules can take advantage of SupportsInputBasedRuleKey to prevent rebuilding.

        Specified by:
        isCacheable in interface BuildEngineAction
        Specified by:
        isCacheable in interface BuildRule
        isCacheable in class AbstractBuildRule
      • getBuildDeps

        public SortedSet<BuildRule> getBuildDeps()
        Specified by:
        getBuildDeps in interface BuildRule
        the set of rules that must be built before this rule. Normally, this matches the value of the deps argument for this build rule in the build file in which it was defined.

        However, there are special cases where other arguments pull in implicit dependencies (e.g., the keystore argument in android_binary). In these cases, the implicit dependencies are also included in the set returned by this method. The value of the original deps argument, as defined in the build file, must be accessed via a custom getter provided by the build rule.

      • updateBuildRuleResolver

        public void updateBuildRuleResolver​(BuildRuleResolver ruleResolver)
        Description copied from interface: BuildRule
        Updates the BuildRuleResolver and associated objects for this build rule.

        Build rules sometimes hold field references to build rule resolvers. If this build rule is to be cached, it must update its BuildRuleResolver when a new action graph is constructed to avoid leaking the entire action graph it was originally associated with.

        Specified by:
        updateBuildRuleResolver in interface BuildRule
        updateBuildRuleResolver in class AbstractBuildRule