@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class CxxLibraryDescriptionArg extends Object
CxxLibraryDescription.AbstractCxxLibraryDescriptionArg.
Use the builder to create immutable instances:
CxxLibraryDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
CxxLibraryDescriptionArg.Builder
Builds instances of type
CxxLibraryDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static CxxLibraryDescriptionArg.Builder |
builder()
Creates a builder for
CxxLibraryDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
CxxLibraryDescriptionArg that have equal attribute values. |
Optional<SourcePath> |
getBridgingHeader()
These fields are passed through to SwiftLibrary for mixed C/Swift targets; they are not used
otherwise.
|
Optional<Boolean> |
getCanBeAsset() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableList<StringWithMacros> |
getCompilerFlags() |
CxxDeps |
getCxxDeps()
Override parent class's deps to include exported deps.
|
Optional<Linker.CxxRuntimeType> |
getCxxRuntimeType() |
com.google.common.collect.ImmutableSortedSet<Flavor> |
getDefaultFlavors() |
Optional<Flavor> |
getDefaultPlatform() |
com.google.common.collect.ImmutableMap<String,Flavor> |
getDefaults() |
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.
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getDeps() |
Optional<String> |
getExecutableName() |
CxxDeps |
getExportedCxxDeps() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedDeps() |
SourceSortedSet |
getExportedHeaders() |
CxxPreprocessables.IncludeType |
getExportedHeaderStyle() |
com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> |
getExportedLangPlatformPreprocessorFlags() |
com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> |
getExportedLangPreprocessorFlags() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getExportedLinkerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getExportedPlatformDeps() |
PatternMatchedCollection<SourceSortedSet> |
getExportedPlatformHeaders() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getExportedPlatformLinkerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getExportedPlatformPreprocessorFlags() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getExportedPostLinkerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getExportedPostPlatformLinkerFlags() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getExportedPreprocessorFlags() |
com.google.common.collect.ImmutableList<SourcePath> |
getExtraXcodeFiles()
extra_xcode_sources will add the files to the list of files in the project and won't add them
to an Xcode target.
|
com.google.common.collect.ImmutableList<SourcePath> |
getExtraXcodeSources()
extra_xcode_sources will add the files to the list of files to be compiled in the Xcode
target.
|
boolean |
getFatLto() |
Optional<Boolean> |
getForceStatic() |
com.google.common.collect.ImmutableSortedSet<FrameworkPath> |
getFrameworks() |
Optional<String> |
getHeaderNamespace() |
SourceSortedSet |
getHeaders() |
com.google.common.collect.ImmutableSortedSet<String> |
getIncludeDirectories()
A list of include directories to be added to the compile command for compiling this cxx target.
|
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> |
getLangCompilerFlags() |
com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> |
getLangPlatformCompilerFlags() |
com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> |
getLangPlatformPreprocessorFlags() |
com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> |
getLangPreprocessorFlags() |
com.google.common.collect.ImmutableSortedSet<FrameworkPath> |
getLibraries() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<String> |
getLinkerExtraOutputs() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
Optional<String> |
getLinkGroup()
Defines the link group.
|
Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> |
getLinkGroupMap()
Defines the list of link group mappings.
|
Optional<Linker.LinkableDepType> |
getLinkStyle() |
Optional<Boolean> |
getLinkWhole() |
Optional<String> |
getModuleName() |
String |
getName()
Each rule has a name
|
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformCompilerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
PatternMatchedCollection<SourceSortedSet> |
getPlatformHeaders() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformLinkerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformPreprocessorFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> |
getPlatformSrcs() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getPostLinkerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPostPlatformLinkerFlags() |
Optional<SourcePath> |
getPrecompiledHeader() |
Optional<NativeLinkableGroup.Linkage> |
getPreferredLinkage() |
Optional<SourcePath> |
getPrefixHeader() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getPreprocessorFlags() |
CxxDeps |
getPrivateCxxDeps() |
com.google.common.collect.ImmutableSortedSet<String> |
getPublicIncludeDirectories()
A list of include directories to be added to the compile command for compiling this cxx
target and every target that depends on it.
|
com.google.common.collect.ImmutableSortedSet<String> |
getPublicSystemIncludeDirectories()
A list of include directories to be added to the compile command for compiling this cxx
target and every target that depends on it.
|
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getRawHeaders()
Raw headers are headers which are used as they are (via compilation flags).
|
Optional<String> |
getSoname() |
com.google.common.collect.ImmutableSortedSet<SourceWithFlags> |
getSrcs() |
Optional<String> |
getStaticLibraryBasename() |
Optional<Pattern> |
getSupportedPlatformsRegex() |
Optional<Boolean> |
getSupportsMergedLinking() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
boolean |
getThinLto() |
Optional<Boolean> |
getXcodePrivateHeadersSymlinks() |
Optional<Boolean> |
getXcodePublicHeadersSymlinks() |
int |
hashCode()
Computes a hash code from attributes:
exportedHeaders, exportedPlatformHeaders, exportedPreprocessorFlags, exportedPlatformPreprocessorFlags, exportedLangPreprocessorFlags, exportedLangPlatformPreprocessorFlags, exportedLinkerFlags, exportedPostLinkerFlags, exportedPlatformLinkerFlags, exportedPostPlatformLinkerFlags, exportedDeps, exportedPlatformDeps, supportedPlatformsRegex, soname, staticLibraryBasename, forceStatic, linkWhole, canBeAsset, preferredLinkage, xcodePublicHeadersSymlinks, xcodePrivateHeadersSymlinks, extraXcodeSources, extraXcodeFiles, reexportAllHeaderDependencies, bridgingHeader, moduleName, publicIncludeDirectories, publicSystemIncludeDirectories, exportedCxxDeps, cxxDeps, exportedHeaderStyle, supportsMergedLinking, linkStyle, linkGroupMap, linkGroup, thinLto, fatLto, srcs, platformSrcs, headers, rawHeaders, includeDirectories, platformHeaders, prefixHeader, precompiledHeader, compilerFlags, langCompilerFlags, langPlatformCompilerFlags, platformCompilerFlags, preprocessorFlags, platformPreprocessorFlags, langPreprocessorFlags, langPlatformPreprocessorFlags, linkerFlags, postLinkerFlags, linkerExtraOutputs, platformLinkerFlags, executableName, postPlatformLinkerFlags, platformDeps, headerNamespace, cxxRuntimeType, defaults, defaultFlavors, privateCxxDeps, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps, defaultPlatform, tests, frameworks, libraries. |
Optional<Boolean> |
isReexportAllHeaderDependencies()
Controls whether the headers of dependencies in "deps" is re-exported for compiling targets
that depend on this one.
|
String |
toString()
Prints the immutable value
CxxLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckHeadersUsagecheckDuplicateSourceslabelsContainsAnyOfpublic SourceSortedSet getExportedHeaders()
exportedHeaders attributepublic PatternMatchedCollection<SourceSortedSet> getExportedPlatformHeaders()
exportedPlatformHeaders attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getExportedPreprocessorFlags()
exportedPreprocessorFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getExportedPlatformPreprocessorFlags()
exportedPlatformPreprocessorFlags attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getExportedLangPreprocessorFlags()
exportedLangPreprocessorFlags attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getExportedLangPlatformPreprocessorFlags()
exportedLangPlatformPreprocessorFlags attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getExportedLinkerFlags()
exportedLinkerFlags attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getExportedPostLinkerFlags()
exportedPostLinkerFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getExportedPlatformLinkerFlags()
exportedPlatformLinkerFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getExportedPostPlatformLinkerFlags()
exportedPostPlatformLinkerFlags attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedDeps()
exportedDeps attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getExportedPlatformDeps()
exportedPlatformDeps attributepublic Optional<Pattern> getSupportedPlatformsRegex()
supportedPlatformsRegex attributepublic Optional<String> getStaticLibraryBasename()
staticLibraryBasename attributepublic Optional<Boolean> getForceStatic()
forceStatic attributepublic Optional<Boolean> getCanBeAsset()
canBeAsset attributepublic Optional<NativeLinkableGroup.Linkage> getPreferredLinkage()
preferredLinkage attributepublic Optional<Boolean> getXcodePublicHeadersSymlinks()
xcodePublicHeadersSymlinks attributepublic Optional<Boolean> getXcodePrivateHeadersSymlinks()
xcodePrivateHeadersSymlinks attributepublic com.google.common.collect.ImmutableList<SourcePath> getExtraXcodeSources()
public com.google.common.collect.ImmutableList<SourcePath> getExtraXcodeFiles()
public Optional<Boolean> isReexportAllHeaderDependencies()
public Optional<SourcePath> getBridgingHeader()
public Optional<String> getModuleName()
moduleName attributepublic com.google.common.collect.ImmutableSortedSet<String> getPublicIncludeDirectories()
public com.google.common.collect.ImmutableSortedSet<String> getPublicSystemIncludeDirectories()
public CxxDeps getExportedCxxDeps()
public CxxDeps getCxxDeps()
public CxxPreprocessables.IncludeType getExportedHeaderStyle()
public Optional<Boolean> getSupportsMergedLinking()
supportsMergedLinking attributepublic Optional<Linker.LinkableDepType> getLinkStyle()
linkStyle attributepublic Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> getLinkGroupMap()
public Optional<String> getLinkGroup()
public boolean getThinLto()
thinLto attributepublic boolean getFatLto()
fatLto attributepublic com.google.common.collect.ImmutableSortedSet<SourceWithFlags> getSrcs()
srcs attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> getPlatformSrcs()
platformSrcs attributepublic SourceSortedSet getHeaders()
headers attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getRawHeaders()
public com.google.common.collect.ImmutableSortedSet<String> getIncludeDirectories()
public PatternMatchedCollection<SourceSortedSet> getPlatformHeaders()
platformHeaders attributepublic Optional<SourcePath> getPrefixHeader()
prefixHeader attributepublic Optional<SourcePath> getPrecompiledHeader()
precompiledHeader attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
compilerFlags attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getLangCompilerFlags()
langCompilerFlags attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getLangPlatformCompilerFlags()
langPlatformCompilerFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformCompilerFlags()
platformCompilerFlags attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPreprocessorFlags()
preprocessorFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformPreprocessorFlags()
platformPreprocessorFlags attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getLangPreprocessorFlags()
langPreprocessorFlags attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getLangPlatformPreprocessorFlags()
langPlatformPreprocessorFlags attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPostLinkerFlags()
postLinkerFlags attributepublic com.google.common.collect.ImmutableList<String> getLinkerExtraOutputs()
linkerExtraOutputs attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformLinkerFlags()
platformLinkerFlags attributepublic Optional<String> getExecutableName()
executableName attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPostPlatformLinkerFlags()
postPlatformLinkerFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps attributepublic Optional<String> getHeaderNamespace()
headerNamespace attributepublic Optional<Linker.CxxRuntimeType> getCxxRuntimeType()
cxxRuntimeType attributepublic com.google.common.collect.ImmutableMap<String,Flavor> getDefaults()
defaults attributepublic com.google.common.collect.ImmutableSortedSet<Flavor> getDefaultFlavors()
defaultFlavors attributepublic CxxDeps getPrivateCxxDeps()
public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
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.
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
config_setting a target is compatible with.public String getName()
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic Optional<Flavor> getDefaultPlatform()
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
public com.google.common.collect.ImmutableSortedSet<FrameworkPath> getFrameworks()
frameworks attributepublic com.google.common.collect.ImmutableSortedSet<FrameworkPath> getLibraries()
libraries attributepublic boolean equals(@Nullable Object another)
CxxLibraryDescriptionArg that have equal attribute values.public int hashCode()
exportedHeaders, exportedPlatformHeaders, exportedPreprocessorFlags, exportedPlatformPreprocessorFlags, exportedLangPreprocessorFlags, exportedLangPlatformPreprocessorFlags, exportedLinkerFlags, exportedPostLinkerFlags, exportedPlatformLinkerFlags, exportedPostPlatformLinkerFlags, exportedDeps, exportedPlatformDeps, supportedPlatformsRegex, soname, staticLibraryBasename, forceStatic, linkWhole, canBeAsset, preferredLinkage, xcodePublicHeadersSymlinks, xcodePrivateHeadersSymlinks, extraXcodeSources, extraXcodeFiles, reexportAllHeaderDependencies, bridgingHeader, moduleName, publicIncludeDirectories, publicSystemIncludeDirectories, exportedCxxDeps, cxxDeps, exportedHeaderStyle, supportsMergedLinking, linkStyle, linkGroupMap, linkGroup, thinLto, fatLto, srcs, platformSrcs, headers, rawHeaders, includeDirectories, platformHeaders, prefixHeader, precompiledHeader, compilerFlags, langCompilerFlags, langPlatformCompilerFlags, platformCompilerFlags, preprocessorFlags, platformPreprocessorFlags, langPreprocessorFlags, langPlatformPreprocessorFlags, linkerFlags, postLinkerFlags, linkerExtraOutputs, platformLinkerFlags, executableName, postPlatformLinkerFlags, platformDeps, headerNamespace, cxxRuntimeType, defaults, defaultFlavors, privateCxxDeps, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps, defaultPlatform, tests, frameworks, libraries.public String toString()
CxxLibraryDescriptionArg with attribute values.public static CxxLibraryDescriptionArg.Builder builder()
CxxLibraryDescriptionArg.