- 14 Sep, 2017 1 commit
-
-
Adam Cozzette authored
-
- 12 Sep, 2017 1 commit
-
-
Feng Xiao authored
This addressbook.proto now belongs to its own bazel pacakge and can't be accessed in bazel protobuf_test target.
-
- 05 Sep, 2017 1 commit
-
-
Jakob Buchgraber authored
Adds a proto_library rule for each well known type proto: $ bazel query "filter(\".*_proto$\", \"...\")" //:wrappers_proto //:timestamp_proto //:struct_proto //:field_mask_proto //:empty_proto //:duration_proto //:compiler_plugin_proto //:descriptor_proto //:api_proto //:type_proto //:source_context_proto //:any_proto Bazel users can reference these proto_library rules for their own language specific rules i.e. java_proto_library( name = "any_java_proto", deps = ["@com_google_protobuf//:any_proto"], ) Also set the workspace name to "com_google_protobuf", as proto_library rules reference protobuf that way.
-
- 25 Jul, 2017 3 commits
- 19 Jul, 2017 1 commit
-
-
Jisi Liu authored
-
- 11 Jul, 2017 1 commit
-
-
Laszlo Csomor authored
Add implementations of open(2), mkdir(2), stat(2), etc. that support long paths under Windows (paths longer than MAX_PATH in <windows.h>, which is 260 characters). The implementations are in a separate namespace (google::protobuf::internal::win32), so they won't collide with the standard implementations in <io.h>, but after importing them with `using` they can be drop-in replacements. Fixes https://github.com/bazelbuild/bazel/issues/2634 Fixes https://github.com/google/protobuf/issues/2891
-
- 16 Jun, 2017 1 commit
-
-
- 31 May, 2017 1 commit
-
-
Yun Peng authored
Don't put gcc warnings options in copts, so that protobuf is able to build by MSVC toolchain without python wrappers.
-
- 04 May, 2017 1 commit
-
-
Feng Xiao authored
-
- 01 May, 2017 1 commit
-
-
makdharma authored
This target will be used by gRPC iOS bazel build system.
-
- 29 Mar, 2017 2 commits
- 22 Mar, 2017 1 commit
-
-
cgrushko authored
in order to avoid errors related to generics when building user code in newer versions of Java.
-
- 20 Mar, 2017 1 commit
-
-
Bairen Yi authored
-
- 16 Mar, 2017 1 commit
-
-
Byron Yi authored
-
- 03 Mar, 2017 1 commit
-
-
Manjunath Kudlur authored
-
- 23 Feb, 2017 1 commit
-
-
Manjunath Kudlur authored
-
- 08 Feb, 2017 1 commit
-
-
cgrushko authored
The first argument is currently implicitly a .bzl file. Change this to be explicit.
-
- 25 Jan, 2017 1 commit
-
-
Daniel Ylitalo authored
-
- 12 Jan, 2017 1 commit
-
-
cgrushko authored
This allows easy use of Bazel's java_proto_library native rule.
-
- 20 Dec, 2016 1 commit
-
-
Adam Cozzette authored
In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build.
-
- 05 Dec, 2016 1 commit
-
-
Jisi Liu authored
-
- 03 Dec, 2016 1 commit
-
-
cgrushko authored
Bazel's built-in cc_proto_library rule uses a proto_lang_toolchain to learn how to invoke proto-compiler. To use Bazel's cc_proto_library, add the following to your project's WORKSPACE file: local_repository( name = "com_google_protobuf_cc", path = "/path/to/protobuf-distribution/" )
-
- 18 Oct, 2016 1 commit
-
-
Richard Shin authored
-
- 10 Oct, 2016 1 commit
-
-
Jisi Liu authored
-
- 09 Oct, 2016 1 commit
-
-
Andy Hochhaus authored
-
- 06 Oct, 2016 2 commits
- 23 Sep, 2016 1 commit
-
-
Jisi Liu authored
-
- 22 Sep, 2016 1 commit
-
-
Jisi Liu authored
-
- 04 Aug, 2016 1 commit
-
-
Piotr Sikora authored
Signed-off-by:
Piotr Sikora <piotrsikora@google.com>
-
- 26 May, 2016 1 commit
-
-
David Z. Chen authored
Users often encounter a Python import error when trying to build Python protos if protobuf is installed locally on the machine. In this case, Python ends up looking in the wrong directory when importing files (see bazelbuild/bazel#1209 and tensorflow/tensorflow#2021). It seems that the problem is caused by Python getting confused when there are Python source files that are meant to be part of the same package but are in separate directories. Prior to #1233, the Bazel build setup would copy the Python runtime sources and all generated sources for the builtin protos into the root directory (assuming that the protobuf tree is vendored in a google/protobuf directory). With #1233, the two sets of sources are kept in their respective directories but both `src/` and `python/` are added to the `PYTHONPATH` using the new `imports` attribute of the Bazel Python rules. However, both the runtime sources and the generated sources are under the same package: `google.protobuf`, causing Python to become confused when trying to import modules that are in the other directory. This patch adds a workaround to the Bazel build to add a modified version of the original `internal_copied_filegroup` macro to copy the `.proto` files under `src/` to `python/` before building the `py_proto_library` targets for the builtin protos. This ensures that the generated sources for the builtin protos will be in the same directory as the corresponding runtime sources. This patch was tested with the following: * All Python tests in protobuf * All Python tests in tensorflow * All tests in [Skydoc](https://github.com/bazelbuild/skydoc) * Importing protobuf as `//google/protobuf` * Importing and binding targets under `//external` * Importing protobuf as `//third_party/protobuf`
-
- 28 Apr, 2016 1 commit
-
-
Jisi Liu authored
-
- 18 Apr, 2016 1 commit
-
-
Jisi Liu authored
-
- 15 Apr, 2016 1 commit
-
-
Chad Whipkey authored
proto3. Added a couple unit test proto3 files, for arena_lite and lite. Cloned the proto3_arena_unittest to test some of the basics of generated code (and to ensure that the generated proto3 test files are used by some test).
-
- 08 Apr, 2016 1 commit
-
-
David Z. Chen authored
-
- 04 Apr, 2016 2 commits
-
-
Andrew Harp authored
-
Andrew Harp authored
This is required to allow Tensorflow to build on Android without hacks. Currently we create a dummy pthread library just to satisfy this dependency for a library that does not exist on Android. See https://github.com/google/protobuf/issues/1373 for more context.
-