diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-12-21 16:32:07 +0000 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2016-12-21 17:26:27 +0000 |
commit | 6d31cb01b80d0560c0c083d40e641816877b3d06 (patch) | |
tree | 55acbdbc5c25be32ce927b3a0509c7e3f7799541 /third_party/java/j2objc | |
parent | d83e7ef2485c8fe2d9dc8ca938f694b34d824ed2 (diff) |
--
PiperOrigin-RevId: 142666783
MOS_MIGRATED_REVID=142666783
Diffstat (limited to 'third_party/java/j2objc')
-rw-r--r-- | third_party/java/j2objc/BUILD | 51 | ||||
-rw-r--r-- | third_party/java/j2objc/BUILD.remote | 54 |
2 files changed, 0 insertions, 105 deletions
diff --git a/third_party/java/j2objc/BUILD b/third_party/java/j2objc/BUILD deleted file mode 100644 index bb1cd5c565..0000000000 --- a/third_party/java/j2objc/BUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2015 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -licenses(["notice"]) # Apache License 2.0 - -exports_files(["LICENSE"]) - -package( - default_visibility = ["//visibility:public"], -) - -filegroup( - name = "srcs", - srcs = glob(["**"]), - visibility = ["//third_party:__pkg__"], -) - -java_library( - name = "annotations", - exports = ["@bazel_j2objc//:annotations"], -) - -genrule( - name = "jre_emul_jar", - srcs = ["@bazel_j2objc//:jre_emul.jar"], - outs = ["jre_emul.jar"], - cmd = "cp $< $@", -) - -objc_library( - name = "jre_emul_lib", - sdk_dylibs = [ - "libicucore", - "libz", - ], - sdk_frameworks = [ - "Security", - ], - deps = ["@bazel_j2objc//:jre_emul_archive"], -) diff --git a/third_party/java/j2objc/BUILD.remote b/third_party/java/j2objc/BUILD.remote deleted file mode 100644 index 44daaf8a3e..0000000000 --- a/third_party/java/j2objc/BUILD.remote +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2015 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -licenses(["notice"]) # Apache License 2.0 - -exports_files(["LICENSE"]) - -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"], -) - -java_import( - name = "j2objc", - jars = [J2_DIR + "lib/j2objc.jar"], - exports = [":annotations"], -) - -filegroup( - name = "jre_emul_headers", - #srcs = glob([J2_DIR + "include/IOSClass.h"]), - srcs = [J2_DIR + "include/IOSClass.h"], -) - -objc_import( - name = "jre_emul_archive", - hdrs = glob([J2_DIR + "include/**"]), - includes = [J2_DIR + "include"], - archives = [J2_DIR + "lib/libjre_emul.a"], -) |