public static interface CxxLibraryDescriptionDelegate.ConfiguredDelegate
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Arg> |
getAdditionalExportedLinkerFlags()
Provides the ability to inject additional exported linker flags.
|
Optional<com.google.common.collect.ImmutableList<NativeLinkableGroup>> |
getNativeLinkableExportedDeps()
Provides the ability for the plugin to provide additional
NativeLinkable s that will
be exported. |
com.google.common.collect.ImmutableList<SourcePath> |
getObjectFilePaths()
Defines the paths to object files (i.e., .o files) that will be combined into the final
product of
CxxLibraryDescription . |
Optional<CxxPreprocessorInput> |
getPreprocessorInput()
Defines an additional preprocessor input for the public interface exposed by a target.
|
Optional<HeaderSymlinkTree> |
getPrivateHeaderSymlinkTree()
Defines an additional private
HeaderSymlinkTree that will be used when compiling the
the library. |
Optional<CxxPreprocessorInput> |
getPrivatePreprocessorInput()
Defines an additional preprocessor input for the private interface exposed by a target.
|
boolean |
getShouldProduceLibraryArtifact()
Specifies whether a library artifact (e.g., libName.a) should be produced.
|
Optional<CxxPreprocessorInput> getPreprocessorInput()
CxxLibraryDescription
's public input.Optional<CxxPreprocessorInput> getPrivatePreprocessorInput()
CxxLibraryDescription
's private input.Optional<HeaderSymlinkTree> getPrivateHeaderSymlinkTree()
HeaderSymlinkTree
that will be used when compiling the
the library.com.google.common.collect.ImmutableList<SourcePath> getObjectFilePaths()
CxxLibraryDescription
. If the paths depend on build
rules, you must use ExplicitBuildTargetSourcePath
to make sure the build rule deps
are correctly set up.Optional<com.google.common.collect.ImmutableList<NativeLinkableGroup>> getNativeLinkableExportedDeps()
NativeLinkable
s that will
be exported.com.google.common.collect.ImmutableList<Arg> getAdditionalExportedLinkerFlags()
boolean getShouldProduceLibraryArtifact()
CxxLibraryDescription
is
not aware of other sources, it uses this method as an additional signal to determine whether
it should produce a final artifact, even it doesn't have to if looking at just its own
sources.