aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/tools/jdk.BUILD
diff options
context:
space:
mode:
authorGravatar Han-Wen Nienhuys <hanwen@google.com>2015-06-01 15:57:50 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-06-02 14:39:13 +0000
commite01aa680eb13dc3c796eeac2393bd2f4ec37fdb7 (patch)
treef05e95ef33c236ddb175edfb2e3b35a1d873880c /src/main/tools/jdk.BUILD
parent5fe79331f9160ae8b37f907ddbaa5f080dfc8185 (diff)
Simplify genproto.bzl.
Generate a srcjar artifact, and use native.java_library to emit the actual jar file. Post-review modifications: - Formatted genproto.bzl - Use //external:jar instead of relying on PATH - Make proto library a java_import instead of a filegroup in test setup. -- Change-Id: I005f801f09439bbca43e483ad4a47da4588fea94 Reviewed-on: https://bazel-review.googlesource.com/1362 MOS_MIGRATED_REVID=94914935
Diffstat (limited to 'src/main/tools/jdk.BUILD')
-rw-r--r--src/main/tools/jdk.BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/tools/jdk.BUILD b/src/main/tools/jdk.BUILD
index c3c7fd558e..9d0979f254 100644
--- a/src/main/tools/jdk.BUILD
+++ b/src/main/tools/jdk.BUILD
@@ -20,6 +20,11 @@ filegroup(
srcs = ["bin/java"],
)
+filegroup(
+ name = "jar",
+ srcs = ["bin/jar"],
+)
+
BOOTCLASS_JARS = [
"rt.jar",
"resources.jar",