aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/test-setup.sh
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-04-11 10:34:45 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-04-11 11:24:01 +0000
commit285112c9b61ca3782e00ccf6411339da7291a3c3 (patch)
tree9e6c9d3c905be50c56209b3f37d3098ab8b23caf /src/test/shell/bazel/test-setup.sh
parentdaafdcda9c8e0f883e18bc7c69aad44903a909c8 (diff)
Remove te protocol compiler rules from @bazel_tools.
The immmediate reason for this change is that we also need to add gRPC support to the proto rules, and we don't want to also support gRPC in a half-baked way. This makes the Bazel binary much smaller and avoid giving false signals that we (for now) support protobuf compilation. The protobuf rules are only for compiling Bazel itself. RELNOTES[INC]: Bazel does not embed protocol buffer-related rules anymore. -- MOS_MIGRATED_REVID=119516246
Diffstat (limited to 'src/test/shell/bazel/test-setup.sh')
-rwxr-xr-xsrc/test/shell/bazel/test-setup.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/shell/bazel/test-setup.sh b/src/test/shell/bazel/test-setup.sh
index 2efe10b69b..8ed875b2cf 100755
--- a/src/test/shell/bazel/test-setup.sh
+++ b/src/test/shell/bazel/test-setup.sh
@@ -271,23 +271,6 @@ android_sdk_repository(
EOF
}
-function setup_protoc_support() {
- mkdir -p third_party/protobuf
- [ -e third_party/protobuf/protoc ] \
- || ln -s ${protoc_compiler} third_party/protobuf/protoc
- [ -e third_party/protobuf/protobuf-java.jar ] \
- || ln -s ${protoc_jar} third_party/protobuf/protobuf-java.jar
-
-cat <<EOF > third_party/BUILD
-package(default_visibility = ["//visibility:public"])
-exports_files(["protoc"])
-java_import(
- name = "protobuf",
- jars = ["protobuf-java.jar"])
-
-EOF
-}
-
function setup_javatest_common() {
# TODO(bazel-team): we should use remote repositories.
mkdir -p third_party