aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Rumou Duan <rduan@google.com>2016-03-02 19:16:38 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-03-02 22:03:04 +0000
commit4677264444b39487d0fa52a16d0ba635977ab97d (patch)
tree2a895f8c49a2045e53e3553a1f2448982b9351af /tools
parent703923bf3315fc4f01c17331445a3568e44353ca (diff)
Change //tools/objc:j2objc_dead_code_pruner and //tools/j2objc:j2objc_wrapper from py_library to filegroup. They contain executable python scripts, not python libraries.
-- MOS_MIGRATED_REVID=116160662
Diffstat (limited to 'tools')
-rw-r--r--tools/j2objc/BUILD2
-rw-r--r--tools/objc/BUILD3
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/j2objc/BUILD b/tools/j2objc/BUILD
index c9489480e2..3334dfe35e 100644
--- a/tools/j2objc/BUILD
+++ b/tools/j2objc/BUILD
@@ -13,7 +13,7 @@ java_binary(
runtime_deps = ["@bazel_j2objc//:j2objc"],
)
-py_library(
+filegroup(
name = "j2objc_wrapper",
srcs = ["j2objc_wrapper.py"],
)
diff --git a/tools/objc/BUILD b/tools/objc/BUILD
index 5936761791..2427508d62 100644
--- a/tools/objc/BUILD
+++ b/tools/objc/BUILD
@@ -114,8 +114,7 @@ xcode_config(
name = "host_xcodes",
)
-# TODO(bazel-team): Open-source the script once J2ObjC support is open-sourced.
-py_library(
+filegroup(
name = "j2objc_dead_code_pruner",
srcs = ["j2objc_dead_code_pruner.py"],
)