aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorRichard Shin <shin.richard@gmail.com>2016-10-18 13:16:44 -0700
committerRichard Shin <ricshin@cs.berkeley.edu>2016-10-18 13:17:27 -0700
commitdf5841f0b2a523abeb2fc304e024cd623f13d2f1 (patch)
tree4a04517c1e4087d18a95122faa99a8a6e0753550 /BUILD
parent008b5a228b37c054f46ba478ccafa5e855cb16db (diff)
downloadprotobuf-df5841f0b2a523abeb2fc304e024cd623f13d2f1.tar.gz
protobuf-df5841f0b2a523abeb2fc304e024cd623f13d2f1.tar.bz2
protobuf-df5841f0b2a523abeb2fc304e024cd623f13d2f1.zip
Place Python extensions correctly in Bazel build.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD b/BUILD
index 3c03bfac..f17c500a 100644
--- a/BUILD
+++ b/BUILD
@@ -577,7 +577,7 @@ py_library(
)
cc_binary(
- name = "internal/_api_implementation.so",
+ name = "python/google/protobuf/internal/_api_implementation.so",
srcs = ["python/google/protobuf/internal/api_implementation.cc"],
copts = COPTS + [
"-DPYTHON_PROTO2_CPP_IMPL_V2",
@@ -591,7 +591,7 @@ cc_binary(
)
cc_binary(
- name = "pyext/_message.so",
+ name = "python/google/protobuf/pyext/_message.so",
srcs = glob([
"python/google/protobuf/pyext/*.cc",
"python/google/protobuf/pyext/*.h",
@@ -653,8 +653,8 @@ py_proto_library(
data = select({
"//conditions:default": [],
":use_fast_cpp_protos": [
- ":internal/_api_implementation.so",
- ":pyext/_message.so",
+ ":python/google/protobuf/internal/_api_implementation.so",
+ ":python/google/protobuf/pyext/_message.so",
],
}),
default_runtime = "",