aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-03-16 13:17:57 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-03-17 10:03:45 +0000
commitb78bbd5dd53ecaeb8a736b69ecd3f014232da1d4 (patch)
tree0f13b04b4b05d90c2aab1a881ec73c631fca6b20 /src/test/shell
parentc4d448fb1841dc007c8053c9940a195634425fb1 (diff)
Add Python protobuf to Bazel third_party and move all protobuf targets into
//third_party/protobuf. -- MOS_MIGRATED_REVID=117336377
Diffstat (limited to 'src/test/shell')
-rwxr-xr-xsrc/test/shell/bazel/test-setup.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/test/shell/bazel/test-setup.sh b/src/test/shell/bazel/test-setup.sh
index 15b1bb9645..2efe10b69b 100755
--- a/src/test/shell/bazel/test-setup.sh
+++ b/src/test/shell/bazel/test-setup.sh
@@ -272,10 +272,11 @@ EOF
}
function setup_protoc_support() {
- mkdir -p third_party
- [ -e third_party/protoc ] || ln -s ${protoc_compiler} third_party/protoc
- [ -e third_party/protobuf-java.jar ] \
- || ln -s ${protoc_jar} third_party/protobuf-java.jar
+ 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"])