@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class CxxToolchainDescriptionArg extends Object
CxxBuckConfig
. Some things
are not yet exposed/implemented, and others have been slightly renamed or exposed slightly
differently to be more restricted or more descriptive or more maintainable.Modifier and Type | Class and Description |
---|---|
static class |
CxxToolchainDescriptionArg.Builder
Builds instances of type
CxxToolchainDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static CxxToolchainDescriptionArg.Builder |
builder()
Creates a builder for
CxxToolchainDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
CxxToolchainDescriptionArg that have equal attribute values. |
SourcePath |
getArchiver()
Archiver binary.
|
com.google.common.collect.ImmutableList<String> |
getArchiverFlags()
Archiver flags.
|
ArchiverProvider.Type |
getArchiverType()
ArchiverProvider.Type of the archiver. |
SourcePath |
getAssembler()
Assembler binary.
|
com.google.common.collect.ImmutableList<String> |
getAssemblerFlags()
Flags for the assembler.
|
Optional<String> |
getBinaryExtension()
Extension for binary files.
|
SourcePath |
getCCompiler()
C compiler binary.
|
com.google.common.collect.ImmutableList<String> |
getCCompilerFlags()
C compiler flags.
|
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
CxxToolProvider.Type |
getCompilerType()
CxxToolProvider.Type of the compiler. |
SourcePath |
getCxxCompiler()
C++ compiler binary.
|
com.google.common.collect.ImmutableList<String> |
getCxxCompilerFlags()
C++ compiler flags.
|
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.
|
boolean |
getFilepathLengthLimited()
Whether to use shorter intermediate files.
|
com.google.common.collect.ImmutableList<String> |
getHeadersWhitelist()
A list of regexes which match headers (belonging to the toolchain) to exempt from untracked
header verification.
|
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
SourcePath |
getLinker()
Linker binary.
|
com.google.common.collect.ImmutableList<String> |
getLinkerFlags()
Linker flags.
|
LinkerProvider.Type |
getLinkerType()
LinkerProvider.Type of the linker. |
String |
getName()
Each rule has a name
|
SourcePath |
getNm()
nm binary.
|
SourcePath |
getObjcopyForSharedLibraryInterface()
Objcopy binary to use for creating shared library interfaces.
|
String |
getObjectFileExtension()
Extension for object files.
|
boolean |
getPrivateHeadersSymlinksEnabled()
When building or creating a project, create symlinks for the public headers if it's true.
|
boolean |
getPublicHeadersSymlinksEnabled()
When building or creating a project, create symlinks for the public headers if it's true.
|
Optional<SourcePath> |
getRanlib()
Ranlib binary.
|
com.google.common.collect.ImmutableList<String> |
getRanlibFlags()
Ranlib flags.
|
com.google.common.collect.ImmutableList<String> |
getSharedDepRuntimeLdFlags()
Flags for linking the c/c++ runtime for shared libraries.
|
String |
getSharedLibraryExtension()
Extension of shared library files.
|
SharedLibraryInterfaceParams.Type |
getSharedLibraryInterfaceType()
Type of shared library interfaces to create.
|
String |
getSharedLibraryVersionedExtensionFormat()
Extension format for versioned shared libraries.
|
com.google.common.collect.ImmutableList<String> |
getStaticDepRuntimeLdFlags()
Flags for linking the c/c++ runtime for static libraries.
|
String |
getStaticLibraryExtension()
Extension for static library files.
|
com.google.common.collect.ImmutableList<String> |
getStaticPicDepRuntimeLdFlags()
Flags for linking the c/c++ runtime for static-pic libraries.
|
SourcePath |
getStrip()
Strip binary.
|
com.google.common.collect.ImmutableList<String> |
getStripFlags()
Strip flags.
|
boolean |
getUseArgFile()
Whether to use an argfile for long command lines.
|
boolean |
getUseHeaderMap()
Whether to use header maps.
|
int |
hashCode()
Computes a hash code from attributes:
privateHeadersSymlinksEnabled , publicHeadersSymlinksEnabled , useArgFile , sharedLibraryExtension , sharedLibraryVersionedExtensionFormat , staticLibraryExtension , objectFileExtension , binaryExtension , compilerType , linkerType , assembler , assemblerFlags , cCompiler , cCompilerFlags , cxxCompiler , cxxCompilerFlags , linker , linkerFlags , archiver , archiverFlags , archiverType , strip , ranlib , ranlibFlags , stripFlags , staticDepRuntimeLdFlags , staticPicDepRuntimeLdFlags , sharedDepRuntimeLdFlags , nm , sharedLibraryInterfaceType , objcopyForSharedLibraryInterface , useHeaderMap , filepathLengthLimited , headersWhitelist , licenses , labels , defaultTargetPlatform , compatibleWith , name . |
String |
toString()
Prints the immutable value
CxxToolchainDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public boolean getPrivateHeadersSymlinksEnabled()
public boolean getPublicHeadersSymlinksEnabled()
public boolean getUseArgFile()
public String getSharedLibraryExtension()
public String getSharedLibraryVersionedExtensionFormat()
public String getStaticLibraryExtension()
public String getObjectFileExtension()
public CxxToolProvider.Type getCompilerType()
CxxToolProvider.Type
of the compiler.public LinkerProvider.Type getLinkerType()
LinkerProvider.Type
of the linker.public SourcePath getAssembler()
public com.google.common.collect.ImmutableList<String> getAssemblerFlags()
public SourcePath getCCompiler()
public com.google.common.collect.ImmutableList<String> getCCompilerFlags()
public SourcePath getCxxCompiler()
public com.google.common.collect.ImmutableList<String> getCxxCompilerFlags()
public SourcePath getLinker()
public com.google.common.collect.ImmutableList<String> getLinkerFlags()
public SourcePath getArchiver()
public com.google.common.collect.ImmutableList<String> getArchiverFlags()
public ArchiverProvider.Type getArchiverType()
ArchiverProvider.Type
of the archiver.public SourcePath getStrip()
public Optional<SourcePath> getRanlib()
public com.google.common.collect.ImmutableList<String> getRanlibFlags()
public com.google.common.collect.ImmutableList<String> getStripFlags()
public com.google.common.collect.ImmutableList<String> getStaticDepRuntimeLdFlags()
public com.google.common.collect.ImmutableList<String> getStaticPicDepRuntimeLdFlags()
public com.google.common.collect.ImmutableList<String> getSharedDepRuntimeLdFlags()
public SourcePath getNm()
public SharedLibraryInterfaceParams.Type getSharedLibraryInterfaceType()
public SourcePath getObjcopyForSharedLibraryInterface()
public boolean getUseHeaderMap()
public boolean getFilepathLengthLimited()
public com.google.common.collect.ImmutableList<String> getHeadersWhitelist()
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 boolean equals(@Nullable Object another)
CxxToolchainDescriptionArg
that have equal attribute values.public int hashCode()
privateHeadersSymlinksEnabled
, publicHeadersSymlinksEnabled
, useArgFile
, sharedLibraryExtension
, sharedLibraryVersionedExtensionFormat
, staticLibraryExtension
, objectFileExtension
, binaryExtension
, compilerType
, linkerType
, assembler
, assemblerFlags
, cCompiler
, cCompilerFlags
, cxxCompiler
, cxxCompilerFlags
, linker
, linkerFlags
, archiver
, archiverFlags
, archiverType
, strip
, ranlib
, ranlibFlags
, stripFlags
, staticDepRuntimeLdFlags
, staticPicDepRuntimeLdFlags
, sharedDepRuntimeLdFlags
, nm
, sharedLibraryInterfaceType
, objcopyForSharedLibraryInterface
, useHeaderMap
, filepathLengthLimited
, headersWhitelist
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
.public String toString()
CxxToolchainDescriptionArg
with attribute values.public static CxxToolchainDescriptionArg.Builder builder()
CxxToolchainDescriptionArg
.