use of com.google.devtools.build.lib.rules.cpp.FdoSupportFunction in project bazel by bazelbuild.
the class BazelAnalysisMock method getSkyFunctions.
@Override
public ImmutableMap<SkyFunctionName, SkyFunction> getSkyFunctions() {
ImmutableMap.Builder<SkyFunctionName, SkyFunction> skyFunctions = ImmutableMap.builder();
skyFunctions.putAll(super.getSkyFunctions());
skyFunctions.put(FdoSupportValue.SKYFUNCTION, new FdoSupportFunction());
return skyFunctions.build();
}
use of com.google.devtools.build.lib.rules.cpp.FdoSupportFunction in project bazel by bazelbuild.
the class BazelRulesModule method workspaceInit.
@Override
public void workspaceInit(BlazeDirectories directories, WorkspaceBuilder builder) {
builder.addSkyFunction(FdoSupportValue.SKYFUNCTION, new FdoSupportFunction());
builder.addPrecomputedValue(PrecomputedValue.injected(GenQuery.QUERY_OUTPUT_FORMATTERS, new Supplier<ImmutableList<OutputFormatter>>() {
@Override
public ImmutableList<OutputFormatter> get() {
return env.getRuntime().getQueryOutputFormatters();
}
}));
}
Aggregations