aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-03-09 16:41:22 +0000
committerGravatar David Chen <dzc@google.com>2016-03-09 21:31:37 +0000
commitdd0885090aa28e8422beeb6e0402b5f8bb634d8c (patch)
treeb1195e567257cc73b5af1de872ba48ca3876cb46 /third_party/java
parent5d61cbcf182ed58bed51c4a40686af764c39e011 (diff)
Update j2objc workspace to latest 1.0.1 release.
Adds //third_party/java/j2objc:jre_emul.jar target, needed for a future update to j2objc_library. RELNOTES: J2ObjC updated to 1.0.1 release. -- MOS_MIGRATED_REVID=116767453
Diffstat (limited to 'third_party/java')
-rw-r--r--third_party/java/j2objc/BUILD9
-rw-r--r--third_party/java/j2objc/BUILD.remote9
2 files changed, 16 insertions, 2 deletions
diff --git a/third_party/java/j2objc/BUILD b/third_party/java/j2objc/BUILD
index 6716f25c93..747562e416 100644
--- a/third_party/java/j2objc/BUILD
+++ b/third_party/java/j2objc/BUILD
@@ -28,7 +28,14 @@ filegroup(
java_library(
name = "annotations",
- srcs = ["@bazel_j2objc//:annotations"],
+ exports = ["@bazel_j2objc//:annotations"],
+)
+
+genrule(
+ name = "jre_emul_jar",
+ srcs = ["@bazel_j2objc//:jre_emul.jar"],
+ outs = ["jre_emul.jar"],
+ cmd = "cp $< $@",
)
objc_library(
diff --git a/third_party/java/j2objc/BUILD.remote b/third_party/java/j2objc/BUILD.remote
index 2e7c02cb28..44daaf8a3e 100644
--- a/third_party/java/j2objc/BUILD.remote
+++ b/third_party/java/j2objc/BUILD.remote
@@ -16,12 +16,19 @@ licenses(["notice"]) # Apache License 2.0
exports_files(["LICENSE"])
-J2_DIR = "j2objc-0.9.8.1/"
+J2_DIR = "j2objc-1.0.1/"
package(
default_visibility = ["//visibility:public"],
)
+genrule(
+ name = "jre_emul_jar",
+ srcs = [J2_DIR + "lib/jre_emul.jar"],
+ outs = ["jre_emul.jar"],
+ cmd = "cp $< $@",
+)
+
java_import(
name = "annotations",
jars = [J2_DIR + "lib/j2objc_annotations.jar"],