message: coverage: introduce ONLY_EXTRA_QUERY_PATHS
  Description: introduce an environment variable that allows consuming projects to only run coverage over private extensions.
  Risk Level: low
  Testing: locally with Envoy Mobile as a consuming project. And existing coverage run in CI
  Docs Changes: inline comment
diff: @@ -31,6 +31,8 @@ else
  COVERAGE_TARGETS=//test/...
  fi
  +# This setting allows consuming projects to only run coverage over private extensions.
  +if [[ -z "${ONLY_EXTRA_QUERY_PATHS}" ]]; then
  for target in ${COVERAGE_TARGETS}; do
  TARGETS="$TARGETS $("${BAZEL_BIN}" query ${BAZEL_QUERY_OPTIONS} "attr('tags', 'coverage_test_lib', ${REPOSITORY}${target})" | grep "^//")"
  done
  @@ -39,6 +41,7 @@ done
  if [[ "${COVERAGE_TARGETS}" == "//test/..." ]]; then
  TARGETS="$TARGETS $("${BAZEL_BIN}" query ${BAZEL_QUERY_OPTIONS} "attr('tags', 'coverage_test_lib', '@com_googlesource_quiche//:all')" | grep "^@com_googlesource_quiche")"
  fi
  +fi
  if [ -n "${EXTRA_QUERY_PATHS}" ]; then
  TARGETS="$TARGETS $("${BAZEL_BIN}" query ${BAZEL_QUERY_OPTIONS} "attr('tags', 'coverage_test_lib', ${EXTRA_QUERY_PATHS})" | grep "^//")"
  