aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/merge_licenses.sh
diff options
context:
space:
mode:
authorGravatar ulfjack <ulfjack@google.com>2017-06-06 08:33:40 -0400
committerGravatar John Cater <jcater@google.com>2017-06-06 09:51:12 -0400
commitf3753580583ab025eceaaf2b76e61b7b99be2e39 (patch)
tree5fa1c5e6fce2029ff71f5713f8783f469ceae5ff /src/main/java/com/google/devtools/build/lib/merge_licenses.sh
parent24e3d7a387f9e15733b01fe09e2cb03f18f8c271 (diff)
Move the instrumentation filter computation to BuildTool
Previously, it was in CoverageCommand, which led to all sorts of special casing and workarounds, because it required options editing, error handling during options editing, as well as early package path setup. It also caused us to duplicate target pattern evaluation for the coverage command. A semantic change is that the TestCommand can now also trigger the heuristic instrumentation filter computation, if collect_code_coverage is enabled; we might consider also enabling this for the BuildCommand, which can also have collect_code_coverage enabled (e.g., when a user wants to build a non-test binary with coverage instrumentation). Also remove a bunch of unnecessary AbruptExitException declarations. RELNOTES: bazel test now also computes a default instrumentation filter if --collect_code_coverage is enabled PiperOrigin-RevId: 158129953
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/merge_licenses.sh')
0 files changed, 0 insertions, 0 deletions