Search in sources :

Example 1 with Builder

use of com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider.Builder in project bazel by bazelbuild.

the class BazelRuleClassProvider method create.

/** Used by the build encyclopedia generator. */
public static ConfiguredRuleClassProvider create() {
    ConfiguredRuleClassProvider.Builder builder = new ConfiguredRuleClassProvider.Builder();
    builder.setToolsRepository(TOOLS_REPOSITORY);
    setup(builder);
    return builder.build();
}
Also used : Builder(com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider.Builder) ConfiguredRuleClassProvider(com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider) Builder(com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider.Builder)

Aggregations

ConfiguredRuleClassProvider (com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider)1 Builder (com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider.Builder)1