1. 10 Mar, 2016 1 commit
  2. 25 Feb, 2016 2 commits
    • David Z. Chen's avatar
      Remove hack for building Python support with Bazel. · 985c9684
      David Z. Chen authored
      This change makes use of new imports attribute for Bazel's Python rules, which
      enable adding directories to the PYTHONPATH. This allows us to remove
      the hack for building protobuf's Python support with Bazel and now
      allows projects to include protobuf using a Bazel external repository
      rather than requiring it to be imported directly into the source tree as
      //google/protobuf.
      
      This change also updates the protobuf BUILD file to use a named
      repository, @python//, for including Python headers rather than
      //util/python. This allows projects to specify their own package for
      Python headers when including protobuf with an external repository.
      
      Fixes #1230
      985c9684
    • Manjunath Kudlur's avatar
      Fixed grpc C++ plugin support. · f5c73635
      Manjunath Kudlur authored
      grpc C++ plugin generates additional files, namely .grpc.pb.cc and
      .grpc.pb.h. Adding these files to the outs of the _proto_gen rule, so
      dependents don't complain about undeclared inclusions. Also, compiling
      the .grpc.pb.cc requires additional header files from the grpc library,
      so added //external:grpc_lib to the deps of the
      cc_library. Clients are expected to declare that in their bazel
      WORKSPACE, pointing it to @grpc//:grpc++{_unsecure}.
      f5c73635
  3. 22 Feb, 2016 1 commit
    • Manjunath Kudlur's avatar
      Added grpc plugin support to cc_proto_library. · f0966a74
      Manjunath Kudlur authored
      cc_proto_library now supports use_grpc_plugin flag that passes
      --plugin=protoc-gen-grpc=grpc_cpp_plugin to protoc compiler
      invocation. grpc_cpp_plugin is assumed to be present as
      //external:grpc_cpp_plugin, so clients can setup their WORKSPACE files
      appropriately to point to grpc location using bind.
      f0966a74
  4. 15 Jan, 2016 1 commit
  5. 05 Dec, 2015 1 commit
    • Martin Maly's avatar
      Making _genproto rules public. · 8e0c9a3f
      Martin Maly authored
      This enables other xx_proto_library targets to depend on xx_proto_library
      targets in different packages, and specifically on xx_wkt_protos.
      8e0c9a3f
  6. 03 Nov, 2015 1 commit
  7. 02 Nov, 2015 1 commit
  8. 27 Oct, 2015 1 commit
  9. 21 Oct, 2015 1 commit
  10. 20 Oct, 2015 6 commits
  11. 19 Oct, 2015 1 commit
    • Jisi Liu's avatar
      Allow include to be None. · 6dac0822
      Jisi Liu authored
      This enables the use case where all the paths are relative to the
      workspace root, e.g.
      
      foo/bar/BUILD
             /foo.proto -- package foo.bar
      
      would generate the message correctly.
      6dac0822
  12. 16 Oct, 2015 2 commits
  13. 15 Oct, 2015 5 commits