public class Omnibus extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Omnibus.OmnibusLibraries |
static interface |
Omnibus.OmnibusLibrary |
static interface |
Omnibus.OmnibusRoot |
Modifier and Type | Field and Description |
---|---|
static Flavor |
OMNIBUS_FLAVOR |
Modifier and Type | Method and Description |
---|---|
static Omnibus.OmnibusLibraries |
getSharedLibraries(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
CellPathResolver cellPathResolver,
ActionGraphBuilder graphBuilder,
CxxBuckConfig cxxBuckConfig,
CxxPlatform cxxPlatform,
com.google.common.collect.ImmutableList<? extends Arg> extraLdflags,
Iterable<? extends NativeLinkTarget> nativeLinkTargetRoots,
Iterable<? extends NativeLinkable> nativeLinkableRoots)
An alternate link strategy for languages which need to package native deps up as shared
libraries, which only links native nodes which have an explicit edge from non-native code as
separate, and statically linking all other native nodes into a single giant shared library.
|
public static final Flavor OMNIBUS_FLAVOR
public static Omnibus.OmnibusLibraries getSharedLibraries(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, CellPathResolver cellPathResolver, ActionGraphBuilder graphBuilder, CxxBuckConfig cxxBuckConfig, CxxPlatform cxxPlatform, com.google.common.collect.ImmutableList<? extends Arg> extraLdflags, Iterable<? extends NativeLinkTarget> nativeLinkTargetRoots, Iterable<? extends NativeLinkable> nativeLinkableRoots)
cellPathResolver
- nativeLinkTargetRoots
- root nodes which will be included in the omnibus link.nativeLinkableRoots
- root nodes which are to be excluded from the omnibus link.SourcePath
s.