aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
diff options
context:
space:
mode:
authorGravatar dbabkin <dbabkin@google.com>2018-05-18 06:09:10 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-18 06:10:25 -0700
commitfd0b85e5699852fa653a029520de0f62788e8328 (patch)
tree7a21e9da307475816bc016cd2c2b94a4d0aacdaa /src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
parentfa10e028739cc751b336e464e1c93d7d1531ac04 (diff)
Move coverageSupport and coverageReportGenerator from BuildConfiguration to
TestConfiguration. RELNOTES:none PiperOrigin-RevId: 197135911
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java38
1 files changed, 1 insertions, 37 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java b/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
index e63c5db18f..ab616e5c90 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
@@ -630,38 +630,7 @@ public class BuildConfiguration implements BuildConfigurationApi {
)
public boolean experimentalJavaCoverage;
- @Option(
- name = "coverage_support",
- converter = LabelConverter.class,
- defaultValue = "@bazel_tools//tools/test:coverage_support",
- documentationCategory = OptionDocumentationCategory.TOOLCHAIN,
- effectTags = {
- OptionEffectTag.CHANGES_INPUTS,
- OptionEffectTag.AFFECTS_OUTPUTS,
- OptionEffectTag.LOADING_AND_ANALYSIS
- },
- help =
- "Location of support files that are required on the inputs of every test action "
- + "that collects code coverage. Defaults to '//tools/test:coverage_support'."
- )
- public Label coverageSupport;
- @Option(
- name = "coverage_report_generator",
- converter = LabelConverter.class,
- defaultValue = "@bazel_tools//tools/test:coverage_report_generator",
- documentationCategory = OptionDocumentationCategory.TOOLCHAIN,
- effectTags = {
- OptionEffectTag.CHANGES_INPUTS,
- OptionEffectTag.AFFECTS_OUTPUTS,
- OptionEffectTag.LOADING_AND_ANALYSIS
- },
- help =
- "Location of the binary that is used to generate coverage reports. This must "
- + "currently be a filegroup that contains a single file, the binary. Defaults to "
- + "'//tools/test:coverage_report_generator'."
- )
- public Label coverageReportGenerator;
@Option(
name = "build_runfile_manifests",
@@ -994,12 +963,7 @@ public class BuildConfiguration implements BuildConfigurationApi {
return host;
}
- @Override
- public Map<String, Set<Label>> getDefaultsLabels() {
- return ImmutableMap.<String, Set<Label>>of(
- "coverage_support", ImmutableSet.of(coverageSupport),
- "coverage_report_generator", ImmutableSet.of(coverageReportGenerator));
- }
+
}
private final String checksum;