Class PrebuiltCxxLibraryDescriptionArg

    • Method Detail

      • getHeaderDirs

        public Optional<com.google.common.collect.ImmutableList<SourcePath>> getHeaderDirs()
        Returns:
        The value of the headerDirs attribute
      • getImportLib

        public Optional<SourcePath> getImportLib()
        Returns:
        The value of the importLib attribute
      • getSharedLib

        public Optional<SourcePath> getSharedLib()
        Returns:
        The value of the sharedLib attribute
      • getStaticLib

        public Optional<SourcePath> getStaticLib()
        Returns:
        The value of the staticLib attribute
      • getStaticPicLib

        public Optional<SourcePath> getStaticPicLib()
        Returns:
        The value of the staticPicLib attribute
      • isHeaderOnly

        public boolean isHeaderOnly()
        Returns:
        The value of the headerOnly attribute
      • getExportedHeaders

        public SourceSortedSet getExportedHeaders()
        Returns:
        The value of the exportedHeaders attribute
      • getHeaderNamespace

        public Optional<String> getHeaderNamespace()
        Returns:
        The value of the headerNamespace attribute
      • isProvided

        public boolean isProvided()
        Returns:
        The value of the provided attribute
      • isLinkWhole

        public boolean isLinkWhole()
        Returns:
        The value of the linkWhole attribute
      • isForceStatic

        public boolean isForceStatic()
        Returns:
        The value of the forceStatic attribute
      • getExportedPreprocessorFlags

        public com.google.common.collect.ImmutableList<StringWithMacros> getExportedPreprocessorFlags()
        Returns:
        The value of the exportedPreprocessorFlags attribute
      • getExportedPlatformPreprocessorFlags

        public PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getExportedPlatformPreprocessorFlags()
        Returns:
        The value of the exportedPlatformPreprocessorFlags attribute
      • getExportedLangPreprocessorFlags

        public com.google.common.collect.ImmutableMap<CxxSource.Type,​com.google.common.collect.ImmutableList<StringWithMacros>> getExportedLangPreprocessorFlags()
        Returns:
        The value of the exportedLangPreprocessorFlags attribute
      • getExportedLangPlatformPreprocessorFlags

        public com.google.common.collect.ImmutableMap<CxxSource.Type,​PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getExportedLangPlatformPreprocessorFlags()
        Returns:
        The value of the exportedLangPlatformPreprocessorFlags attribute
      • getVersionedExportedPreprocessorFlags

        public VersionMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getVersionedExportedPreprocessorFlags()
        Returns:
        The value of the versionedExportedPreprocessorFlags attribute
      • getVersionedExportedLangPreprocessorFlags

        public VersionMatchedCollection<com.google.common.collect.ImmutableMap<CxxSource.Type,​com.google.common.collect.ImmutableList<StringWithMacros>>> getVersionedExportedLangPreprocessorFlags()
        Returns:
        The value of the versionedExportedLangPreprocessorFlags attribute
      • getExportedLinkerFlags

        public com.google.common.collect.ImmutableList<StringWithMacros> getExportedLinkerFlags()
        Returns:
        The value of the exportedLinkerFlags attribute
      • getExportedPostLinkerFlags

        public com.google.common.collect.ImmutableList<String> getExportedPostLinkerFlags()
        Returns:
        The value of the exportedPostLinkerFlags attribute
      • getExportedPlatformLinkerFlags

        public PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getExportedPlatformLinkerFlags()
        Returns:
        The value of the exportedPlatformLinkerFlags attribute
      • getExportedPostPlatformLinkerFlags

        public PatternMatchedCollection<com.google.common.collect.ImmutableList<String>> getExportedPostPlatformLinkerFlags()
        Returns:
        The value of the exportedPostPlatformLinkerFlags attribute
      • getSoname

        public Optional<String> getSoname()
        Returns:
        The value of the soname attribute
      • getLinkWithoutSoname

        public boolean getLinkWithoutSoname()
        Returns:
        The value of the linkWithoutSoname attribute
      • getCanBeAsset

        public boolean getCanBeAsset()
        Returns:
        The value of the canBeAsset attribute
      • getFrameworks

        public com.google.common.collect.ImmutableSortedSet<FrameworkPath> getFrameworks()
        Returns:
        The value of the frameworks attribute
      • getLibraries

        public com.google.common.collect.ImmutableSortedSet<FrameworkPath> getLibraries()
        Returns:
        The value of the libraries attribute
      • getExportedDeps

        public com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedDeps()
        Returns:
        The value of the exportedDeps attribute
      • getExportedPlatformDeps

        public PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getExportedPlatformDeps()
        Returns:
        The value of the exportedPlatformDeps attribute
      • getSupportedPlatformsRegex

        public Optional<Pattern> getSupportedPlatformsRegex()
        Returns:
        The value of the supportedPlatformsRegex attribute
      • isSupportsSharedLibraryInterface

        public boolean isSupportsSharedLibraryInterface()
        Returns:
        The value of the supportsSharedLibraryInterface attribute
      • getSupportsMergedLinking

        public Optional<Boolean> getSupportsMergedLinking()
        Returns:
        The value of the supportsMergedLinking attribute
      • getPrivateCxxDeps

        public CxxDeps getPrivateCxxDeps()
        Returns:
        C/C++ deps which are *not* propagated to dependents.
      • getExportedCxxDeps

        public CxxDeps getExportedCxxDeps()
        Returns:
        C/C++ deps which are propagated to dependents.
      • getCxxDeps

        public CxxDeps getCxxDeps()
        Returns:
        the C/C++ deps this rule builds against.
      • getLicenses

        public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
        Specified by:
        getLicenses in interface BuildRuleArg
        Returns:
        The value of the licenses attribute
      • getLabels

        public com.google.common.collect.ImmutableSortedSet<String> getLabels()
        Specified by:
        getLabels in interface BuildRuleArg
        Returns:
        The value of the labels attribute
      • getDefaultTargetPlatform

        public Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
        The name of build target default "new" platform: it is used when a platform is not specified either globally or in a target which used this target as a dependency.

        The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.

        Specified by:
        getDefaultTargetPlatform in interface BuildRuleArg
      • getDeps

        public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
        Specified by:
        getDeps in interface HasDeclaredDeps
        Returns:
        The value of the deps attribute
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of PrebuiltCxxLibraryDescriptionArg that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: headerDirs, platformHeaderDirs, versionedHeaderDirs, importLib, platformImportLib, versionedImportLib, sharedLib, platformSharedLib, versionedSharedLib, staticLib, platformStaticLib, versionedStaticLib, staticPicLib, platformStaticPicLib, versionedStaticPicLib, headerOnly, exportedHeaders, exportedPlatformHeaders, headerNamespace, provided, linkWhole, forceStatic, preferredLinkage, exportedPreprocessorFlags, exportedPlatformPreprocessorFlags, exportedLangPreprocessorFlags, exportedLangPlatformPreprocessorFlags, versionedExportedPreprocessorFlags, versionedExportedPlatformPreprocessorFlags, versionedExportedLangPreprocessorFlags, versionedExportedLangPlatformPreprocessorFlags, exportedLinkerFlags, exportedPostLinkerFlags, exportedPlatformLinkerFlags, exportedPostPlatformLinkerFlags, soname, linkWithoutSoname, canBeAsset, frameworks, libraries, exportedDeps, exportedPlatformDeps, supportedPlatformsRegex, supportsSharedLibraryInterface, supportsMergedLinking, privateCxxDeps, exportedCxxDeps, cxxDeps, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value PrebuiltCxxLibraryDescriptionArg with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value