public class OcamlBuildRulesGenerator extends Object
Constructor and Description |
---|
OcamlBuildRulesGenerator(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
ActionGraphBuilder graphBuilder,
com.facebook.buck.features.ocaml.OcamlBuildContext ocamlContext,
com.google.common.collect.ImmutableMap<Path,com.google.common.collect.ImmutableList<Path>> mlInput,
com.google.common.collect.ImmutableList<SourcePath> cInput,
Compiler cCompiler,
Linker cxxLinker,
boolean bytecodeOnly,
boolean buildNativePlugin) |
Modifier and Type | Method and Description |
---|---|
static BuildTarget |
addBytecodeFlavor(BuildTarget target) |
static BuildTarget |
addDebugFlavor(BuildTarget target) |
static BuildTarget |
createCCompileBuildTarget(BuildTarget target,
String name) |
static BuildTarget |
createMLBytecodeCompileBuildTarget(BuildTarget target,
String name) |
static BuildTarget |
createMLNativeCompileBuildTarget(BuildTarget target,
String name) |
public OcamlBuildRulesGenerator(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, ActionGraphBuilder graphBuilder, com.facebook.buck.features.ocaml.OcamlBuildContext ocamlContext, com.google.common.collect.ImmutableMap<Path,com.google.common.collect.ImmutableList<Path>> mlInput, com.google.common.collect.ImmutableList<SourcePath> cInput, Compiler cCompiler, Linker cxxLinker, boolean bytecodeOnly, boolean buildNativePlugin)
public static BuildTarget createCCompileBuildTarget(BuildTarget target, String name)
public static BuildTarget addDebugFlavor(BuildTarget target)
public static BuildTarget addBytecodeFlavor(BuildTarget target)
public static BuildTarget createMLNativeCompileBuildTarget(BuildTarget target, String name)
public static BuildTarget createMLBytecodeCompileBuildTarget(BuildTarget target, String name)