aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/test/BUILD
diff options
context:
space:
mode:
authorGravatar elenairina <elenairina@google.com>2017-11-29 08:17:47 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-11-29 08:28:57 -0800
commit1e3d568ea68e3d4b597dd40e6100295548f44e8a (patch)
tree9d50bdd1b940678de107f4511063421a18d736f0 /tools/test/BUILD
parentbd24c6bba0e6254d01bb92053847d0d396a8b77d (diff)
Create the output source jar in java_common.compile
and expose transitive source jars to Skylark. Initial change was rolled back (unknown commit). java_common.compile wouldn't fill the JavaRuleOutputJarsProvider when there was only one input source jar. Fixed that and added test (there was one before, but didn't check this particular provider). Slightly refactor java classes to take in specific host javabase inputs and host java executable for creating the source jar, instead of always relying on fetching them from native java rules specific attributes. Creating the output source jar in java_common.compile makes the behavior more similar to java_library. Exposing the transitive_source_jars to Skylark helps with the Skylark migration from the old 'java' provider to JavaInfo. Progress on #2614. RELNOTES: transitive_source_jars is now exposed on JavaInfo. PiperOrigin-RevId: 177311138
Diffstat (limited to 'tools/test/BUILD')
-rw-r--r--tools/test/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/BUILD b/tools/test/BUILD
index 6fc7bbdc94..de2bba9b6a 100644
--- a/tools/test/BUILD
+++ b/tools/test/BUILD
@@ -31,7 +31,7 @@ java_test(
)
filegroup(
- name = "coverage_support",
+ name = "coverage_suppot",
srcs = ["collect_coverage.sh"],
)