@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class CxxBinaryDescriptionArg extends Object
CxxBinaryDescription.AbstractCxxBinaryDescriptionArg
.
Use the builder to create immutable instances:
CxxBinaryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
CxxBinaryDescriptionArg.Builder
Builds instances of type
CxxBinaryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static CxxBinaryDescriptionArg.Builder |
builder()
Creates a builder for
CxxBinaryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
CxxBinaryDescriptionArg that have equal attribute values. |
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() |
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<Query> |
getDepsQuery() |
Optional<String> |
getExecutableName() |
boolean |
getFatLto() |
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() |
boolean |
getLinkDepsQueryWhole() |
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() |
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<SourcePath> |
getPrefixHeader() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getPreprocessorFlags() |
CxxDeps |
getPrivateCxxDeps() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getRawHeaders()
Raw headers are headers which are used as they are (via compilation flags).
|
com.google.common.collect.ImmutableSortedSet<SourceWithFlags> |
getSrcs() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
boolean |
getThinLto() |
Optional<String> |
getVersionUniverse() |
int |
hashCode()
Computes a hash code from attributes:
linkDepsQueryWhole , 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 , cxxDeps , privateCxxDeps , licenses , labels , defaultTargetPlatform , compatibleWith , name , deps , defaultPlatform , tests , frameworks , libraries , versionUniverse , depsQuery . |
String |
toString()
Prints the immutable value
CxxBinaryDescriptionArg with attribute values. |
default CxxBinaryDescriptionArg |
withDepsQuery(Query query) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkDuplicateSources, checkHeadersUsage
labelsContainsAnyOf
public boolean getLinkDepsQueryWhole()
linkDepsQueryWhole
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 getCxxDeps()
public 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 Optional<String> getVersionUniverse()
versionUniverse
attributepublic boolean equals(@Nullable Object another)
CxxBinaryDescriptionArg
that have equal attribute values.public int hashCode()
linkDepsQueryWhole
, 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
, cxxDeps
, privateCxxDeps
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, deps
, defaultPlatform
, tests
, frameworks
, libraries
, versionUniverse
, depsQuery
.public String toString()
CxxBinaryDescriptionArg
with attribute values.public static CxxBinaryDescriptionArg.Builder builder()
CxxBinaryDescriptionArg
.public CxxBinaryDescriptionArg withDepsQuery(Query query)
withDepsQuery
in interface HasDepsQuery