@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class CgoLibraryDescriptionArg extends Object
CgoLibraryDescription.AbstractCgoLibraryDescriptionArg
.
Use the builder to create immutable instances:
CgoLibraryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
CgoLibraryDescriptionArg.Builder
Builds instances of type
CgoLibraryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static CgoLibraryDescriptionArg.Builder |
builder()
Creates a builder for
CgoLibraryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
CgoLibraryDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<String> |
getCgoCompilerFlags() |
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() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedDeps() |
boolean |
getFatLto() |
com.google.common.collect.ImmutableSortedSet<FrameworkPath> |
getFrameworks() |
com.google.common.collect.ImmutableList<String> |
getGoAssemblerFlags() |
com.google.common.collect.ImmutableList<String> |
getGoCompilerFlags() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getGoSrcs() |
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
|
Optional<String> |
getPackageName() |
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:
cgoCompilerFlags , goCompilerFlags , goAssemblerFlags , packageName , goSrcs , exportedDeps , compilerFlags , linkDepsQueryWhole , fatLto , linkGroup , linkGroupMap , linkStyle , thinLto , cxxDeps , cxxRuntimeType , defaultFlavors , defaults , executableName , headerNamespace , headers , includeDirectories , langCompilerFlags , langPlatformCompilerFlags , langPlatformPreprocessorFlags , langPreprocessorFlags , linkerExtraOutputs , linkerFlags , platformCompilerFlags , platformDeps , platformHeaders , platformLinkerFlags , platformPreprocessorFlags , platformSrcs , postLinkerFlags , postPlatformLinkerFlags , precompiledHeader , prefixHeader , preprocessorFlags , privateCxxDeps , rawHeaders , srcs , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps , defaultPlatform , tests , frameworks , libraries , versionUniverse , depsQuery . |
String |
toString()
Prints the immutable value
CgoLibraryDescriptionArg with attribute values. |
default CgoLibraryDescriptionArg |
withDepsQuery(Query query) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkDuplicateSources, checkHeadersUsage
labelsContainsAnyOf
public com.google.common.collect.ImmutableList<String> getCgoCompilerFlags()
cgoCompilerFlags
attributepublic com.google.common.collect.ImmutableList<String> getGoCompilerFlags()
goCompilerFlags
attributepublic com.google.common.collect.ImmutableList<String> getGoAssemblerFlags()
goAssemblerFlags
attributepublic Optional<String> getPackageName()
packageName
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getGoSrcs()
goSrcs
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedDeps()
exportedDeps
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
compilerFlags
attributepublic boolean getLinkDepsQueryWhole()
linkDepsQueryWhole
attributepublic boolean getFatLto()
fatLto
attributepublic Optional<String> getLinkGroup()
LinkableCxxConstructorArg
linkGroup
attributepublic Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> getLinkGroupMap()
LinkableCxxConstructorArg
linkGroupMap
attributepublic Optional<Linker.LinkableDepType> getLinkStyle()
linkStyle
attributepublic boolean getThinLto()
thinLto
attributepublic CxxDeps getCxxDeps()
cxxDeps
attributepublic Optional<Linker.CxxRuntimeType> getCxxRuntimeType()
cxxRuntimeType
attributepublic com.google.common.collect.ImmutableSortedSet<Flavor> getDefaultFlavors()
defaultFlavors
attributepublic com.google.common.collect.ImmutableMap<String,Flavor> getDefaults()
defaults
attributepublic Optional<String> getExecutableName()
executableName
attributepublic Optional<String> getHeaderNamespace()
headerNamespace
attributepublic SourceSortedSet getHeaders()
headers
attributepublic com.google.common.collect.ImmutableSortedSet<String> getIncludeDirectories()
CxxConstructorArg
includeDirectories
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 com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getLangPlatformPreprocessorFlags()
langPlatformPreprocessorFlags
attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getLangPreprocessorFlags()
langPreprocessorFlags
attributepublic com.google.common.collect.ImmutableList<String> getLinkerExtraOutputs()
linkerExtraOutputs
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformCompilerFlags()
platformCompilerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps
attributepublic PatternMatchedCollection<SourceSortedSet> getPlatformHeaders()
platformHeaders
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformLinkerFlags()
platformLinkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformPreprocessorFlags()
platformPreprocessorFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> getPlatformSrcs()
platformSrcs
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPostLinkerFlags()
postLinkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPostPlatformLinkerFlags()
postPlatformLinkerFlags
attributepublic Optional<SourcePath> getPrecompiledHeader()
precompiledHeader
attributepublic Optional<SourcePath> getPrefixHeader()
prefixHeader
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPreprocessorFlags()
preprocessorFlags
attributepublic CxxDeps getPrivateCxxDeps()
privateCxxDeps
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getRawHeaders()
CxxConstructorArg
rawHeaders
attributepublic com.google.common.collect.ImmutableSortedSet<SourceWithFlags> getSrcs()
srcs
attributepublic com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
BuildRuleArg
config_setting
a target is compatible with.compatibleWith
attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArg
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.
defaultTargetPlatform
attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels
attributepublic com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses
attributepublic String getName()
ConstructorArg
name
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic Optional<Flavor> getDefaultPlatform()
defaultPlatform
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
tests
attributepublic 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)
CgoLibraryDescriptionArg
that have equal attribute values.public int hashCode()
cgoCompilerFlags
, goCompilerFlags
, goAssemblerFlags
, packageName
, goSrcs
, exportedDeps
, compilerFlags
, linkDepsQueryWhole
, fatLto
, linkGroup
, linkGroupMap
, linkStyle
, thinLto
, cxxDeps
, cxxRuntimeType
, defaultFlavors
, defaults
, executableName
, headerNamespace
, headers
, includeDirectories
, langCompilerFlags
, langPlatformCompilerFlags
, langPlatformPreprocessorFlags
, langPreprocessorFlags
, linkerExtraOutputs
, linkerFlags
, platformCompilerFlags
, platformDeps
, platformHeaders
, platformLinkerFlags
, platformPreprocessorFlags
, platformSrcs
, postLinkerFlags
, postPlatformLinkerFlags
, precompiledHeader
, prefixHeader
, preprocessorFlags
, privateCxxDeps
, rawHeaders
, srcs
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
, defaultPlatform
, tests
, frameworks
, libraries
, versionUniverse
, depsQuery
.public String toString()
CgoLibraryDescriptionArg
with attribute values.public static CgoLibraryDescriptionArg.Builder builder()
CgoLibraryDescriptionArg
.public CgoLibraryDescriptionArg withDepsQuery(Query query)
withDepsQuery
in interface HasDepsQuery