public interface ArchiverProvider
Modifier and Type | Interface and Description |
---|---|
static class |
ArchiverProvider.LegacyArchiverType
.buckconfig accepts this and we combine it with the current platform to determine the archiver
type.
|
static class |
ArchiverProvider.Type
Optional type that can be specified by cxx.archiver_type to indicate the given archiver is
llvm-lib.
|
Modifier and Type | Method and Description |
---|---|
static ArchiverProvider |
from(Archiver archiver) |
static ArchiverProvider |
from(ToolProvider toolProvider,
ArchiverProvider.Type type)
Creates an appropriate ArchiverProvider instance for the given parameters.
|
static ArchiverProvider |
from(ToolProvider archiver,
Platform platform,
Optional<ArchiverProvider.LegacyArchiverType> legacyType)
Deprecated.
Use the non-legacy type.
|
Iterable<BuildTarget> |
getParseTimeDeps(TargetConfiguration targetConfiguration) |
Archiver |
resolve(BuildRuleResolver resolver,
TargetConfiguration targetConfiguration) |
Archiver resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
static ArchiverProvider from(Archiver archiver)
@Deprecated static ArchiverProvider from(ToolProvider archiver, Platform platform, Optional<ArchiverProvider.LegacyArchiverType> legacyType)
static ArchiverProvider from(ToolProvider toolProvider, ArchiverProvider.Type type)