Browse Source

Made targets relative to google/protobuf

Fixes #1029
Manjunath Kudlur 9 years ago
parent
commit
d03ef20039
1 changed files with 4 additions and 4 deletions
  1. 4 4
      BUILD

+ 4 - 4
BUILD

@@ -510,7 +510,7 @@ internal_copied_filegroup(
 )
 )
 
 
 cc_binary(
 cc_binary(
-    name = "google/protobuf/internal/_api_implementation.so",
+    name = "internal/_api_implementation.so",
     srcs = ["python/google/protobuf/internal/api_implementation.cc"],
     srcs = ["python/google/protobuf/internal/api_implementation.cc"],
     copts = COPTS + [
     copts = COPTS + [
         "-DPYTHON_PROTO2_CPP_IMPL_V2",
         "-DPYTHON_PROTO2_CPP_IMPL_V2",
@@ -524,7 +524,7 @@ cc_binary(
 )
 )
 
 
 cc_binary(
 cc_binary(
-    name = "google/protobuf/pyext/_message.so",
+    name = "pyext/_message.so",
     srcs = glob([
     srcs = glob([
         "python/google/protobuf/pyext/*.cc",
         "python/google/protobuf/pyext/*.cc",
         "python/google/protobuf/pyext/*.h",
         "python/google/protobuf/pyext/*.h",
@@ -560,8 +560,8 @@ py_proto_library(
     data = select({
     data = select({
         "//conditions:default": [],
         "//conditions:default": [],
         ":use_fast_cpp_protos": [
         ":use_fast_cpp_protos": [
-            ":google/protobuf/internal/_api_implementation.so",
-            ":google/protobuf/pyext/_message.so",
+            ":internal/_api_implementation.so",
+            ":pyext/_message.so",
         ],
         ],
     }),
     }),
     default_runtime = "",
     default_runtime = "",