public interface CxxConstructorArg extends BuildRuleArg, HasDeclaredDeps, HasDefaultFlavors, HasDefaultPlatform, HasTests, HasSystemFrameworkAndLibraries
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
default void |
checkDuplicateSources(SourcePathResolverAdapter sourcePathResolverAdapter)
Checks that there are no files that appear both in srcs and platform_srcs
|
default void |
checkHeadersUsage() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getCompilerFlags() |
default CxxDeps |
getCxxDeps() |
Optional<Linker.CxxRuntimeType> |
getCxxRuntimeType() |
default com.google.common.collect.ImmutableSortedSet<Flavor> |
getDefaultFlavors() |
com.google.common.collect.ImmutableMap<String,Flavor> |
getDefaults() |
Optional<String> |
getExecutableName() |
Optional<String> |
getHeaderNamespace() |
default SourceSortedSet |
getHeaders() |
default 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.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.ImmutableList<String> |
getLinkerExtraOutputs() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformCompilerFlags() |
default PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
default PatternMatchedCollection<SourceSortedSet> |
getPlatformHeaders() |
default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformLinkerFlags() |
default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformPreprocessorFlags() |
default PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> |
getPlatformSrcs() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getPostLinkerFlags() |
default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPostPlatformLinkerFlags() |
Optional<SourcePath> |
getPrecompiledHeader() |
Optional<SourcePath> |
getPrefixHeader() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getPreprocessorFlags() |
default CxxDeps |
getPrivateCxxDeps() |
default 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() |
getDeps
getDefaultPlatform
getFrameworks, getLibraries
getCompatibleWith, getDefaultTargetPlatform, getLabels, getLicenses, labelsContainsAnyOf
getName
@Value.NaturalOrder com.google.common.collect.ImmutableSortedSet<SourceWithFlags> getSrcs()
@Value.Default default PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> getPlatformSrcs()
default void checkDuplicateSources(SourcePathResolverAdapter sourcePathResolverAdapter)
@Value.Default default SourceSortedSet getHeaders()
@Value.Default default com.google.common.collect.ImmutableSortedSet<SourcePath> getRawHeaders()
@Value.Default default com.google.common.collect.ImmutableSortedSet<String> getIncludeDirectories()
@Value.Check default void checkHeadersUsage()
@Value.Default default PatternMatchedCollection<SourceSortedSet> getPlatformHeaders()
Optional<SourcePath> getPrefixHeader()
Optional<SourcePath> getPrecompiledHeader()
com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
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()
@Value.Default default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformCompilerFlags()
com.google.common.collect.ImmutableList<StringWithMacros> getPreprocessorFlags()
@Value.Default default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformPreprocessorFlags()
com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getLangPreprocessorFlags()
com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getLangPlatformPreprocessorFlags()
com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
com.google.common.collect.ImmutableList<StringWithMacros> getPostLinkerFlags()
com.google.common.collect.ImmutableList<String> getLinkerExtraOutputs()
@Value.Default default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformLinkerFlags()
@Value.Default default PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPostPlatformLinkerFlags()
@Value.Default default PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
Optional<Linker.CxxRuntimeType> getCxxRuntimeType()
@Value.Derived default com.google.common.collect.ImmutableSortedSet<Flavor> getDefaultFlavors()
getDefaultFlavors
in interface HasDefaultFlavors
@Value.Derived default CxxDeps getCxxDeps()
@Value.Derived default CxxDeps getPrivateCxxDeps()