@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class HalideLibraryDescriptionArg extends Object
HalideLibraryDescription.AbstractHalideLibraryDescriptionArg.
Use the builder to create immutable instances:
HalideLibraryDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
HalideLibraryDescriptionArg.Builder
Builds instances of type
HalideLibraryDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static HalideLibraryDescriptionArg.Builder |
builder()
Creates a builder for
HalideLibraryDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
HalideLibraryDescriptionArg 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.ImmutableSortedSet<BuildTarget> |
getCompilerDeps() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getCompilerFlags() |
com.google.common.collect.ImmutableList<String> |
getCompilerInvocationFlags() |
com.google.common.collect.ImmutableSortedMap<String,com.google.common.collect.ImmutableMap<String,String>> |
getConfigs() |
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> |
getFunctionName() |
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() |
Optional<Pattern> |
getSupportedPlatformsRegex() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
boolean |
getThinLto() |
Optional<String> |
getVersionUniverse() |
int |
hashCode()
Computes a hash code from attributes:
compilerDeps, configs, supportedPlatformsRegex, compilerInvocationFlags, functionName, linkDepsQueryWhole, fatLto, linkGroup, linkGroupMap, linkStyle, thinLto, compilerFlags, 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
HalideLibraryDescriptionArg with attribute values. |
default HalideLibraryDescriptionArg |
withDepsQuery(Query query) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckDuplicateSources, checkHeadersUsagelabelsContainsAnyOfpublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getCompilerDeps()
compilerDeps attributepublic com.google.common.collect.ImmutableSortedMap<String,com.google.common.collect.ImmutableMap<String,String>> getConfigs()
configs attributepublic Optional<Pattern> getSupportedPlatformsRegex()
supportedPlatformsRegex attributepublic com.google.common.collect.ImmutableList<String> getCompilerInvocationFlags()
compilerInvocationFlags attributepublic Optional<String> getFunctionName()
functionName attributepublic boolean getLinkDepsQueryWhole()
linkDepsQueryWhole attributepublic boolean getFatLto()
fatLto attributepublic Optional<String> getLinkGroup()
LinkableCxxConstructorArglinkGroup attributepublic Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> getLinkGroupMap()
LinkableCxxConstructorArglinkGroupMap attributepublic Optional<Linker.LinkableDepType> getLinkStyle()
linkStyle attributepublic boolean getThinLto()
thinLto attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
compilerFlags 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()
CxxConstructorArgincludeDirectories 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()
CxxConstructorArgrawHeaders attributepublic com.google.common.collect.ImmutableSortedSet<SourceWithFlags> getSrcs()
srcs attributepublic com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
BuildRuleArgconfig_setting a target is compatible with.compatibleWith attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArgThe 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()
ConstructorArgname 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)
HalideLibraryDescriptionArg that have equal attribute values.public int hashCode()
compilerDeps, configs, supportedPlatformsRegex, compilerInvocationFlags, functionName, linkDepsQueryWhole, fatLto, linkGroup, linkGroupMap, linkStyle, thinLto, compilerFlags, 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()
HalideLibraryDescriptionArg with attribute values.public static HalideLibraryDescriptionArg.Builder builder()
HalideLibraryDescriptionArg.public HalideLibraryDescriptionArg withDepsQuery(Query query)
withDepsQuery in interface HasDepsQuery